2017-04-11 02:30:17 +00:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2020-01-20 23:19:04 +00:00
|
|
|
"storybook:setup": "./dev-scripts/setup-storybook.sh",
|
|
|
|
"storybook": "npm run storybook:setup && start-storybook -p 6006",
|
2020-09-18 19:34:48 +00:00
|
|
|
"build-storybook": "npm run storybook:setup && build-storybook -o docs/ui",
|
2021-04-07 14:22:52 +00:00
|
|
|
"lint": "npm -s run lint:styles && npm -s run lint:js && npm -s run lint:i18n",
|
|
|
|
"lint:fix": "npm -s run lint:styles -- --fix && npm -s run lint:js -- --fix && npm -s run lint:i18",
|
|
|
|
"lint:js": "eslint --cache '**/*.{js,json}'",
|
|
|
|
"lint:styles": "stylelint '**/*.{css,less}'",
|
|
|
|
"lint:i18n": "banana-checker --requireLowerCase=0 i18n/",
|
|
|
|
"test": "npm run lint && npm run doc && dev-scripts/svg_check.sh",
|
2021-04-12 20:24:01 +00:00
|
|
|
"minify-svg": "svgo --config=.svgo.config.js -q -r -f resources/",
|
2020-09-18 19:34:48 +00:00
|
|
|
"doc": "jsdoc -c jsdoc.json && npm run build-storybook",
|
2018-04-10 21:19:08 +00:00
|
|
|
"selenium-test-cucumber": "wdio tests/selenium/wdio.conf.cucumber.js",
|
2021-05-07 15:34:58 +00:00
|
|
|
"selenium-daily": "npm run selenium-test",
|
2021-11-23 13:49:55 +00:00
|
|
|
"selenium-test": "wdio tests/selenium/wdio.conf.js"
|
2017-04-11 02:30:17 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-01-20 23:19:04 +00:00
|
|
|
"@babel/core": "7.7.7",
|
|
|
|
"@storybook/html": "5.2.8",
|
2021-11-09 14:40:14 +00:00
|
|
|
"@wdio/cli": "7.16.4",
|
|
|
|
"@wdio/cucumber-framework": "7.16.4",
|
|
|
|
"@wdio/dot-reporter": "7.16.4",
|
|
|
|
"@wdio/junit-reporter": "7.16.4",
|
|
|
|
"@wdio/local-runner": "7.16.4",
|
|
|
|
"@wdio/mocha-framework": "7.16.4",
|
|
|
|
"@wdio/sync": "7.16.4",
|
2020-01-20 23:19:04 +00:00
|
|
|
"babel-loader": "8.0.6",
|
2021-11-09 14:48:40 +00:00
|
|
|
"eslint-config-wikimedia": "0.21.0",
|
2020-04-13 15:05:10 +00:00
|
|
|
"grunt-banana-checker": "0.9.0",
|
2021-05-15 09:24:16 +00:00
|
|
|
"jsdoc": "3.6.7",
|
2020-01-20 21:19:12 +00:00
|
|
|
"less": "3.8.1",
|
2020-01-20 23:19:04 +00:00
|
|
|
"less-loader": "4.1.0",
|
|
|
|
"mustache": "3.0.1",
|
2021-04-21 15:29:41 +00:00
|
|
|
"mwbot": "2.0.0",
|
2018-05-02 14:35:35 +00:00
|
|
|
"pre-commit": "1.2.2",
|
2021-09-04 22:54:25 +00:00
|
|
|
"stylelint-config-wikimedia": "0.11.1",
|
2021-07-23 00:57:37 +00:00
|
|
|
"svgo": "2.3.1",
|
2021-05-27 15:08:04 +00:00
|
|
|
"wdio-mediawiki": "1.1.1",
|
2021-11-09 14:40:14 +00:00
|
|
|
"webdriverio": "7.16.4"
|
2020-07-23 18:19:45 +00:00
|
|
|
}
|
2017-04-11 02:30:17 +00:00
|
|
|
}
|