Revert "Not run extra prod build on simple CI run" - npm runs prebublish on install :(

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

View File

@ -31,6 +31,8 @@ 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,7 +9,6 @@
"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",