Skip to content

Commit b4067f7

Browse files
committed
Hardcode path to grunt bin in postinstall
1 parent c2abeaf commit b4067f7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

grunt/githooks.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
22
all: {
3-
'pre-commit': 'grunt eslint',
3+
'pre-commit': 'eslint',
44
},
55
}

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "nuclear-js",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "Immutable, reactive Flux architecture. UI Agnostic.",
55
"main": "dist/nuclear.js",
66
"scripts": {
77
"test": "grunt ci",
8-
"postinstall": "grunt githooks"
8+
"postinstall": "./node_modules/grunt-cli/bin/grunt githooks"
99
},
1010
"author": "Jordan Garcia",
1111
"license": "MIT",
@@ -55,6 +55,7 @@
5555
"load-grunt-config": "^0.17.1",
5656
"lodash": "^2.4.1",
5757
"react": "^0.13.2",
58-
"webpack": "^1.8.11"
58+
"webpack": "^1.8.11",
59+
"grunt-cli": "^0.1.13"
5960
}
6061
}

0 commit comments

Comments
 (0)