From cacec3c0434e399871f87fe52770206158b09192 Mon Sep 17 00:00:00 2001 From: James Wright Date: Wed, 7 Dec 2022 20:44:16 -0800 Subject: [PATCH] Stop unnecessarily running Rollup when running Demitasse tests. --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index aed9a264..11d67b84 100644 --- a/package.json +++ b/package.json @@ -24,10 +24,11 @@ }, "types": "./index.d.ts", "scripts": { - "test": "npm run build && node --no-warnings --experimental-modules --experimental-specifier-resolution=node --icu-data-dir node_modules/full-icu --loader ./test/resolve.source.mjs ./test/all.mjs", + "test": "npm run transpile && node --no-warnings --experimental-modules --experimental-specifier-resolution=node --icu-data-dir node_modules/full-icu --loader ./test/resolve.source.mjs ./test/all.mjs", "test262": "TEST262=1 npm run build && ./test/test262.sh", "testValidStrings": "npm run build && node --experimental-modules --experimental-specifier-resolution=node --no-warnings --icu-data-dir ./node_modules/full-icu/ --loader ./test/resolve.source.mjs test/validStrings.mjs", - "build": "rm -rf dist/* tsc-out/* && tsc && rollup -c rollup.config.js", + "transpile": "rm -rf tsc-out/* && tsc", + "build": "npm run transpile && rm -rf dist/* && rollup -c rollup.config.js", "prepare": "npm run build", "prepublishOnly": "node copy-types.mjs && npm run build", "update": "npx npm-check-updates -u -x @pipobscure/demitasse && npm install",