Skip to content

Commit ff4c20c

Browse files
committed
Remove postinstall, make it manual, make sure jakefile is in gitignore
1 parent 106b32d commit ff4c20c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.npmignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ doc
33
scripts
44
src
55
tests
6-
Jakefile
6+
Jakefile.js
77
.travis.yml
88
.settings/

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"build:tests": "jake tests",
4747
"clean": "jake clean",
4848
"jake": "jake",
49-
"postinstall": "echo \"try {require('./scripts/link-hooks.js'); console.log('Git hooks installed.');} catch (e) {console.log('Script not run, git hooks not installed.')}\" | node"
49+
"setup-hooks": "node scripts/lint-hooks.js"
5050
},
5151
"browser": {
5252
"buffer": false,

0 commit comments

Comments
 (0)