build(package): unstage changes to package.json in a pre-commit hook
This commit is contained in:
parent
3cb717aa97
commit
f7333d1807
2 changed files with 9 additions and 10 deletions
|
|
@ -1,7 +1,4 @@
|
|||
{
|
||||
"//":"Having trouble with this file? Try `npm run reset`",
|
||||
"//":"Want git to ignore changes to this file? Run `npm run ignore`",
|
||||
|
||||
"name": "*PACKAGENAME*",
|
||||
"description": "*DESCRIPTION*",
|
||||
"author": "BitPay",
|
||||
|
|
@ -108,9 +105,8 @@
|
|||
"apply:bitpay": "cd app-template && node apply.js bitpay && cordova prepare",
|
||||
"test": "./node_modules/.bin/grunt test-coveralls",
|
||||
"clean": "trash platforms && trash plugins && cordova prepare",
|
||||
"ignore": "git update-index --skip-worktree package.json",
|
||||
"reset": "git update-index --no-skip-worktree package.json",
|
||||
"clean-all": "npm run reset && git clean -dfx"
|
||||
"unstage-package": "git reset package.json",
|
||||
"clean-all": "git clean -dfx"
|
||||
},
|
||||
"devDependencies": {
|
||||
"cordova": "^6.3.1",
|
||||
|
|
@ -118,6 +114,8 @@
|
|||
"ionic": "^2.1.0",
|
||||
"trash-cli": "^1.4.0",
|
||||
"lodash": "^4.3.0",
|
||||
"fileicon": "^0.1.8"
|
||||
}
|
||||
"fileicon": "^0.1.8",
|
||||
"pre-commit": "^1.1.3"
|
||||
},
|
||||
"pre-commit": "unstage-package"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue