Skip to content

Commit ea2506c

Browse files
committed
Add prepublish script
1 parent ce052c8 commit ea2506c

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
"compile": "rm -f lib/*.js && node_modules/.bin/babel -d lib/ lib/",
1010
"lint": "node_modules/.bin/eslint *.js lib/*.es6 test/",
1111
"pretest": "npm run lint",
12-
"test": "node_modules/.bin/_mocha --compilers js:babel-core/register"
12+
"test": "node_modules/.bin/_mocha --compilers js:babel-core/register",
13+
"prepublish": "npm run compile"
1314
},
1415
"keywords": [
1516
"posthtml",

0 commit comments

Comments
 (0)