Skip to content

Commit b2acf0b

Browse files
Make test command more efficient
1 parent acd7fb3 commit b2acf0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
"build:types": "tsc -p tsconfig.dec.json --emitDeclarationOnly && find ./dist -name '*.d.ts' -exec sh -c 'cp {} $(dirname {})/$(basename -s .d.ts {}).d.cts' \\;",
4242
"clean": "rm -rf ./dist",
4343
"format": "prettier --write \"{{source,test}/**/*.{js,ts},rollup.config.js,vitest.config.js}\"",
44-
"test": "npm run test:specs && npm run test:format && npm run test:types",
44+
"test": "npm run build && npm run test:specs && npm run test:format && npm run test:types",
4545
"test:format": "prettier --check \"{{source,test}/**/*.{js,ts},rollup.config.js,vitest.config.js}\"",
46-
"test:specs": "npm run build && vitest",
46+
"test:specs": "vitest",
4747
"test:types": "npx --yes @arethetypeswrong/cli --pack ."
4848
},
4949
"files": [

0 commit comments

Comments
 (0)