Skip to content

Commit

Permalink
Tweaked npm publish process
Browse files Browse the repository at this point in the history
  • Loading branch information
migurski committed Aug 17, 2016
1 parent 64de66f commit 8cef519
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ deployment:
- ./deploy.sh static-prod.mapzen.com
# npm release process
- echo -e "$NPM_USERNAME\n$NPM_PASSWORD\n$NPM_ACCOUNT" | npm login
- npm run npm-publish
- npm version ${CIRCLE_TAG#release-v} --no-git-tag-version && publish --on-major --on-minor --on-patch
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"build-style": "node-sass --output-style compressed -o dist/ src/scss/mapzen.scss; cp -R node_modules/mapzen-scarab/src/images dist/images; cp -r node_modules/leaflet/dist/images/* dist/images/;",
"build-dev-style": "node-sass --output-style compressed -o dist/ src/scss/mapzen.scss -w; cp -R node_modules/mapzen-scarab/src/images dist/images; cp -r node_modules/leaflet/dist/images/* dist/images/;",
"dev": " watchify ./src/js/mapzen.js -o dist/mapzen.min.js -v;",
"npm-publish": "npm version from-git --no-git-tag-version; publish --on-major --on-minor --on-patch",
"build": "browserify ./src/js/mapzen.js > dist/mapzen.js; browserify -t uglifyify ./src/js/mapzen.js | uglifyjs -c > dist/mapzen.min.js; npm run-script build-style;"
},
"dependencies": {},
Expand Down

0 comments on commit 8cef519

Please sign in to comment.