Skip to content

Commit

Permalink
Fix #274 - restore anonymous UMD.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Jan 29, 2016
1 parent a30cc3f commit 711c00f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "topojson",
"version": "1.6.21",
"version": "1.6.22",
"description": "An extension to GeoJSON that encodes topology.",
"keywords": [
"topojson",
Expand Down Expand Up @@ -28,7 +28,7 @@
"topojson-svg": "./bin/topojson-svg"
},
"scripts": {
"pretest": "mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../client\\\"; export {version};\");' > build/bundle.js && rollup -f umd -u topojson -n topojson -o build/topojson.js -- build/bundle.js",
"pretest": "mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../client\\\"; export {version};\");' > build/bundle.js && rollup -f umd -n topojson -o build/topojson.js -- build/bundle.js",
"test": "faucet `find test -name '*-test.js'` && eslint client.js src",
"prepublish": "npm run test && uglifyjs build/topojson.js -c -m -o build/topojson.min.js && rm -f build/topojson.zip && zip -j build/topojson.zip -- LICENSE README.md build/topojson.js build/topojson.min.js",
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git tag -am \"Release $VERSION.\" v${VERSION} && git push --tags && cp -v LICENSE build/topojson.js ../topojson-bower && cd ../topojson-bower && git commit -am \"Release $VERSION.\" && git tag -am \"Release $VERSION.\" v${VERSION} && git push && git push --tags"
Expand Down

0 comments on commit 711c00f

Please sign in to comment.