mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 15:16:50 +00:00
build: Use quotes for paths in package.json
To make it working on Windows Change-Id: I432091107356682f4d6bc8613922b908a6c2e6ea
This commit is contained in:
parent
0c1fc73908
commit
97b9e453e2
|
@ -7,7 +7,7 @@
|
|||
"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: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",
|
||||
|
@ -16,7 +16,7 @@
|
|||
"coverage": "nyc --reporter=lcov npm -s run test:unit",
|
||||
"doc": "jsdoc -c jsdoc.json && npm run build-storybook",
|
||||
"linter:js": "eslint --cache .",
|
||||
"linter:styles": "stylelint 'src/**/*.less'",
|
||||
"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",
|
||||
|
|
Loading…
Reference in a new issue