Skip to content

Commit 7cdaf59

Browse files
wcjohnsonrattrayalex
authored andcommitted
Add npm prepublish hook.
1 parent 0475fae commit 7cdaf59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"scripts": {
1010
"test": "mocha test",
1111
"test:debug": "node --inspect --debug-brk mocha test",
12-
"build": "babel src --out-dir ."
12+
"build": "babel src --out-dir .",
13+
"prepublish": "npm run build"
1314
},
1415
"author": "Alex Rattray <rattray.alex@gmail.com> (http://alexrattray.com/)",
1516
"homepage": "http://lightscript.org/",

0 commit comments

Comments
 (0)