Skip to content

Commit

Permalink
Add prebrowserify script
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Sep 3, 2019
1 parent 51edbe4 commit 6f85ad8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"scripts": {
"dist": "yarn browserify && yarn doc",
"browserify": "browserify browser-exports.js -i node-fetch -o dist/nearlib.js && browserify browser-exports.js -i node-fetch -g uglifyify -o dist/nearlib.min.js",
"prebrowserify": "yarn build",
"prepublish": "not-in-install && (yarn build && yarn browserify) || in-install",
"compile": "tsc -p ./tsconfig.json",
"dev": "yarn compile -w",
Expand Down

0 comments on commit 6f85ad8

Please sign in to comment.