A long time ago, npm did not support using command line programs within 'npm test' (not unless harcoding a path to node_modules/bin/... within packages.json/scripts/test). But this has been long supported. Declaring a (dev)dependency will provide its binaries to the PATH used by the subshell 'npm test' creates internally. Add grunt-cli so that developers don't have to manually install it. Change-Id: I6a7fafa3c6e40d2407f07c514167ab9fc7661685
25 lines
613 B
JSON
25 lines
613 B
JSON
{
|
|
"name": "mediawiki",
|
|
"version": "0.0.0",
|
|
"scripts": {
|
|
"test": "grunt test",
|
|
"doc": "jsduck",
|
|
"postdoc": "grunt copy:jsduck"
|
|
},
|
|
"devDependencies": {
|
|
"grunt": "0.4.5",
|
|
"grunt-cli": "0.1.13",
|
|
"grunt-banana-checker": "0.2.0",
|
|
"grunt-contrib-copy": "0.8.0",
|
|
"grunt-contrib-jshint": "0.11.0",
|
|
"grunt-contrib-watch": "0.6.1",
|
|
"grunt-jscs": "1.5.0",
|
|
"grunt-jsonlint": "1.0.4",
|
|
"grunt-karma": "0.10.1",
|
|
"karma": "0.12.31",
|
|
"karma-chrome-launcher": "0.1.7",
|
|
"karma-firefox-launcher": "0.1.4",
|
|
"karma-qunit": "0.1.4",
|
|
"qunitjs": "1.17.1"
|
|
}
|
|
}
|