Skip to content

Commit b1c5ac9

Browse files
committed
chore: update test scripts in package.json to streamline testing process
1 parent 14c3dd4 commit b1c5ac9

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"build:ci": "npm run build:ts && npm run build:copy",
88
"build:dev": "pnpm run build:ts && pnpm run build:copy",
99
"build:ts": "tsup",
10-
"build:test": "tsup --entry 'src/**/*.ts' --entry 'test/**/*.ts'",
1110
"build:copy": "node scripts/copy-assets.js",
1211
"start": "node dist/index.js",
1312
"dev": "tsx watch src/index.ts",
@@ -23,8 +22,7 @@
2322
"check:fix": "biome check --write .",
2423
"typecheck": "tsc --noEmit",
2524
"test": "pnpm run build:dev && node --test dist/**/*.test.js",
26-
"test:ci": "node --test $(find dist -name '*.test.js')",
27-
"test:build": "npm run build:test && npm run test:ci",
25+
"test:ci": "NODE_ENV=test node --test dist/**/*.test.js",
2826
"prepare": "husky",
2927
"pre-commit": "lint-staged",
3028
"sync-guides": "tsx scripts/sync-guides.js",

0 commit comments

Comments
 (0)