Not run extra prod build on simple CI run

This commit is contained in:
Roman Hotsiy 2016-08-31 23:52:54 +03:00
parent 4066362ab9
commit 74d384086f
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0
2 changed files with 1 additions and 2 deletions

View File

@ -31,8 +31,6 @@ before_script:
- sleep 3 # give server time to start - sleep 3 # give server time to start
after_script: after_script:
- kill %1 # kill e2e server - kill %1 # kill e2e server
before_deploy:
- npm run build-dist
deploy: deploy:
- provider: npm - provider: npm
skip_cleanup: true skip_cleanup: true

View File

@ -9,6 +9,7 @@
"main": "dist/redoc.min.js", "main": "dist/redoc.min.js",
"scripts": { "scripts": {
"test": "npm run lint && node ./build/run_tests.js", "test": "npm run lint && node ./build/run_tests.js",
"prepublish": "npm run build:prod",
"branch-release": "git reset --hard && branch-release", "branch-release": "git reset --hard && branch-release",
"lint": "tslint -e \"lib/**/*{ngfactory|css.shim}.ts\" lib/**/*.ts", "lint": "tslint -e \"lib/**/*{ngfactory|css.shim}.ts\" lib/**/*.ts",
"unit": "npm run build:sass && karma start", "unit": "npm run build:sass && karma start",