|
7 | 7 | "build:demos": "webpack --env=production",
|
8 | 8 | "build:ngc": "ngc -p tsconfig-ngc.json",
|
9 | 9 | "build:package": "ng-packagr -p package.json",
|
10 |
| - "build:dist": "npm run build:package && npm run build:ngc && npm run build:styles", |
| 10 | + "build:dist": "npm run build:package && npm run build:ngc && npm run build:styles && npm run copyfiles", |
11 | 11 | "build:styles": "node-sass src/angular-calendar.scss | postcss --output dist/css/angular-calendar.css",
|
12 | 12 | "build:clean": "rm -rf dist",
|
13 | 13 | "test": "karma start --single-run && npm run build:dist && npm run build:clean",
|
14 | 14 | "test:watch": "karma start --auto-watch",
|
15 | 15 | "commit": "git-cz",
|
16 | 16 | "compodoc": "compodoc -p tsconfig-compodoc.json -d docs --disableGraph --disableCoverage --disablePrivate --disableInternal --disableLifeCycleHooks --disableProtected",
|
17 | 17 | "gh-pages": "git checkout gh-pages && git merge master --no-edit && rm -rf *.js *.js.map && npm run build:demos && npm run compodoc && git add . && git commit -m 'docs: build demos and docs' && git push && git checkout master",
|
18 |
| - "copyfiles": "copyfiles CHANGELOG.md dist && copyfiles -u 1 src/**/*.scss dist/scss", |
| 18 | + "copyfiles": "copyfiles CHANGELOG.md dist && copyfiles -u 1 src/modules/**/package.json dist && copyfiles -u 1 src/**/*.scss dist/scss", |
19 | 19 | "prerelease": "npm test",
|
20 | 20 | "release:git": "git add package.json package-lock.json && git commit -m 'chore: bump version number' && standard-version --first-release && git push --follow-tags origin master",
|
21 |
| - "release:npm": "npm run build:dist && npm run copyfiles && npm publish dist", |
| 21 | + "release:npm": "npm run build:dist && npm publish dist", |
22 | 22 | "release": "npm run release:git && npm run release:npm",
|
23 | 23 | "postrelease": "npm run build:clean && npm run gh-pages",
|
24 | 24 | "codecov": "cat coverage/lcov.info | codecov",
|
|
0 commit comments