Skip to content

Commit ec1e39e

Browse files
committed
Fix .npmignore.
1 parent ea22f90 commit ec1e39e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.npmignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
index.sublime-workspace
2-
index.sublime-project
1+
*.sublime-*
2+
build/*.zip
33
test/

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "d3-arrays",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "Array manipulation, ordering, searching, summarizing, etc.",
55
"keywords": [
66
"d3",
@@ -24,7 +24,7 @@
2424
"scripts": {
2525
"pretest": "mkdir -p build && d3-bundler --polyfill-map --format=umd --name=arrays -- index.js > build/arrays.js",
2626
"test": "faucet `find test -name '*-test.js'`",
27-
"prepublish": "npm run test && uglifyjs build/arrays.js -c -m -o build/arrays.min.js"
27+
"prepublish": "npm run test && uglifyjs build/arrays.js -c -m -o build/arrays.min.js && rm -f build/arrays.zip && zip -j build/arrays.zip -- LICENSE README.md build/arrays.js build/arrays.min.js"
2828
},
2929
"devDependencies": {
3030
"d3-bundler": "~0.2.5",

0 commit comments

Comments
 (0)