forked from bkrem/react-d3-tree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
133 lines (133 loc) · 3.9 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
128
129
130
131
132
133
{
"name": "react-d3-tree",
"version": "1.12.2",
"description": "React component to create interactive D3 tree hierarchies",
"main": "lib/react-d3-tree.min.js",
"types": "./react-d3-tree.d.ts",
"scripts": {
"clean:lib": "rimraf lib/*",
"precommit": "lint-staged",
"build": "yarn clean:lib && webpack --progress --colors --env build",
"dev": "yarn clean:lib && webpack --progress --colors --watch --env dev",
"lint": "eslint src/**/*.js",
"test": "yarn lint && jest --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",
"docs:react": "react-docgen src -e src/**/*.test.js$|scripts/buildDocs.sh",
"docs": "yarn docs:react",
"docs:util": "jsdoc2md src/util/index.js > docs/util/util.md",
"docs:clean": "rimraf docs/components/* && rimraf docs/util/*",
"release": "yarn test && yarn build && yarn docs && git commit -a",
"preanalyze": "rimraf stats.json",
"analyze": "webpack --config webpack.config.js --env build --profile --json > stats.json && echo '==> http://webpack.github.io/analyse/'"
},
"lint-staged": {
"src/**/*.js": [
"eslint",
"prettier --write --single-quote --trailing-comma=all --print-width 100",
"git add"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/index.js",
"!src/util/*",
"!src/**/*.test.{js,jsx}",
"!playground/*"
],
"coverageThreshold": {
"global": {
"statements": 94,
"branches": 84,
"functions": 90,
"lines": 94
}
},
"setupTestFrameworkScriptFile": "<rootDir>/jest/setup.js",
"moduleNameMapper": {
".*\\.(css|less|styl|scss|sass)$": "<rootDir>/jest/mocks/cssModule.js",
".*\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/jest/mocks/image.js"
}
},
"greenkeeper": {
"ignore": [
"d3",
"react-transition-group",
"webpack"
]
},
"dependencies": {
"clone": "^2.1.1",
"d3": "3.5.17",
"deep-equal": "^1.0.1",
"prop-types": "^15.5.10",
"react-transition-group": "^1.1.3",
"uuid": "^3.0.1"
},
"peerDependencies": {
"react": "^15.0.0 || ^16.0.0"
},
"devDependencies": {
"babel-cli": "6.26.0",
"babel-core": "6.26.0",
"babel-eslint": "8.2.6",
"babel-jest": "^21.2.0",
"babel-loader": "7.1.2",
"babel-plugin-add-module-exports": "0.2.1",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"coveralls": "^3.0.0",
"css-loader": "^0.28.1",
"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-loader": "2.1.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.5.1",
"husky": "^1.2.0",
"jest": "^22.1.3",
"jsdoc-to-markdown": "^3.0.0",
"lint-staged": "^6.0.0",
"postcss-loader": "^3.0.0",
"prettier": "^1.6.1",
"react": "^16.6.3",
"react-docgen": "^2.16.0",
"react-dom": "^16.6.3",
"react-test-renderer": "^16.6.3",
"regenerator-runtime": "^0.12.0",
"rimraf": "^2.6.1",
"style-loader": "^0.22.1",
"webpack": "^3.5.6",
"yargs": "12.0.1"
},
"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"
],
"author": "Ben Kremer",
"license": "MIT",
"bugs": {
"url": "https://github.com/bkrem/react-d3-tree/issues"
},
"homepage": "https://github.com/bkrem/react-d3-tree"
}