diff --git a/package.json b/package.json index 0eb71404..f1cf5f89 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,9 @@ "unit:cjs": "c8 node suite-runner.js \"templates/app/test/**/*.test.js\"", "unit:esm": "c8 node suite-runner.js \"templates/app-esm/test/**/*.test.js\"", "unit:ts-cjs": "c8 node -r tsx/cjs suite-runner.js \"templates/app-ts/test/**/*.test.ts\"", - "unit:ts-esm": "cross-env TS_NODE_PROJECT=./templates/app-ts-esm/tsconfig.json FASTIFY_AUTOLOAD_TYPESCRIPT=1 c8 node -r tsx/cjs --import tsx/esm suite-runner.js \"templates/app-ts-esm/test/**/*.test.ts\"", - "unit:suites": "node should-skip-test-suites.js || (npm run unit:cjs && npm run unit:esm && npm run unit:ts-cjs && npm run unit:ts-esm)", + "unit:ts-esm": "cross-env TS_NODE_PROJECT=./templates/app-ts-esm/tsconfig.json FASTIFY_AUTOLOAD_TYPESCRIPT=1 node -r tsx/cjs --import tsx/esm suite-runner.js \"templates/app-ts-esm/test/**/*.test.ts\"", + "unit:suites": "node should-skip-test-suites.js || npm run all-suites", + "all-suites": "npm run unit:cjs && npm run unit:esm && npm run unit:ts-cjs && npm run unit:ts-esm", "unit:cli": "tap \"test/**/*.test.js\" --no-coverage --timeout 400 --jobs 1 --color -R specy", "test:cli-and-typescript": "npm run unit:cli && npm run test:typescript", "test:typescript": "tsd templates/plugin -t ./../../index.d.ts && tsc --project templates/app-ts/tsconfig.json && del-cli templates/app-ts/dist"