Skip to content

Commit

Permalink
DRY up scripts in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
rmi22186 committed Oct 23, 2023
1 parent 4049f57 commit 200ecca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"build:webpack:cjs": "webpack --config test/integrations/cjs/webpack/webpack.config.js",
"build:rollup:module": "rollup --config test/integrations/module/rollup/rollup.config.js",
"build:webpack:module": "webpack --config test/integrations/module/webpack/webpack.config.js",
"build:rollup:requirejs": "rollup --config test/integrations/requirejs/rollup.requirejs.config.js",
"build:ts": "tsc -p .",
"test": "npm run build && npm run build:test-bundle && cross-env DEBUG=false karma start test/karma.config.js",
"test:debug": "cross-env DEBUG=true karma start test/karma.config.js",
Expand All @@ -46,7 +47,7 @@
"test:integrations:module": "npm run test:integrations:module:webpack && npm run test:integrations:module:rollup",
"test:integrations:module:webpack": "npm run build:webpack:module && npm run test:karma:webpack:module",
"test:integrations:module:rollup": "npm run build:rollup:module && npm run test:karma:rollup:module",
"test:requirejs": "npm run build && rollup --config test/integrations/requirejs/rollup.requirejs.config.js && npm run test:requirejs:before && npm run test:requirejs:after",
"test:requirejs": "npm run build:iife && npm run build:rollup:requirejs && npm run test:requirejs:before && npm run test:requirejs:after",
"test:requirejs:before": "cross-env FILE_ORDER=before_mp karma start test/integrations/requirejs/karma.requirejs.config.js",
"test:requirejs:after": "cross-env FILE_ORDER=after_mp karma start test/integrations/requirejs/karma.requirejs.config.js",
"test:karma:webpack:cjs": "cross-env BUNDLER=webpack karma start test/integrations/cjs/karma.webpack.config.js",
Expand Down

0 comments on commit 200ecca

Please sign in to comment.