Skip to content

Commit

Permalink
Use local scripts instead of global ones
Browse files Browse the repository at this point in the history
  • Loading branch information
Enngage committed Jan 3, 2019
1 parent a930297 commit 2b90415
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"name": "ngx-captcha-source",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"build:demo": "ng build",
"serve:demo": "ng serve",
"build-demo-gh-pages": "ng build --prod"
"ng": "node_modules/.bin/ng",
"build:demo": "npm run ng build",
"serve:demo": "npm run ng serve",
"build-demo-gh-pages": "npm run ng build --prod"
},
"private": true,
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion projects/ngx-captcha-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
],
"private": false,
"scripts": {
"build:lib": "ng build ngx-captcha-lib",
"ng": "cd ../../ && npm run ng",
"build:lib": "npm run ng build ngx-captcha-lib",
"publish:lib": "npm run build:lib && npm publish dist",
"prepublishOnly": "npm run prevent-publish",
"prevent-publish": "node prevent-publish"
Expand Down

0 comments on commit 2b90415

Please sign in to comment.