Skip to content

Commit b7d0b55

Browse files
authored
Merge pull request #50 from bikecoders/improve-build
build: create a separate tsconfig file for build
2 parents fdf6a94 + 40038e3 commit b7d0b55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
"description": "Publish your angular packages to npm by just run `ng deploy`",
55
"main": "index.js",
66
"scripts": {
7-
"prebuild": "rimraf dist && copyfiles README.md LICENSE builders.json collection.json ng-add-schema.json package.json ngx-deploy-npm deploy/schema.json dist && json2ts deploy/schema.json > deploy/schema.d.ts",
7+
"prebuild": "rimraf dist && json2ts deploy/schema.json > deploy/schema.d.ts",
88
"build": "tsc -p tsconfig.build.json",
9+
"postbuild": "copyfiles README.md LICENSE builders.json collection.json ng-add-schema.json package.json ngx-deploy-npm deploy/schema.json dist",
910
"predeploy": "npm run build",
1011
"deploy": "cd dist && npm publish --access public && cd ..",
1112
"link": "npm run build && cd dist && npm link && cd ..",

0 commit comments

Comments
 (0)