Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade dependencies 2 #115

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 6 additions & 5 deletions package.json
Expand Up @@ -39,15 +39,16 @@
},
"sideEffects": false,
"devDependencies": {
"@observablehq/tape": "~0.0.1",
"eslint": "6",
"eslint": "7",
"esm": "3",
"rollup": "1",
"rollup": "2",
"rollup-plugin-node-resolve": "5",
"rollup-plugin-terser": "5"
"rollup-plugin-terser": "7",
"tape": "4",
"tape-await": "0.1"
},
"scripts": {
"test": "tape -r esm 'test/**/*-test.js' && eslint src test",
"test": "./test/run.sh",
"prepublishOnly": "yarn test && rm -rf dist && rollup -c",
"postpublish": "git push && git push --tags && zip -j dist/${npm_package_name}.zip -- LICENSE README.md dist/${npm_package_name}.js dist/${npm_package_name}.min.js"
}
Expand Down
4 changes: 2 additions & 2 deletions test/delaunay-test.js
@@ -1,5 +1,5 @@
import tape from "@observablehq/tape";
import Delaunay from "../src/delaunay.js";
import tape from "tape-await";
import Delaunay from "../src/delaunay.js"
import Context from "./context.js";

tape("Delaunay.from(array)", test => {
Expand Down
3 changes: 3 additions & 0 deletions test/run.sh
@@ -0,0 +1,3 @@
#!/bin/bash

tape -r esm ${@:-'test/**/*-test.js'} && eslint src
2 changes: 1 addition & 1 deletion test/voronoi-test.js
@@ -1,4 +1,4 @@
import tape from "@observablehq/tape";
import tape from "tape-await";
import Delaunay from "../src/delaunay.js";
import Context from "./context.js";

Expand Down