mirror of
https://github.com/Redocly/redoc.git
synced 2025-07-12 17:22:29 +03:00
Don't build module + update package.json scripts
This commit is contained in:
parent
049094f179
commit
12c3e31f64
|
@ -32,7 +32,7 @@ before_script:
|
||||||
after_script:
|
after_script:
|
||||||
- kill %1 # kill e2e server
|
- kill %1 # kill e2e server
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- if [[ ! -z "$TRAVIS_TAG" ]]; then npm run build:prod-module; fi
|
- if [[ ! -z "$TRAVIS_TAG" ]]; then npm run build:prod; fi
|
||||||
deploy:
|
deploy:
|
||||||
- provider: npm
|
- provider: npm
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
|
|
|
@ -15,16 +15,16 @@
|
||||||
"test": "npm run lint && node ./build/run_tests.js",
|
"test": "npm run lint && node ./build/run_tests.js",
|
||||||
"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": "karma start",
|
||||||
"e2e": "npm run build:prod && npm run e2e-copy && npm run webdriver && protractor",
|
"e2e": "npm run build:prod && npm run e2e-copy && npm run webdriver && protractor",
|
||||||
"deploy": "node ./build/prepare_deploy.js && deploy-to-gh-pages --update demo",
|
"deploy": "node ./build/prepare_deploy.js && deploy-to-gh-pages --update demo",
|
||||||
"ngc": "ngc -p .",
|
"ngc": "ngc -p .",
|
||||||
|
"clean:dist": "npm run rimraf -- dist/",
|
||||||
"clean:aot": "npm run rimraf -- .tmp lib/**/*.css",
|
"clean:aot": "npm run rimraf -- .tmp lib/**/*.css",
|
||||||
"rimraf": "rimraf",
|
"rimraf": "rimraf",
|
||||||
"webpack:prod": "npm run clean:aot && npm run build:sass && webpack --config build/webpack.prod.js --profile --bail",
|
"webpack:prod": "webpack --config build/webpack.prod.js --profile --bail",
|
||||||
"build:sass": "node-sass -q -o lib lib",
|
"build:sass": "node-sass -q -o lib lib",
|
||||||
"build:prod": "npm run webpack:prod",
|
"build:prod": "npm run clean:aot && npm run build:sass && npm run webpack:prod",
|
||||||
"build:prod-module": "npm run build:sass && npm run ngc && npm run webpack:prod && IS_MODULE=true npm run webpack:prod",
|
|
||||||
"build-dist": "npm run build:prod",
|
"build-dist": "npm run build:prod",
|
||||||
"stats": "webpack --config build/webpack.prod.js --json > stats.json",
|
"stats": "webpack --config build/webpack.prod.js --json > stats.json",
|
||||||
"start": "webpack-dev-server --config build/webpack.dev.js --content-base demo",
|
"start": "webpack-dev-server --config build/webpack.dev.js --content-base demo",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user