Skip to content

Commit

Permalink
Merge pull request #54 from tschaub/publish
Browse files Browse the repository at this point in the history
Scripts for easy publishing
  • Loading branch information
tmcw committed Aug 21, 2015
2 parents f0d7f21 + 06474c4 commit ba04460
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist
coverage
*.log
node_modules
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"cov": "istanbul cover test/*.js",
"coveralls": "istanbul cover test/*.js && coveralls < ./coverage/lcov.info",
"build-min": "mkdirp dist && browserify index.js -s geobuf | uglifyjs -c warnings=false -m > dist/geobuf.js",
"build-dev": "mkdirp dist && browserify index.js -d -s geobuf > dist/geobuf-dev.js"
"build-dev": "mkdirp dist && browserify index.js -d -s geobuf > dist/geobuf-dev.js",
"build": "npm run build-min && npm run build-dev",
"prepublish": "in-publish && npm run build || not-in-publish"
},
"repository": {
"type": "git",
Expand All @@ -36,12 +38,15 @@
"homepage": "https://github.com/mapbox/geobuf",
"devDependencies": {
"benchmark": "~1.0.0",
"browserify": "^11.0.1",
"coveralls": "~2.11.2",
"eslint": "^0.17.1",
"geojson-fixtures": "0.6.1",
"in-publish": "^2.0.0",
"istanbul": "~0.3.11",
"mkdirp": "^0.5.0",
"tap": "~0.7.1"
"tap": "~0.7.1",
"uglifyjs": "^2.4.10"
},
"dependencies": {
"concat-stream": "^1.4.7",
Expand Down

0 comments on commit ba04460

Please sign in to comment.