From e094e81f3328bfe349745cf4549fb7a5d38945ad Mon Sep 17 00:00:00 2001 From: Mike Bostock Date: Tue, 16 Jun 2015 13:34:33 -0700 Subject: [PATCH] Fix .npmignore. --- .npmignore | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.npmignore b/.npmignore index 0655e4b..dfb770e 100644 --- a/.npmignore +++ b/.npmignore @@ -1,3 +1,3 @@ -index.sublime-workspace -index.sublime-project +*.sublime-* +build/*.zip test/ diff --git a/package.json b/package.json index ea16d86..fc974af 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "d3-interpolate", - "version": "0.1.0", + "version": "0.1.1", "description": "Interpolate numbers, colors, strings, arrays, objects, whatever!", "keywords": [ "d3", @@ -22,7 +22,7 @@ "scripts": { "pretest": "mkdir -p build && d3-bundler --format=umd --name=interpolate -- index.js > build/interpolate.js", "test": "faucet `find test -name '*-test.js'`", - "prepublish": "npm run test && uglifyjs build/interpolate.js -c -m -o build/interpolate.min.js" + "prepublish": "npm run test && uglifyjs build/interpolate.js -c -m -o build/interpolate.min.js && rm -f build/interpolate.zip && zip -j build/interpolate.zip -- LICENSE README.md build/interpolate.js build/interpolate.min.js" }, "devDependencies": { "d3-bundler": "~0.2.6",