Skip to content

Commit d097191

Browse files
committed
Merge pull request #1500 from gruntjs/fixbin
Use local bin that points to grunt-cli
2 parents 26c6c3c + 6b60a41 commit d097191

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

bin/grunt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env node
2+
3+
require('grunt-cli/bin/grunt');

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"main": "lib/grunt",
1717
"bin": {
18-
"grunt": "node_modules/grunt-cli/bin/grunt"
18+
"grunt": "bin/grunt"
1919
},
2020
"keywords": [
2121
"task",
@@ -43,7 +43,7 @@
4343
"exit": "~0.1.1",
4444
"findup-sync": "~0.3.0",
4545
"glob": "~7.0.0",
46-
"grunt-cli": "1.2.0",
46+
"grunt-cli": "~1.2.0",
4747
"grunt-known-options": "~1.1.0",
4848
"grunt-legacy-log": "~1.0.0",
4949
"grunt-legacy-util": "~1.0.0",
@@ -66,6 +66,7 @@
6666
"through2": "~2.0.0"
6767
},
6868
"files": [
69-
"lib"
69+
"lib",
70+
"bin"
7071
]
7172
}

0 commit comments

Comments
 (0)