Skip to content

Commit 2b92efa

Browse files
authored
Chore: add prepush hook and changed prepublish to prepare (#6)
1 parent 89ba285 commit 2b92efa

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
@@ -8,11 +8,12 @@
88
"license": "MIT",
99
"private": false,
1010
"scripts": {
11-
"pretest": "npm run build && npm run lint",
11+
"pretest": "yarn run build && yarn run lint",
1212
"lint": "eslint src",
1313
"test": "jest --coverage",
1414
"build": "babel src --out-dir lib",
15-
"prepublish": "npm run build"
15+
"prepush": "yarn run test",
16+
"prepare": "yarn run build"
1617
},
1718
"keywords": [
1819
"array",

0 commit comments

Comments
 (0)