forked from uber/react-vis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
159 lines (159 loc) · 4.17 KB
/
package.json
File metadata and controls
159 lines (159 loc) · 4.17 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
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "react-vis",
"version": "1.11.7",
"license": "MIT",
"author": "Visualization Team <visualization@uber.com>",
"description": "Data visualization library based on React and d3.",
"main": "dist",
"module": "es",
"jsnext:main": "es",
"files": [
"dist",
"es"
],
"repository": {
"type": "git",
"url": "https://github.com/uber-common/react-vis.git"
},
"bugs": {
"url": "https://github.com/uber-common/react-vis/issues/new",
"email": "visualization@uber.com"
},
"scripts": {
"docs": "./publish-docs.sh",
"clean": "rd /s /q dist",
"start": "(cd showcase && command -v yarn >/dev/null && yarn && npm start || npm install && npm start)",
"build:browser": "browserify src/index.js -t [ babelify ] --standalone reactVis | uglifyjs > dist/dist.min.js",
"build": "npm run clean && babel src -d dist --copy-files && cross-env BABEL_ENV=es babel src -d es --copy-files && node-sass src/main.scss dist/style.css --output-style compressed && npm run build:browser",
"lint": "eslint src tests showcase docs --ignore-pattern node_modules --ignore-pattern bundle.js",
"lint-styles": "stylelint src/styles/*.scss --syntax scss",
"test:windows": "babel-node --inspect ./tests/index.js",
"test": "node --inspect ./node_modules/.bin/babel-node ./tests/index.js",
"full-test": "npm run lint && npm run cover",
"cover": "nyc --reporter=text --reporter=html --reporter=lcov npm test",
"prettier": "prettier --write $(git ls-files | grep '.js$')",
"remove-unpm-rfs": "./remove-refs-to-unpm.pl",
"prepare": "npm run build"
},
"husky": {
"hooks": {
"pre-push": "npm run remove-unpm-rfs"
}
},
"dependencies": {
"d3-array": "^1.2.0",
"d3-collection": "^1.0.3",
"d3-color": "^1.0.3",
"d3-contour": "^1.1.0",
"d3-format": "^1.2.0",
"d3-geo": "^1.6.4",
"d3-hexbin": "^0.2.2",
"d3-hierarchy": "^1.1.4",
"d3-interpolate": "^1.1.4",
"d3-sankey": "^0.7.1",
"d3-scale": "^1.0.5",
"d3-shape": "^1.1.0",
"d3-voronoi": "^1.1.2",
"deep-equal": "^1.0.1",
"global": "^4.3.1",
"prop-types": "^15.5.8",
"react-motion": "^0.5.2"
},
"devDependencies": {
"babel-cli": "6.18.0",
"babel-eslint": "^7.1.1",
"babel-plugin-module-resolver": "^2.4.0",
"babel-preset-es2015": "6.18.0",
"babel-preset-es2017": "^6.24.1",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-0": "^6.16.0",
"babel-register": "^6.18.0",
"babelify": "^7.3.0",
"browserify": "^14.3.0",
"canvas-prebuilt": "^1.6.11",
"cross-env": "^7.0.2",
"enzyme": "^2.8.2",
"eslint": "^3.19.0",
"eslint-config-prettier": "^3.0.1",
"eslint-config-uber-es2015": "^3.1.2",
"eslint-config-uber-jsx": "^3.3.3",
"eslint-plugin-babel": "^4.1.2",
"eslint-plugin-no-only-tests": "^2.0.1",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-react": "^7.11.1",
"husky": "^1.1.2",
"jsdom": "^9.9.1",
"node-sass": "^4.9.3",
"nyc": "^13.0.1",
"prettier": "^1.14.2",
"react": "^15.5.4",
"react-addons-test-utils": ">=15.4.2",
"react-dom": "^15.5.4",
"react-test-renderer": "^15.5.4",
"stylelint": "^7.7.1",
"stylelint-config-standard": "^15.0.1",
"tape": "^4.6.3",
"uglify-js": "^2.8.22"
},
"peerDependencies": {
"react": "15.3.0 - 16.x"
},
"keywords": [
"d3",
"react",
"visualization",
"chart",
"es6",
"babel"
],
"babel": {
"plugins": [
[
"module-resolver",
{
"root": [
"./src"
]
}
]
],
"env": {
"production": {
"presets": [
"es2015",
"stage-0",
"react"
]
},
"development": {
"presets": [
"es2015",
"stage-0",
"react"
]
},
"es": {
"presets": [
[
"es2015",
{
"modules": false
}
],
"stage-0",
"react"
]
}
}
},
"nyc": {
"exclude": [
"tests/**/*.js",
"src/utils/react-utils.js"
]
},
"engines": {
"node": ">=0.10.0",
"npm": ">=3.0"
}
}