mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 23:24:39 +00:00
c8b8ba7f5f
This reverts commit 6bc2077ed5
.
The change causes issues with various popular gadgets on Wikimedia
wikis. The 'title' attributes have been the easiest way to determine
the target pages of links, and many gadgets have come to rely on that.
Bug: T269297
Bug: T269873
Change-Id: I49d315a13c327a1c5af51d3de887c0c17642e9fe
74 lines
2.6 KiB
JSON
74 lines
2.6 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"storybook": "./.storybook/storybook-resources.sh && start-storybook --config-dir=.storybook -p 6006 -s .storybook/static",
|
|
"build-storybook": "./.storybook/storybook-resources.sh && build-storybook --config-dir=.storybook -o docs/ui -s .storybook/static",
|
|
"start": "webpack -w --mode=development",
|
|
"build": "webpack --mode=production",
|
|
"lint:fix": "grunt fix",
|
|
"test:unit": "mw-node-qunit 'tests/node-qunit/**/*.test.js' --require \"$PWD/tests/node-qunit/run.js\" | tap-mocha-reporter dot",
|
|
"test": "npm -s run check-built-assets && grunt lint && npm -s run coverage && npm -s run -s doc && bundlesize && npm run build-storybook",
|
|
"doc": "jsdoc -c jsdoc.json && npm run build-storybook",
|
|
"node-debug": "node -v && npm -v && echo 'Please ensure you are running the correct version of nvm before running this command.'",
|
|
"check-built-assets": "echo 'CHECKING BUILD SOURCES ARE COMMITTED OR STAGED' && npm -s run build && git diff --exit-code resources/dist || { npm run node-debug; false; }",
|
|
"coverage": "SPAWN_WRAP_SHIM_ROOT=\"$PWD/.nyc_output\" nyc npm -s run test:unit",
|
|
"precommit": "npm -s t",
|
|
"selenium-daily": "npm run selenium-test",
|
|
"selenium-test": "wdio tests/selenium/wdio.conf.js"
|
|
},
|
|
"engines": {
|
|
"node": "10.15.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.2.0",
|
|
"@babel/preset-env": "7.2.0",
|
|
"@babel/register": "7.0.0",
|
|
"@storybook/addon-cssresources": "5.2.5",
|
|
"@storybook/addon-knobs": "5.2.5",
|
|
"@storybook/addon-options": "5.2.5",
|
|
"@storybook/html": "5.1.10",
|
|
"@types/jquery": "3.3.29",
|
|
"@wdio/cli": "6.3.5",
|
|
"@wdio/junit-reporter": "6.1.5",
|
|
"@wdio/local-runner": "6.3.5",
|
|
"@wdio/mocha-framework": "6.3.0",
|
|
"@wdio/spec-reporter": "6.3.0",
|
|
"@wdio/sync": "6.3.3",
|
|
"@wikimedia/mw-node-qunit": "6.1.0",
|
|
"babel-loader": "8.0.4",
|
|
"bundlesize": "0.18.0",
|
|
"clean-webpack-plugin": "3.0.0",
|
|
"cssjanus": "1.3.1",
|
|
"eslint-config-wikimedia": "0.17.0",
|
|
"expose-loader": "0.7.5",
|
|
"grunt": "1.1.0",
|
|
"grunt-banana-checker": "0.9.0",
|
|
"grunt-contrib-watch": "1.1.0",
|
|
"grunt-eslint": "23.0.0",
|
|
"grunt-stylelint": "0.15.0",
|
|
"grunt-svgmin": "5.0.0",
|
|
"jquery": "3.4.1",
|
|
"jsdoc": "3.6.3",
|
|
"less": "3.8.1",
|
|
"less-loader": "4.1.0",
|
|
"nyc": "15.0.0",
|
|
"pre-commit": "1.2.2",
|
|
"redux": "4.0.1",
|
|
"redux-thunk": "2.3.0",
|
|
"stylelint-config-wikimedia": "0.10.1",
|
|
"svg-inline-loader": "0.8.0",
|
|
"tap-mocha-reporter": "5.0.1",
|
|
"url-loader": "1.1.2",
|
|
"wdio-mediawiki": "1.0.0",
|
|
"webdriverio": "6.3.5",
|
|
"webpack": "4.27.1",
|
|
"webpack-cli": "3.1.2"
|
|
},
|
|
"bundlesize": [
|
|
{
|
|
"path": "resources/dist/index.js",
|
|
"maxSize": "13.9kB"
|
|
}
|
|
]
|
|
}
|