Skip to content

Commit

Permalink
build => dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Fil committed Dec 3, 2019
1 parent 9057470 commit 0080eb0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,5 +1,6 @@
.DS_Store
npm-debug.log
dist/

example/capture/figures/*.png

Expand Down
2 changes: 1 addition & 1 deletion .npmignore
@@ -1,2 +1,2 @@
build/*.zip
dist/*.zip
test/
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -9,7 +9,7 @@
"visualization"
],
"license": "BSD-3-Clause",
"main": "build/d3-gridding.js",
"main": "dist/d3-gridding.js",
"module": "index.js",
"jsnext:main": "index.js",
"homepage": "https://github.com/romsson/d3-gridding",
Expand All @@ -22,11 +22,11 @@
"url": "http://romain.vuillemot.net/"
},
"scripts": {
"pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -c rollup.config.js -f umd -g d3-array:d3,d3-shape:d3,d3-scale:d3,d3-hierarchy:d3 -n d3 -o build/d3-gridding.js -- index.js",
"pretest": "rm -rf dist && mkdir dist && rollup --banner \"$(preamble)\" -c rollup.config.js -f umd -g d3-array:d3,d3-shape:d3,d3-scale:d3,d3-hierarchy:d3 -n d3 -o dist/d3-gridding.js -- index.js",
"test": "tape -r esm 'test/**/*-test.js' && eslint index.js src test",
"prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-gridding.js -c -m -o build/d3-gridding.min.js",
"prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" dist/d3-gridding.js -c -m -o dist/d3-gridding.min.js",
"prepublish:watch": "watch 'npm run pretest' ./src ./test",
"postpublish": "zip -j build/d3-gridding.zip -- LICENSE README.md build/d3-gridding.js build/d3-gridding.min.js"
"postpublish": "zip -j dist/d3-gridding.zip -- LICENSE README.md dist/d3-gridding.js dist/d3-gridding.min.js"
},
"devDependencies": {
"eslint": "^6.6.0",
Expand Down

0 comments on commit 0080eb0

Please sign in to comment.