2015-06-20 05:13:04 +00:00
|
|
|
{
|
2018-10-11 10:37:05 +00:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2020-06-30 10:35:00 +00:00
|
|
|
"selenium-daily": "npm run selenium-test -- --mochaOpts.grep @daily",
|
2018-10-11 10:37:05 +00:00
|
|
|
"selenium-test": "wdio tests/selenium/wdio.conf.js",
|
2022-04-15 15:59:54 +00:00
|
|
|
"test": "npx tsc && npm -s run lint && npm run test:unit",
|
2022-04-18 21:06:41 +00:00
|
|
|
"test:unit": "jest",
|
2021-08-02 17:40:27 +00:00
|
|
|
"lint": "npm -s run lint:js && npm -s run lint:styles && npm -s run lint:i18n",
|
|
|
|
"lint:fix:js": "npm -s run lint:js -- --fix",
|
|
|
|
"lint:fix:styles": "npm -s run lint:styles -- --fix",
|
|
|
|
"lint:js": "eslint --cache .",
|
|
|
|
"lint:styles": "stylelint \"**/*.{less,css}\"",
|
|
|
|
"lint:i18n": "banana-checker --requireLowerCase=0 i18n/"
|
2018-10-11 10:37:05 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-04-15 15:59:54 +00:00
|
|
|
"@types/jquery": "3.5.6",
|
2022-02-09 15:13:34 +00:00
|
|
|
"@wdio/cli": "7.16.13",
|
|
|
|
"@wdio/junit-reporter": "7.16.13",
|
|
|
|
"@wdio/local-runner": "7.16.13",
|
|
|
|
"@wdio/mocha-framework": "7.16.13",
|
2022-05-24 12:36:24 +00:00
|
|
|
"@wdio/spec-reporter": "7.16.13",
|
2022-04-18 21:06:41 +00:00
|
|
|
"@wikimedia/mw-node-qunit": "6.2.1",
|
2022-04-15 15:59:54 +00:00
|
|
|
"@wikimedia/types-wikimedia": "0.3.4",
|
2021-04-13 23:49:48 +00:00
|
|
|
"eslint-config-wikimedia": "0.20.0",
|
2020-04-20 06:50:06 +00:00
|
|
|
"grunt-banana-checker": "0.9.0",
|
2022-04-18 21:06:41 +00:00
|
|
|
"jest": "27.4.7",
|
2023-03-28 20:19:23 +00:00
|
|
|
"stylelint-config-wikimedia": "0.14.0",
|
2022-04-15 15:59:54 +00:00
|
|
|
"typescript": "4.3.5",
|
2023-01-13 17:14:41 +00:00
|
|
|
"wdio-mediawiki": "2.1.0"
|
2018-10-11 10:37:05 +00:00
|
|
|
}
|
2015-06-20 05:13:04 +00:00
|
|
|
}
|