mediawiki-extensions-Relate.../package.json
Jon Robson 71de06a682 Simplify the RelatedArticles extension to use Codex CSS components
Changes:
- Removes redundant styles now inside Codex
- With the new component, it's not possible to display 3 cards in a
single line at a tablet resolution, so the media query responsible
is bumped to apply only at the desktop threshold
- Decisions are documented in ADR

Bug: T286835
Change-Id: I493e8e601ccc31b3cf1f16c0b5a8975f12ef336c
2024-01-30 09:16:34 -08:00

35 lines
1.1 KiB
JSON

{
"name": "RelatedArticles",
"private": true,
"scripts": {
"selenium-daily": "npm run selenium-test -- --mochaOpts.grep @daily",
"selenium-test": "wdio tests/selenium/wdio.conf.js",
"test": "npx tsc && npm -s run lint && npm run test:unit",
"test:unit": "jest",
"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/"
},
"devDependencies": {
"@types/jquery": "3.5.6",
"@wdio/cli": "7.16.13",
"@wdio/junit-reporter": "7.16.13",
"@wdio/local-runner": "7.16.13",
"@wdio/mocha-framework": "7.16.13",
"@wdio/spec-reporter": "7.16.13",
"@wikimedia/codex": "0.13.0",
"@wikimedia/mw-node-qunit": "7.0.0",
"@wikimedia/types-wikimedia": "0.3.4",
"eslint-config-wikimedia": "0.25.1",
"grunt-banana-checker": "0.11.0",
"jest": "27.4.7",
"stylelint-config-wikimedia": "0.16.1",
"ts-jest": "27.1.3",
"typescript": "4.5.5",
"wdio-mediawiki": "2.1.0"
}
}