-
Notifications
You must be signed in to change notification settings - Fork 270
/
package.json
127 lines (127 loc) · 3.47 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "react-d3-tree",
"version": "3.6.2",
"description": "React component to create interactive D3 tree hierarchies",
"author": "Ben Kremer",
"license": "MIT",
"bugs": {
"url": "https://github.com/bkrem/react-d3-tree/issues"
},
"homepage": "https://github.com/bkrem/react-d3-tree",
"files": [
"lib"
],
"type": "module",
"exports": {
".": {
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js",
"types": "./lib/types/index.d.ts"
}
},
"module": "lib/esm/index.js",
"main": "lib/cjs/index.js",
"types": "lib/types/index.d.ts",
"scripts": {
"build:docs": "rimraf ./docs && typedoc",
"build:cjs": "tsc -p tsconfig.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build": "rimraf lib && npm run build:cjs && npm run build:esm",
"build:watch": "rimraf lib && npm run build:esm -- -w",
"lint": "eslint src/**/*.js",
"test": "jest --config jest.config.json --coverage --verbose",
"test:clean": "rimraf ./coverage",
"test:watch": "jest --watchAll",
"test:cov": "jest --coverage --verbose",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"show:cov": "open coverage/lcov-report/index.html",
"show:docs": "open demo/public/docs/index.html",
"prepublishOnly": "npm run test && npm run build",
"deploy:demo": "npm run build && npm run build:docs && cd demo && npm run build && npm run deploy"
},
"repository": {
"type": "git",
"url": "https://github.com/bkrem/react-d3-tree.git"
},
"keywords": [
"react",
"d3",
"tree",
"component",
"graph",
"svg",
"hierarchical-data",
"hierarchy",
"d3-visualization",
"chart"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.js": [
"eslint",
"prettier --write",
"jest --findRelatedTests",
"git add"
],
"src/**/*.{ts,tsx}": [
"prettier --write",
"jest --findRelatedTests",
"git add"
]
},
"dependencies": {
"@bkrem/react-transition-group": "^1.3.3",
"@types/d3-hierarchy": "^1.1.8",
"clone": "^2.1.1",
"d3-hierarchy": "^1.1.9",
"d3-selection": "^3.0.0",
"d3-shape": "^1.3.7",
"d3-zoom": "^3.0.0",
"dequal": "^2.0.2",
"uuid": "^8.3.1"
},
"peerDependencies": {
"react": "16.x || 17.x || 18.x",
"react-dom": "16.x || 17.x || 18.x"
},
"devDependencies": {
"@babel/core": "^7.8.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.8.3",
"@babel/preset-typescript": "^7.8.3",
"@types/d3-selection": "^1.4.3",
"@types/d3-shape": "^1.3.5",
"@types/d3-zoom": "^1.8.2",
"@types/react": "^16.9.17",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"coveralls": "^3.0.0",
"enzyme": "^3.4.4",
"enzyme-adapter-react-16": "^1.2.0",
"eslint": "4.16.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^3.3.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.5.1",
"husky": "^3.0.4",
"jest": "^24.9.0",
"lint-staged": "^9.4.2",
"prettier": "^1.19.1",
"react": "^16.14.0",
"react-dom": "^16.6.3",
"react-test-renderer": "^16.6.3",
"regenerator-runtime": "^0.12.0",
"rimraf": "^3.0.0",
"ts-jest": "^24.0.2",
"ts-node": "^8.3.0",
"tsconfig-paths": "^3.8.0",
"typedoc": "^0.19.2",
"typescript": "^4.9.4"
}
}