-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 1.75 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 1.75 KB
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
{
"name": "netGraph.svg",
"version": "0.0.1",
"homepage": "https://rabits.github.io/netGraph.svg/main.svg",
"description": "",
"scripts": {
"build": "node build.js",
"test-dev": "eslint out/bundle.js",
"test": "eslint -f junit -o reports/junit/eslint-results.xml out/bundle.js || true"
},
"keywords": [],
"author": {
"name": "Rabit",
"email": "home@rabits.org",
"url": "https://github.com/rabits/"
},
"repository": {
"type": "git",
"url": "https://github.com/rabits/netGraph.svg.git"
},
"bugs": {
"url": "https://github.com/rabits/netGraph.svg/issues"
},
"license": "MIT",
"devDependencies": {
"clean-css": "^4.2.1",
"eslint": "~5.12.1",
"terser": "^3.14.1",
"xml-js": "^1.6.9"
},
"dependencies": {
"babel-minify": "^0.5.0",
"clean-css": "^4.2.1",
"d3": "^5.7.0",
"d3-transform": "^1.0.4",
"uglify-js": "^3.4.9"
},
"eslintConfig": {
"globals": {
"d3": true,
"d3Transform": true
},
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2015,
"sourceType": "script"
},
"rules": {
"indent": [
"error",
2,
{
"SwitchCase": 1
}
],
"no-trailing-spaces": "error",
"keyword-spacing": [
"error",
{ "overrides": {
"if": { "after": false },
"for": { "after": false },
"while": { "after": false },
"switch": { "after": false }
}}
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"never"
]
}
}
}