/
package.json
77 lines (77 loc) · 2.31 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
{
"name": "d3-graphviz",
"version": "4.0.0-alpha.1",
"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",
"main": "build/d3-graphviz.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='nyc tape' npm run do-test",
"do-test": "mkdir -p http:; ln -nsf .. http://dummyhost; $TESTRUNNER 'test/**/*-test.js'",
"report": "nyc report --reporter=lcov",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"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='tape' 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"
},
"nyc": {
"check-coverage": true,
"statements": 99.9,
"branches": 99.7,
"functions": 100,
"lines": 99.9,
"reporter": [
"text-summary"
],
"cache": true,
"report-dir": "./alternative"
},
"devDependencies": {
"@babel/cli": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"@babel/register": "^7.13.8",
"@rollup/plugin-node-resolve": "^11.2.1",
"ace-builds": "^1.4.12",
"codecov": "^3.8.1",
"d3": "^6.6.1",
"jsdom": "^16.5.2",
"marked": "^2.0.1",
"nyc": "^15.1.0",
"rollup": "^2.43.1",
"rollup-plugin-babel": "^4.4.0",
"tape": "^5.2.2",
"terser": "^5.6.1",
"tiny-worker": "^2.1.2"
},
"dependencies": {
"@hpcc-js/wasm": "1.4.1",
"d3-dispatch": "^2.0.0",
"d3-format": "^2.0.0",
"d3-interpolate": "^2.0.1",
"d3-path": "^2.0.0",
"d3-timer": "^2.0.0",
"d3-transition": "^2.0.0",
"d3-zoom": "^2.0.0"
},
"peerDependencies": {
"d3-selection": "^2.0.0"
}
}