Skip to content

Commit 2b90415

Browse files
committed
Use local scripts instead of global ones
1 parent a930297 commit 2b90415

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"name": "ngx-captcha-source",
33
"version": "0.0.0",
44
"scripts": {
5-
"ng": "ng",
6-
"build:demo": "ng build",
7-
"serve:demo": "ng serve",
8-
"build-demo-gh-pages": "ng build --prod"
5+
"ng": "node_modules/.bin/ng",
6+
"build:demo": "npm run ng build",
7+
"serve:demo": "npm run ng serve",
8+
"build-demo-gh-pages": "npm run ng build --prod"
99
},
1010
"private": true,
1111
"dependencies": {

projects/ngx-captcha-lib/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
],
2222
"private": false,
2323
"scripts": {
24-
"build:lib": "ng build ngx-captcha-lib",
24+
"ng": "cd ../../ && npm run ng",
25+
"build:lib": "npm run ng build ngx-captcha-lib",
2526
"publish:lib": "npm run build:lib && npm publish dist",
2627
"prepublishOnly": "npm run prevent-publish",
2728
"prevent-publish": "node prevent-publish"

0 commit comments

Comments
 (0)