Skip to content

Commit 152e378

Browse files
committed
Add prepublish hook
1 parent aaa807a commit 152e378

File tree

2 files changed

+881
-11
lines changed

2 files changed

+881
-11
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@
5757
"scripts": {
5858
"test": "make test",
5959
"test-ci": "nyc mocha -R spec --bail",
60-
"coverage": "yarn add coveralls@2 && nyc report --reporter=text-lcov | coveralls"
60+
"coverage": "yarn add coveralls@2 && nyc report --reporter=text-lcov | coveralls",
61+
"build": "make browserify",
62+
"prepublishOnly": "make browserify"
6163
},
6264
"dependencies": {
6365
"argparse": "~0.1.15",
@@ -66,6 +68,7 @@
6668
"devDependencies": {
6769
"ansi": "^0.3.0",
6870
"benchmark": "^1.0.0",
71+
"browserify": "^16.3.0",
6972
"commonmark": "0.12.0",
7073
"gulp-format-md": "^0.1.10",
7174
"highlight.js": "^9.7.0",

0 commit comments

Comments
 (0)