Skip to content

Commit

Permalink
Dedupe some npm scripts
Browse files Browse the repository at this point in the history
Thanks to the unfolding placeholder in npm-run-all2 6.2.0:  bcomnes/npm-run-all2#134
  • Loading branch information
voxpelli committed Jun 17, 2024
1 parent 1eb3648 commit e16d25d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,15 @@
"format:eslint": "eslint --fix . 'bin/*'",
"format:prettier": "prettier --write '!(package*).json' '.*.json' 'lib/**/*.json' '*.yml'",
"format": "run-s format:*",
"helper:cross-env": "cross-env",
"helper:test-browser": "karma start ./karma.conf.js --single-run --colors",
"lint:code": "eslint . 'bin/*' --max-warnings 0",
"lint:markdown": "markdownlint '*.md' 'docs/**/*.md' '.github/*.md' 'lib/**/*.md' 'test/**/*.md' 'example/**/*.md'",
"lint": "run-p lint:*",
"prepublishOnly": "nps test clean build",
"test-browser-unit": "cross-env NODE_PATH=. karma start ./karma.conf.js --single-run --colors",
"test-smoke": "node ./bin/mocha --no-config test/smoke/smoke.spec.js",
"test:0-node": "rimraf .nyc_output && run-s clean build && nps testNode",
"test:1-browser:bdd": "cross-env MOCHA_TEST=bdd run-s test-browser-unit",
"test:1-browser:esm": "cross-env MOCHA_TEST=esm run-s test-browser-unit",
"test:1-browser:qunit": "cross-env MOCHA_TEST=qunit run-s test-browser-unit",
"test:1-browser:tdd": "cross-env MOCHA_TEST=tdd run-s test-browser-unit",
"test:0-node": "rimraf .nyc_output && run-s clean && nps testNode",
"test:1-browser:reporters": "run-s 'helper:cross-env NODE_PATH=. MOCHA_TEST={%} run-s helper:test-browser' -- bdd esm qunit tdd",
"test:1-browser:webpack-compat": "webpack --mode development --config ./test/browser-specific/fixtures/webpack/webpack.config.js",
"test:1-browser": "run-s clean build test:1-browser:*",
"test": "run-s lint test:*",
Expand Down

0 comments on commit e16d25d

Please sign in to comment.