mediawiki-skins-Vector/package.json
AronDemian 834f4f837f Port 'storybook' scripts to windows, merge 'jsdoc' into 'doc'
additional changes:
* the jsdoc npm command is removed intentionally to
avoid polluting package.json with too many jobs.

Change-Id: Ie49de1c4b7a40a835ea1b3f8bcdbb779ba919860
2020-03-05 17:48:01 +00:00

29 lines
925 B
JSON

{
"private": true,
"scripts": {
"test": "npm -s run lint && npm run doc",
"lint": "npm -s run lint:js && npm -s run lint:styles && npm -s run lint:i18n",
"lint:js": "eslint --cache --max-warnings 0 .",
"lint:styles": "stylelint \"**/*.{less,css}\"",
"lint:i18n": "banana-checker --requireLowerCase=0 i18n/",
"doc": "jsdoc -c jsdoc.json && npm run build-storybook",
"storybook": "bash ./dev-scripts/setup-storybook.sh && start-storybook -p 6006",
"build-storybook": "bash ./dev-scripts/setup-storybook.sh && build-storybook -o docs/ui"
},
"devDependencies": {
"@babel/core": "7.7.7",
"@storybook/html": "5.2.8",
"babel-loader": "8.0.6",
"eslint-config-wikimedia": "0.15.0",
"grunt-banana-checker": "0.8.1",
"jsdoc": "3.6.3",
"jsdoc-wmf-theme": "0.0.3",
"less": "3.8.1",
"less-loader": "4.1.0",
"mustache": "3.0.1",
"stylelint": "10.0.1",
"stylelint-config-wikimedia": "0.9.0"
}
}