From 200eccac4f9869a4517ca0e5efb225a55a236713 Mon Sep 17 00:00:00 2001 From: Robert Ing Date: Mon, 23 Oct 2023 15:32:46 -0400 Subject: [PATCH] DRY up scripts in package.json --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9cd1a38b..74bb37f9 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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",