Skip to content

Commit 1656e9f

Browse files
committed
fix: ignore prepublish when installing
1 parent 30e0da5 commit 1656e9f

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
@@ -23,7 +23,7 @@
2323
"generate": "nuxt generate",
2424
"precommit": "lint-staged",
2525
"heroku-postbuild": "yarn build",
26-
"prepublish": "yarn lint && yarn test && yarn build:server",
26+
"prepublishOnly": "yarn lint && yarn test && yarn build:server",
2727
"release": "standard-version"
2828
},
2929
"ava": {
@@ -103,6 +103,7 @@
103103
"webpack-node-externals": "^1.6.0"
104104
},
105105
"engines": {
106-
"node": ">=7.6.0"
106+
"node": ">=7.6.0",
107+
"npm": ">=4.0.0"
107108
}
108109
}

0 commit comments

Comments
 (0)