diff --git a/.travis.yml b/.travis.yml index 40a594ff..3885e3b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,11 +12,9 @@ install: - npm --production=false install - npm --production=false update before_deploy: +- npm --no-git-tag-version version 0.1.0-prerelease.$(date +%Y%m%d%H%M%S) - git config --global user.email $(git log --pretty=format:"%ae" -n1) - git config --global user.name $(git log --pretty=format:"%an" -n1) -- VPKG=$($(npm bin)/json -f package.json version) -- export VERSION=${VPKG/%?/}$(date +%Y%m%d%H%M%S) -- npm --no-git-tag-version version $VERSION deploy: - provider: script on: diff --git a/package.json b/package.json index 32614651..05d81460 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,6 @@ "gh-pages": "github:rschamp/gh-pages#publish-branch-to-subfolder", "html-webpack-plugin": "2.30.0", "jest": "^20.0.4", - "json": "^9.0.6", "keymirror": "0.1.1", "lodash.bindall": "4.4.0", "lodash.defaultsdeep": "4.6.0",