composer: * mediawiki/mediawiki-codesniffer: 31.0.0 → 38.0.0 The following sniffs are failing and were disabled: * MediaWiki.Commenting.FunctionComment.MissingReturn * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic * MediaWiki.PHPUnit.AssertionOrder.WrongOrder * MediaWiki.Usage.StaticClosure.StaticClosure * PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeColon npm: * jsdoc: 3.6.7 → 3.6.10 * node-fetch: 2.6.1 → 2.6.7 * ajv: 6.12.0 → 6.12.6 * https://github.com/advisories/GHSA-v88g-cgmw-v5xw * ansi-html: 0.0.7 → None * https://github.com/advisories/GHSA-whgm-jr23-g3j9 * ansi-regex: 2.1.1 → 2.1.1 * https://github.com/advisories/GHSA-93q8-gq69-wqmw * https://github.com/advisories/GHSA-93q8-gq69-wqmw * https://github.com/advisories/GHSA-93q8-gq69-wqmw * axios: 0.21.1 → 0.21.3 * https://github.com/advisories/GHSA-cph5-m8f7-6c5x * follow-redirects: 1.13.1 → 1.14.9 * https://github.com/advisories/GHSA-pw2r-vq6v-hr8c * https://github.com/advisories/GHSA-74fj-2j2h-c42q * github-build: 1.2.2 → 1.2.3 * https://github.com/advisories/GHSA-cph5-m8f7-6c5x * ini: 1.3.8 → 1.3.8 * https://github.com/advisories/GHSA-qqgx-2p2h-9c37 * json-schema: 0.2.3 → 0.4.0 * https://github.com/advisories/GHSA-896r-f27r-55mw * jsprim: 1.4.1 → 1.4.2 * https://github.com/advisories/GHSA-896r-f27r-55mw * minimist: 1.2.5 → 1.2.6 * https://github.com/advisories/GHSA-xvch-5gv4-984h * https://github.com/advisories/GHSA-vh95-rmgr-6w4m * https://github.com/advisories/GHSA-vh95-rmgr-6w4m * mkdirp: 0.5.5 → 0.5.5 * https://github.com/advisories/GHSA-xvch-5gv4-984h * https://github.com/advisories/GHSA-vh95-rmgr-6w4m * https://github.com/advisories/GHSA-vh95-rmgr-6w4m * nanoid: 3.1.23 → 3.3.2 * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2 * path-parse: 1.0.6 → 1.0.7 * https://github.com/advisories/GHSA-hj48-42vr-x3v9 * postcss: 7.0.27 → 7.0.39 * https://github.com/advisories/GHSA-566m-qj78-rww5 * https://github.com/advisories/GHSA-hwj9-h5mp-3pm3 * shelljs: 0.8.3 → 0.8.5 * https://github.com/advisories/GHSA-4rq4-32rv-6wp6 * simple-get: 3.1.0 → 3.1.1 * https://github.com/advisories/GHSA-wpg7-2c88-r8xv * tar: None → None * https://github.com/advisories/GHSA-qq89-hq3f-393p * https://github.com/advisories/GHSA-9r2w-394v-53qc * https://github.com/advisories/GHSA-3jfq-g458-7qm9 * https://github.com/advisories/GHSA-r628-mhmh-qjhw * trim-newlines: 3.0.0 → 3.0.1 * https://github.com/advisories/GHSA-7p7h-4mm5-852v * url-parse: 1.5.1 → 1.5.10 * https://github.com/advisories/GHSA-jf5r-8hm2-f872 * https://github.com/advisories/GHSA-hgjh-723h-mx2j * https://github.com/advisories/GHSA-8v38-pw62-9cw2 * https://github.com/advisories/GHSA-rqff-837h-mm52 * https://github.com/advisories/GHSA-hh27-ffr2-f2jc * webpack-hot-middleware: 2.25.0 → 2.25.1 * https://github.com/advisories/GHSA-whgm-jr23-g3j9 Additional changes: * Set `name` in package.json. * composer.json: Updated phpcs command in composer test (T280592). * composer.json: Added phpcs command to scripts (T280592). Change-Id: I0073467ec15d1fff9fcb8bc207a91ebafd281116
42 lines
1.4 KiB
JSON
42 lines
1.4 KiB
JSON
{
|
|
"name": "Vector",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "dev-scripts/setup-storybook.sh && start-storybook --quiet -p 6006 -s docs/ui",
|
|
"build": "npm -s test && npm -s run doc",
|
|
"test": "npm -s run lint && tsc",
|
|
"test:size": "node ./tests/resource-loader-bundlesize.js",
|
|
"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 --max-warnings 0 .",
|
|
"lint:styles": "stylelint \"**/*.{less,css}\"",
|
|
"lint:i18n": "banana-checker --requireLowerCase=0 i18n/",
|
|
"selenium-test": "npm -s run test:size",
|
|
"doc": "jsdoc -c jsdoc.json && npm run build-storybook",
|
|
"build-storybook": "dev-scripts/setup-storybook.sh && build-storybook --quiet --loglevel warn -o docs/ui",
|
|
"svgmin": "svgo --config=.svgo.yml -q -r -f resources/"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.7.7",
|
|
"@storybook/html": "5.2.8",
|
|
"@types/jquery": "3.3.33",
|
|
"@types/mustache": "4.0.1",
|
|
"@types/node-fetch": "2.5.7",
|
|
"babel-loader": "8.0.6",
|
|
"bundlesize": "0.18.1",
|
|
"eslint-config-wikimedia": "0.16.2",
|
|
"grunt-banana-checker": "0.9.0",
|
|
"jsdoc": "3.6.10",
|
|
"jsdoc-wmf-theme": "0.0.3",
|
|
"less": "3.8.1",
|
|
"less-loader": "4.1.0",
|
|
"mustache": "3.0.1",
|
|
"node-fetch": "2.6.7",
|
|
"pre-commit": "1.2.2",
|
|
"stylelint-config-wikimedia": "0.10.3",
|
|
"svgo": "1.3.2",
|
|
"typescript": "3.8.3"
|
|
}
|
|
}
|