Skip to content

Commit 589d25f

Browse files
committed
Fix npm scripts
1 parent 6b76c0d commit 589d25f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
},
5151
"scripts": {
5252
"prepublishOnly": "git push && git push --tags && gh-release",
53-
"prepare": "run-s lint build test",
53+
"prepare": "run-s test",
54+
"test": "run-s lint build unit",
5455
"start": "run-s lint build",
5556
"build": "run-s convert redoc",
5657
"convert": "node src/convert.js",
@@ -62,7 +63,7 @@
6263
"lint": "run-s eslint prettier",
6364
"eslint": "eslint --fix \"src/**/*.js\"",
6465
"prettier": "prettier --write --loglevel warn \"src/**/*.js\" \"*.{js,md,yml,json}\"",
65-
"test": "ava"
66+
"unit": "ava"
6667
},
6768
"engines": {
6869
"node": "12"

0 commit comments

Comments
 (0)