From 800b8a8df040e24114d485f3f56c789d8bf0e56c Mon Sep 17 00:00:00 2001 From: Alex Castells Date: Thu, 2 Jan 2020 04:41:07 +0100 Subject: [PATCH] update versiona to v4 --- .travis.yml | 8 +------- package.json | 9 +-------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 385850e..0bb2bcf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,13 +8,7 @@ cache: before_install: - npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN script: - - npm run check - npm run coverage:ci - - | - echo TRAVIS_BRANCH=$TRAVIS_BRANCH - TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST - TRAVIS_TAG=$TRAVIS_TAG - if [[ $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-beta\.[0-9]+)?$ ]]; then - echo DEPLOY VERSION - TRAVIS_BRANCH=$TRAVIS_BRANCH, PR=$PR, BRANCH=$BRANCH - TRAVIS_TAG=$TRAVIS_TAG GH_TOKEN=$GH_TOKEN npm run versiona - fi + - npm run check && TRAVIS_TAG=$TRAVIS_TAG GH_TOKEN=$GH_TOKEN npm run versiona after_success: - bash <(curl -s https://codecov.io/bash) diff --git a/package.json b/package.json index 9c3df8b..4f9e119 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,6 @@ "coverage": "nyc --reporter=html --exclude=\"src/test\" npm run test", "coverage:ci": "nyc --reporter=cobertura --exclude=\"src/test\" npm run test && codecov", "benchmark": "babel-node src/benchmark/benchmark.js", - "local": "webpack-dev-server --config local/webpack.config.babel.js", "lint": "sui-lint js", "check": "npm run lint && npm run test", "build": "babel src/main --out-dir dist", @@ -40,9 +39,7 @@ "babel-loader": "^8.0.6", "benchmark": "^2.1.4", "chai": "^4.2.0", - "clean-webpack-plugin": "^3.0.0", "codecov": "^3.6.1", - "html-webpack-plugin": "^3.2.0", "jsdom": "15.2.1", "jsdom-global": "3.0.2", "loglevel": "^1.6.6", @@ -50,12 +47,8 @@ "nightingale": "^9.2.3", "nightingale-console": "^6.1.1", "nyc": "^15.0.0", - "querystring": "^0.2.0", "sinon": "^7.5.0", - "versiona": "^3.0.0", - "webpack": "^4.41.2", - "webpack-cli": "^3.3.10", - "webpack-dev-server": "^3.9.0" + "versiona": "^4.0.0" }, "babel": { "plugins": [