Skip to content

Commit

Permalink
Standardize dependencies. d3/d3#3337
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Aug 9, 2019
1 parent de716c5 commit d10a651
Show file tree
Hide file tree
Showing 4 changed files with 268 additions and 266 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
],
"scripts": {
"pretest": "rollup -c",
"test": "tape 'test/**/*-test.js' && eslint src",
"test": "tape -r esm 'test/**/*-test.js' && eslint src",
"prepublishOnly": "rm -rf dist && yarn test && mkdir -p test/output && test/compare-images",
"postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../${npm_package_name}/dist/${npm_package_name}.js ${npm_package_name}.v${npm_package_version%%.*}.js && cp ../${npm_package_name}/dist/${npm_package_name}.min.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git add ${npm_package_name}.v${npm_package_version%%.*}.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git commit -m \"${npm_package_name} ${npm_package_version}\" && git push && cd - && zip -j dist/${npm_package_name}.zip -- LICENSE README.md dist/${npm_package_name}.js dist/${npm_package_name}.min.js"
},
Expand All @@ -41,6 +41,7 @@
"d3-format": "1",
"eslint": "6",
"eslint-plugin-es5": "1",
"esm": "3",
"rollup": "1",
"rollup-plugin-terser": "5",
"tape": "4",
Expand Down
Loading

0 comments on commit d10a651

Please sign in to comment.