Skip to content

Commit 33bf4f7

Browse files
committed
add pre/postpack scripts for npm5
- in npm5 prepublish is deprecated in favor of prepack - http://blog.npmjs.org/post/161081169345/v500
1 parent 02e09b3 commit 33bf4f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
"scripts": {
1919
"test": "make test",
2020
"build": "make build",
21+
"prepack": "make build",
22+
"postpack": "make clean",
2123
"prepublish": "make build",
2224
"postpublish": "make clean"
2325
},

0 commit comments

Comments
 (0)