mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 22:25:27 +00:00
503756822c
Adds the `pre-commit` npm package which automatically handles git pre-commit hooks via package.json and runs `npm run test` by default. https://www.npmjs.com/package/pre-commit Requires an `npm install` Change-Id: Ia5950242bced753c42fc804fd686bc239c335aa3
25 lines
554 B
JSON
25 lines
554 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"test": "grunt test && npm run doc && dev-scripts/svg_check.sh",
|
|
"doc": "jsdoc -c jsdoc.json"
|
|
},
|
|
"dependencies": {
|
|
"jsdoc": "3.5.5",
|
|
"svgo": "0.7.2"
|
|
},
|
|
"devDependencies": {
|
|
"eslint-config-wikimedia": "0.5.0",
|
|
"grunt": "1.0.1",
|
|
"grunt-banana-checker": "0.6.0",
|
|
"grunt-contrib-watch": "1.0.0",
|
|
"grunt-eslint": "20.1.0",
|
|
"grunt-jsonlint": "1.1.0",
|
|
"grunt-notify": "0.4.5",
|
|
"grunt-stylelint": "0.8.0",
|
|
"pre-commit": "1.2.2",
|
|
"stylelint": "7.8.0",
|
|
"stylelint-config-wikimedia": "0.4.1"
|
|
}
|
|
}
|