Skip to content

Commit 757adcc

Browse files
committed
test(build): extract the build step to a pre script
1 parent 49986f9 commit 757adcc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"main": "./lib/index.js",
2020
"sideEffects": false,
2121
"scripts": {
22-
"test": "npm-run-all --print-label build --parallel lint:* --parallel test:*",
22+
"pretest": "run-s build",
23+
"test": "npm-run-all --print-label --parallel lint:* --parallel test:*",
2324
"lint:lockfile": "lockfile-lint",
2425
"lint:js": "eslint . --cache",
2526
"lint:js:fix": "run-s 'lint:js -- --fix'",

0 commit comments

Comments
 (0)