-
Notifications
You must be signed in to change notification settings - Fork 55
/
package.json
129 lines (129 loc) · 4 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
{
"name": "reactochart",
"description": "Reactochart - React Charts, graphs and data visualization",
"author": "Dan Delany <dand@spotify.com>",
"contributors": [
"Erica Hyman <ehyman@spotify.com>",
"Isaac Ezer <isaace@spotify.com>"
],
"version": "6.1.1",
"main": "index.js",
"files": [
"*.js",
"*.js.map",
"styles.css",
"utils/",
"src/"
],
"engines": {
"node": ">=12.0.0"
},
"scripts": {
"analyze-bundle": "source-map-explorer node_modules ./*.js ./*.js.map ./utils styles.css src/",
"lint": "eslint ./src ./docs/src",
"lint-fix": "eslint ./src --fix",
"prepublishOnly": "npm run build",
"build": "npm run build-lib && npm run build-css",
"dev": "webpack-dev-server --config webpack.config.base.js",
"docs": "npm run make-docs && npm run build-docs",
"build-lib": "npm run clean && BABEL_ENV=production babel src --out-dir ./ --source-maps",
"build-css": "lessc ./styles/charts.less ./styles.css",
"build-docs": "cross-env webpack --config webpack.config.build.js",
"make-docs": "node scripts/makeDocs.js",
"clean": "node scripts/clean.js",
"serve": "python -m SimpleHTTPServer",
"test": "npm run test-jest && npm run lint",
"test-browser": "webpack-dev-server --config tests/browser/webpack.config.test.js",
"test-jest": "cross-env NODE_PATH=$NODE_PATH:$PWD/src BABEL_ENV=test jest ./tests/jsdom"
},
"dependencies": {
"d3": "6 || 7",
"d3-sankey": "^0.12.3",
"invariant": "^2.2.0",
"lodash": "^4.17.15",
"prop-types": "^15.8.1",
"units-css": "^0.4.0"
},
"peerDependencies": {
"react": "^15.6.0 || ^16.0.0",
"react-dom": "^15.6.0 || ^16.0.0"
},
"devDependencies": {
"@babel/cli": "^7.16.8",
"@babel/core": "^7.16.7",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-object-rest-spread": "^7.16.7",
"@babel/eslint-parser": "^7.16.0",
"@babel/preset-env": "^7.16.8",
"@babel/preset-flow": "^7.16.7",
"@babel/preset-react": "^7.16.7",
"@babel/register": "^7.16.9",
"@spotify/eslint-config-react": "^12.0.0",
"@spotify/eslint-config-base": "^12.0.0",
"@spotify/web-scripts": "^12.0.0",
"babel-jest": "^24.9.0",
"babel-loader": "^8.2.3",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-rewire": "^1.2.0",
"chai": "^4.2.0",
"chai-enzyme": "^1.0.0-beta.1",
"clean-webpack-plugin": "^4.0.0",
"component-playground": "^3.2.1",
"copy-webpack-plugin": "^10.2.4",
"cross-env": "^7.0.3",
"css-loader": "^3.5.3",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "^8.9.0",
"eslint-config-prettier": "8.4.0",
"eslint-plugin-chai-friendly": "^0.5.0",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.28.0",
"glob": "^7.2.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^4.3.8",
"jest": "^24.9.0",
"jest-canvas-mock": "^2.3.1",
"jest-enzyme": "^7.1.2",
"jsdom": "^15.2.0",
"json-loader": "^0.5.2",
"less": "^4.1.2",
"less-loader": "^10.2.0",
"lessc": "^1.0.2",
"mocha": "^7.0.1",
"prettier": "~1.18.2",
"raw-loader": "^4.0.2",
"react": "^16.14.0",
"react-addons-update": "^15.6.0",
"react-docgen": "5.1.0",
"react-dom": "^16.14.0",
"react-pure-render-debug": "^1.1.1",
"react-router": "^5.2.1",
"react-router-dom": "^5.3.0",
"react-test-renderer": "^16.14.0",
"remark": "^14.0.2",
"remark-react": "^9.0.1",
"shelljs": "^0.8.5",
"sinon": "^9.0.0",
"sinon-chai": "^3.5.0",
"source-map-explorer": "^2.5.2",
"style-loader": "^1.3.0",
"webpack": "^5.69.1",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.7.4"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/spotify/reactochart"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"husky": {
"hooks": {
"pre-commit": "web-scripts precommit --no-typecheck"
}
}
}