Skip to content

Commit 7df4ffd

Browse files
committed
Update build scripts
1 parent 03c0729 commit 7df4ffd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@
1313
"pack-archive": "cd dist/angular-bootstrap-md && npm pack . && cp angular-bootstrap-md-9.*.tgz ../..",
1414
"remove-archive": "rm dist/angular-bootstrap-md/angular-bootstrap-md-9.*.tgz && cd ../..",
1515
"compile-lib": "ng build angular-bootstrap-md && npm run copy-scss && npm run copy-files && npm run schematics:build && npm run pack-archive && npm run remove-archive",
16-
"schematics:build": "tsc -p projects/angular-bootstrap-md/tsconfig.schematics.json && npm run schematics:copy",
17-
"schematics:copy": "cp projects/angular-bootstrap-md/schematics/collection.json dist/angular-bootstrap-md/schematics/ && cp projects/angular-bootstrap-md/schematics/ng-add/schema.json dist/angular-bootstrap-md/schematics/ng-add",
16+
"schematics:build": "tsc -p projects/angular-bootstrap-md/tsconfig.schematics.json && npm run schematics:copy-schema && npm run schematics:copy-collection && npm run schematics:copy-migration",
17+
"schematics:copy-schema": "cp projects/angular-bootstrap-md/schematics/ng-add/schema.json dist/angular-bootstrap-md/schematics/ng-add",
18+
"schematics:copy-collection": "cp projects/angular-bootstrap-md/schematics/collection.json dist/angular-bootstrap-md/schematics/",
19+
"schematics:copy-migration": "cp projects/angular-bootstrap-md/schematics/migration.json dist/angular-bootstrap-md/schematics/",
1820
"compile": "npm run compile-lib"
1921
},
2022
"private": true,

0 commit comments

Comments
 (0)