Run linking script only if present
This commit is contained in:
parent
b866781609
commit
c88ba9bbe9
|
@ -46,7 +46,7 @@
|
|||
"build:tests": "jake tests",
|
||||
"clean": "jake clean",
|
||||
"jake": "jake",
|
||||
"postinstall": "node scripts/link-hooks.js"
|
||||
"postinstall": "echo \"try {require('./scripts/link-hooks.js')} catch (e) {console.log('Script not found, git hooks not installed.')}\" | node"
|
||||
},
|
||||
"browser": {
|
||||
"buffer": false,
|
||||
|
|
Loading…
Reference in a new issue