|
27 | 27 | "preinstall": "node misc/preinstall.js",
|
28 | 28 | "commitmsg": "node misc/validate-commit.js",
|
29 | 29 | "version": "yarn changelog && git add CHANGELOG.md",
|
30 |
| - "postversion": "yarn build:lib && yarn demo:build", |
31 |
| - "build": "yarn build:lib && yarn demo:build", |
32 |
| - "test": "yarn lint && yarn test:lib", |
| 30 | + "postversion": "yarn lib:build && yarn demo:build", |
| 31 | + "changelog": "conventional-changelog --preset angular --infile CHANGELOG.md --same-file --release-count 1", |
| 32 | + "build": "yarn lib:build && yarn demo:build", |
| 33 | + "static": "ts-node --project misc/tsconfig.json misc/copy-static-files.ts", |
| 34 | + "lint": "ng lint ng-toggle", |
| 35 | + "test": "yarn lint && yarn lib:test", |
33 | 36 | "tdd": "ng test ng-toggle --source-map false",
|
| 37 | + "ci": "yarn test && yarn build", |
34 | 38 | "saucelabs": "ng test ng-toggle -c saucelabs",
|
35 | 39 | "saucelabs:ie": "ng test ng-toggle -c saucelabs-ie",
|
36 | 40 | "api-doc:tdd": "ts-node-dev --respawn --project misc/tsconfig.json node_modules/jasmine/bin/jasmine misc/api-doc.spec.ts",
|
37 | 41 | "api-doc:test": "ts-node --project misc/tsconfig.json node_modules/jasmine/bin/jasmine misc/api-doc.spec.ts",
|
38 |
| - "build:lib": "ng build ng-toggle --prod && yarn static", |
39 |
| - "test:lib": "ng test ng-toggle --code-coverage --source-map false --progress false --watch false", |
40 |
| - "static": "ts-node --project misc/tsconfig.json misc/copy-static-files.ts", |
41 |
| - "lint": "ng lint ng-toggle", |
| 42 | + "lib:build": "ng build ng-toggle --prod && yarn static", |
| 43 | + "lib:test": "ng test ng-toggle --code-coverage --source-map false --progress false --watch false", |
42 | 44 | "demo": "yarn demo:docs && yarn demo:stackblitzes && yarn demo:serve",
|
43 | 45 | "demo:serve": "ng serve demo --host 0.0.0.0",
|
44 | 46 | "demo:static": "gulp generate-demo-statics",
|
|
48 | 50 | "demo:deploy": "yarn demo:build && yarn demo:deploy-push",
|
49 | 51 | "demo:deploy-push": "gh-pages --dist demo/dist --branch gh-pages",
|
50 | 52 | "demo:stackblitzes": "ts-node --project misc/tsconfig.json misc/generate-stackblitzes.ts",
|
51 |
| - "ci": "yarn test && yarn build", |
52 |
| - "changelog": "conventional-changelog --preset angular --infile CHANGELOG.md --same-file --release-count 1", |
53 | 53 | "clean": "yarn clean:dist & yarn clean:test & yarn clean:demo & yarn clean:demo:deploy && yarn clean:demo:plunks",
|
54 | 54 | "clean:dist": "([[ ! -e dist/ ]] || rm -r dist/) && ([[ ! -e dist.tgz ]] || rm dist.tgz)",
|
55 | 55 | "clean:test": "[[ ! -e coverage/ ]] || rm -r coverage/",
|
|
0 commit comments