Skip to content

Commit

Permalink
Copy files from src/ to dist/ as part of prepublish task. Resolves #137
Browse files Browse the repository at this point in the history
  • Loading branch information
louh committed Aug 9, 2016
1 parent 3a7ce04 commit dc4fa1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"example": "examples"
},
"scripts": {
"prepublish": "npm run minify-js && npm run minify-css",
"prepublish": "cp src/*.css src/*.js dist/; npm run minify-js && npm run minify-css",
"minify-js": "uglifyjs dist/leaflet-geocoder-mapzen.js -o dist/leaflet-geocoder-mapzen.min.js",
"minify-css": "cleancss -o dist/leaflet-geocoder-mapzen.min.css dist/leaflet-geocoder-mapzen.css",
"test": "jake"
Expand Down

0 comments on commit dc4fa1d

Please sign in to comment.