From 1e30118b1291b568c312088ff7330ed0294ac1a7 Mon Sep 17 00:00:00 2001 From: Mike Bostock Date: Tue, 16 Jun 2015 13:21:22 -0700 Subject: [PATCH] Fix .npmignore. --- .npmignore | 4 ++-- package.json | 5 ++--- 2 files changed, 4 insertions(+), 5 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 959147e..618ad98 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "d3-format", - "version": "0.2.0", + "version": "0.2.1", "description": "Format numbers for human consumption.", "keywords": [ "d3", @@ -21,8 +21,7 @@ "scripts": { "pretest": "mkdir -p build && d3-bundler --format=umd --name=format -- index.js > build/format.js", "test": "faucet `find test -name '*-test.js'`", - "prepublish": "npm run test && uglifyjs build/format.js -c -m -o build/format.min.js", - "release": "npm run prepublish && rm -f format.zip && zip -j build/format.zip -- LICENSE build/format.js build/format.min.js" + "prepublish": "npm run test && uglifyjs build/format.js -c -m -o build/format.min.js && rm -f build/format.zip && zip -j build/format.zip -- LICENSE README.md build/format.js build/format.min.js" }, "devDependencies": { "d3-bundler": "~0.2.5",