Skip to content

Commit 4680c97

Browse files
Fix the package scripts
Co-authored-by: Jordan Harband <ljharb@gmail.com>
1 parent d197552 commit 4680c97

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,11 @@
3939
},
4040
"scripts": {
4141
"lint": "standard",
42-
"pretest": "npm run build",
42+
"pretest": "npm run lint",
43+
"pretests-only": "npm run build",
4344
"tests-only": "node test",
44-
"test": "npm run tests-only && npm run lint",
45+
"test": "npm run tests-only",
46+
"posttest": "npx npm@\">= 10.2\" audit --production",
4547
"prepare": "npm run build",
4648
"build:self": "babel src --out-dir .",
4749
"build": "npm-run-all --parallel build:*"

0 commit comments

Comments
 (0)