From 8d0995e04ffe7748db2e4e937d8bc254b65ba0df Mon Sep 17 00:00:00 2001 From: Lou Huang Date: Tue, 23 Aug 2016 11:59:55 -0400 Subject: [PATCH] Fix broken publishing step --- .npmignore | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..e1dcb7d --- /dev/null +++ b/.npmignore @@ -0,0 +1,7 @@ +node_modules +npm-debug.log +.DS_Store +coverage/ +.coveralls.yml +bower.json +circle.yml diff --git a/package.json b/package.json index fe0482f..42e303d 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "example": "examples" }, "scripts": { - "prepublish": "npm run copy-source-files; npm run minify-js && npm run minify-css", + "prepublish": "npm run copy-source-files && 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", "pretest": "npm run copy-source-files",