-
Notifications
You must be signed in to change notification settings - Fork 104
/
package.json
92 lines (92 loc) · 2.71 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "d3-graphviz",
"version": "5.6.0",
"description": "Graphviz DOT rendering and animated transitions for D3",
"keywords": [
"d3",
"d3-module",
"Graphviz",
"DOT",
"graph layout",
"animation",
"transition",
"Viz.js"
],
"license": "BSD-3-Clause",
"type": "module",
"exports": "./index.js",
"jsnext:main": "index",
"homepage": "https://github.com/magjac/d3-graphviz",
"repository": {
"type": "git",
"url": "https://github.com/magjac/d3-graphviz.git"
},
"scripts": {
"build": "rm -rf build && mkdir build && rollup -c",
"pretest": "npm run build",
"test": "env TESTRUNNER='c8 --reporter=text mocha' npm run do-test",
"do-test": "mkdir -p http:; ln -nsf .. http://dummyhost; $TESTRUNNER 'test/**/*-test.js' 'test/**/*-test.cjs'",
"report": "c8 report --reporter=lcov",
"coverage": "c8 report --reporter=text-lcov > coverage.lcov",
"prepublishOnly": "env NODE_ENV=production npm run build && terser build/d3-graphviz.js -c -m -o build/d3-graphviz.min.js",
"prepublishOnlyOriginal": "env NODE_ENV=production npm run build && TESTRUNNER='mocha' npm run do-test && terser build/d3-graphviz.js -c -m -o build/d3-graphviz.min.js",
"publicbuild": "env NODE_ENV=production npm run build",
"postpublish": "zip -j build/d3-graphviz.zip -- LICENSE README.md build/d3-graphviz.js build/d3-graphviz.min.js"
},
"engines": {
"node": ">=14"
},
"c8": {
"exclude": "test",
"exclude-after-remap": true,
"check-coverage": true,
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100,
"reporter": [
"text-summary"
],
"report-dir": "./alternative"
},
"devDependencies": {
"@babel/cli": "^7.24.8",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/register": "^7.24.6",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^15.2.3",
"ace-builds": "^1.35.4",
"c8": "^10.1.2",
"codecov": "^3.8.3",
"d3": "^7.9.0",
"d3-dispatch": "^3.0.1",
"d3-format": "^3.1.0",
"d3-interpolate": "^3.0.1",
"d3-path": "^3.1.0",
"d3-selection": "^3.0.0",
"d3-timer": "^3.0.1",
"d3-transition": "^3.0.1",
"d3-zoom": "^3.0.0",
"deep-equal": "^2.2.3",
"jsdom": "^24.1.1",
"mocha": "^10.7.3",
"rollup": "^4.20.0",
"terser": "^5.31.6",
"tiny-worker": "^2.3.0"
},
"dependencies": {
"@hpcc-js/wasm": "^2.20.0",
"d3-dispatch": "^3.0.1",
"d3-format": "^3.1.0",
"d3-interpolate": "^3.0.1",
"d3-path": "^3.1.0",
"d3-timer": "^3.0.1",
"d3-transition": "^3.0.1",
"d3-zoom": "^3.0.0"
},
"peerDependencies": {
"d3-selection": "^3.0.0"
}
}