mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-28 01:10:04 +00:00
ae5b74e78a
* @storybook/html: 6.2.9 → 6.5.4 * bundlesize: 0.18.0 → 0.18.1 * jquery: 3.4.1 → 3.6.0 * jsdoc: 3.6.3 → 3.6.10 * webpack-cli: 3.1.2 → 3.3.12 * ansi-regex: 5.0.1 → 5.0.1 * https://github.com/advisories/GHSA-93q8-gq69-wqmw * async: 0.9.2 → 3.2.3 * https://github.com/advisories/GHSA-fwr7-v2mv-hh25 * ejs: 3.1.6 → 3.1.8 * https://github.com/advisories/GHSA-phwq-j96m-2c2q * jake: 10.8.2 → 10.8.5 * https://github.com/advisories/GHSA-fwr7-v2mv-hh25 * minimist: 1.2.5 → 1.2.6 * https://github.com/advisories/GHSA-xvch-5gv4-984h * mocha: 8.4.0 → 8.4.0 * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2 * nanoid: 3.1.20 → 3.1.20 * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2 * prismjs: 1.27.0 → 1.28.0 * https://github.com/advisories/GHSA-3949-f494-cm99 * refractor: 3.5.0 → 3.6.0 * https://github.com/advisories/GHSA-3949-f494-cm99 Additional changes: * Set `name` in package.json. * Also sorted "composer fix" command to run phpcbf last. * Added the "composer phan" command to conveniently run phan. * composer.json: Updated phpcs command in composer test (T280592). * composer.json: Added phpcs command to scripts (T280592). Change-Id: I21f4c1bf305ef85028d9f7f0c74eca5dce98124b
77 lines
2.9 KiB
JSON
77 lines
2.9 KiB
JSON
{
|
|
"name": "Popups",
|
|
"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",
|
|
"test": "npm -s run check-built-assets && npm run test:lint && bash ./dev-scripts/svg_check.sh && npm -s run coverage && npm -s run doc && bundlesize",
|
|
"test:unit": "mw-node-qunit 'tests/node-qunit/**/*.test.js' --require \"$PWD/tests/node-qunit/run.js\" | tap-mocha-reporter dot",
|
|
"test:lint": "npm -s run test:lint:styles && npm -s run test:lint:js && npm -s run test:lint:i18n",
|
|
"test:lint:js": "npm -s run linter:js",
|
|
"test:lint:styles": "npm -s run linter:styles",
|
|
"test:lint:i18n": "banana-checker --requireLowerCase=0 i18n/",
|
|
"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": "nyc npm -s run test:unit",
|
|
"doc": "jsdoc -c jsdoc.json && npm run build-storybook",
|
|
"linter:js": "eslint --cache .",
|
|
"linter:styles": "stylelint 'src/**/*.less'",
|
|
"minify-svg": "svgo --config=.svgo.config.js --quiet --recursive --folder resources/ext.popups.images/",
|
|
"node-debug": "node -v && npm -v && echo 'Please ensure you are running the correct version of nvm before running this command.'",
|
|
"precommit": "npm -s t",
|
|
"selenium-daily": "npm run selenium-test",
|
|
"selenium-test": "wdio tests/selenium/wdio.conf.js"
|
|
},
|
|
"engines": {
|
|
"node": "12.21.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.2.0",
|
|
"@babel/plugin-transform-runtime": "7.15.0",
|
|
"@babel/preset-env": "7.2.0",
|
|
"@babel/register": "7.0.0",
|
|
"@storybook/html": "6.5.4",
|
|
"@types/jquery": "3.3.29",
|
|
"@wdio/cli": "7.4.6",
|
|
"@wdio/dot-reporter": "7.4.2",
|
|
"@wdio/junit-reporter": "7.4.2",
|
|
"@wdio/local-runner": "7.4.6",
|
|
"@wdio/mocha-framework": "7.4.6",
|
|
"@wdio/sync": "7.4.6",
|
|
"@wikimedia/mw-node-qunit": "6.3.0",
|
|
"babel-loader": "8.0.4",
|
|
"browserslist-config-wikimedia": "0.2.0",
|
|
"bundlesize": "0.18.1",
|
|
"clean-webpack-plugin": "3.0.0",
|
|
"cssjanus": "1.3.1",
|
|
"eslint": "8.8.0",
|
|
"eslint-config-wikimedia": "0.22.1",
|
|
"expose-loader": "0.7.5",
|
|
"grunt-banana-checker": "0.9.0",
|
|
"jquery": "3.6.0",
|
|
"jsdoc": "3.6.10",
|
|
"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.12.2",
|
|
"svg-inline-loader": "0.8.0",
|
|
"svgo": "2.8.0",
|
|
"tap-mocha-reporter": "5.0.1",
|
|
"url-loader": "1.1.2",
|
|
"wdio-mediawiki": "1.1.1",
|
|
"webdriverio": "7.4.6",
|
|
"webpack": "4.44.2",
|
|
"webpack-cli": "3.3.12"
|
|
},
|
|
"bundlesize": [
|
|
{
|
|
"path": "resources/dist/index.js",
|
|
"maxSize": "13.0kB"
|
|
}
|
|
]
|
|
}
|