mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-15 11:50:57 +00:00
a79bb8dff4
* jsdoc.json was copied from Minerva. The markdown plugin from that config was removed since there no usages of that in Vector. * Added latest jsdoc dependency to package.json * Copied 'jsdoc' task from Minerva into Vector. Revised storybook output so that multiple docs (storybook + jsdoc) could be in /docs * Made collapsibleTabs.js JSDoc compliant (This was really the only thing using jsduck syntax) * Modified Gruntfile stylelinter to ignore docs folder Bug: T239258 Change-Id: Id07d591ffe7bf0ac021109051e89b91ffdcf4c78
26 lines
719 B
JSON
26 lines
719 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"storybook": "./dev-scripts/setup-storybook.sh && start-storybook -p 6006",
|
|
"test": "grunt test && npm run doc",
|
|
"jsdoc": "jsdoc -c jsdoc.json",
|
|
"doc": "npm run jsdoc && npm run build-storybook",
|
|
"build-storybook": "./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": "1.0.4",
|
|
"grunt-banana-checker": "0.8.1",
|
|
"grunt-eslint": "22.0.0",
|
|
"grunt-stylelint": "0.13.0",
|
|
"jsdoc": "3.6.3",
|
|
"less": "3.8.1",
|
|
"less-loader": "4.1.0",
|
|
"mustache": "3.0.1",
|
|
"stylelint-config-wikimedia": "0.8.0"
|
|
}
|
|
}
|