Skip to content

Commit

Permalink
Use prepare instead of prepublish
Browse files Browse the repository at this point in the history
  • Loading branch information
perliedman committed Aug 31, 2018
1 parent 2854fc9 commit 7c192b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dist": "dist"
},
"scripts": {
"prepublish": "browserify -t browserify-shim -p browserify-derequire -o dist/leaflet-routing-machine.js src/index.js && uglifyjs dist/leaflet-routing-machine.js >dist/leaflet-routing-machine.min.js",
"prepare": "browserify -t browserify-shim -p browserify-derequire -o dist/leaflet-routing-machine.js src/index.js && uglifyjs dist/leaflet-routing-machine.js >dist/leaflet-routing-machine.min.js",
"publish": "scripts/publish.sh",
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand Down

0 comments on commit 7c192b3

Please sign in to comment.