Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 8901581

Browse files
committed
chore: Split test-script into pretest and test
1 parent e58cbfa commit 8901581

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
},
99
"scripts": {
1010
"build": "tsc",
11-
"test": "npm run build && node -r babel-register ./node_modules/.bin/tape 'tests/**/*-test.js' |tap-spec",
11+
"pretest": "npm run build",
12+
"test": "node -r babel-register ./node_modules/.bin/tape 'tests/**/*-test.js' |tap-spec",
1213
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -w",
1314
"preversion": "npm test",
1415
"version": "npm run build && conventional-changelog -p angular -v -r 0 > CHANGELOG.md && git add -A .",

0 commit comments

Comments
 (0)