-
-
Notifications
You must be signed in to change notification settings - Fork 246
/
package.json
145 lines (145 loc) · 5.31 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
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "react-charts",
"version": "1.0.0-semantic-release",
"description": "Simple, immersive & interactive charts for React. Flexible, declarative, and highly configurable.",
"author": "tannerlinsley",
"license": "MIT",
"repository": "tannerlinsley/react-charts",
"homepage": "https://github.com/tannerlinsley/react-charts#readme",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/tannerlinsley"
},
"main": "lib/index.js",
"unpkg": "dist/react-charts.development.js",
"types": "types/index.d.ts",
"module": "es/index.js",
"files": [
"dist",
"es",
"lib",
"scripts",
"types"
],
"scripts": {
"test": "is-ci \"test:ci\" \"test:dev\"",
"test:dev": "npm run test:types && npm run test:eslint && jest --watch",
"test:ci": "npm run test:types && npm run test:eslint && jest",
"test:coverage": "yarn test:ci; open coverage/lcov-report/index.html",
"test:types": "tsc",
"test:eslint": "eslint --ext .ts,.tsx ./src",
"build": "yarn build:commonjs && yarn build:es && yarn build:umd && yarn build:types",
"build:commonjs": "rimraf ./lib && cross-env BABEL_ENV=commonjs babel --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir lib",
"build:es": "rimraf ./es && babel --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir es",
"build:umd": "rimraf ./dist && cross-env NODE_ENV=production rollup -c && rollup-plugin-visualizer stats-react.json",
"build:types": "rimraf ./types && tsc --project ./tsconfig.types.json && replace 'import type' 'import' ./types -r --silent && replace 'export type' 'export' ./types -r --silent",
"watch": "yarn watch:commonjs & yarn watch:es & yarn watch:umd & yarn watch:types",
"watch:commonjs": "rimraf ./lib && cross-env BABEL_ENV=commonjs babel --watch --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir lib",
"watch:es": "rimraf ./es && babel --watch --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir es",
"watch:umd": "rimraf ./dist && cross-env NODE_ENV=production rollup -w -c && rollup-plugin-visualizer stats-react.json",
"watch:types": "rimraf ./types && tsc --watch --project ./tsconfig.types.json && replace 'import type' 'import' ./types -r --silent && replace 'export type' 'export' ./types -r --silent",
"now-build": "yarn && cd www && yarn && yarn build",
"start": "yarn watch",
"format": "prettier {.,src,src/**,example/src,example/src/**,types}/*.{md,js,jsx,tsx,json} --write",
"stats": "open ./stats.html",
"typedoc": "typedoc"
},
"peerDependencies": {
"react": ">=16",
"react-dom": ">=16"
},
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
]
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@rollup/plugin-replace": "^2.3.3",
"@svgr/rollup": "^5.4.0",
"@testing-library/react": "^12.0.0",
"@types/d3-delaunay": "^6.0.0",
"@types/d3-time-format": "^4.0.0",
"@types/jest": "^26.0.4",
"@typescript-eslint/eslint-plugin": "^4.8.1",
"@typescript-eslint/parser": "^4.8.1",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.0.6",
"babel-plugin-const-enum": "^1.0.1",
"babel-plugin-transform-async-to-promises": "^0.8.15",
"cross-env": "^7.0.2",
"eslint": "7.x",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react-app": "^6.0.0",
"eslint-config-standard": "^16.0.3",
"eslint-config-standard-react": "^11.0.1",
"eslint-plugin-flowtype": "5.x",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "6.x",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "7.24.0",
"eslint-plugin-react-hooks": "4.2.0",
"eslint-plugin-standard": "^5.0.0",
"is-ci-cli": "^2.1.1",
"jest": "^27.0.6",
"prettier": "2.3.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-error-boundary": "^3.1.3",
"replace": "^1.2.0",
"rimraf": "^3.0.2",
"rollup": "^2.16.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-jscc": "^2.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-peer-deps-external": "^2.2.2",
"rollup-plugin-prettier": "^2.1.0",
"rollup-plugin-size": "^0.2.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^5.5.2",
"typescript": "^4.3.5"
},
"dependencies": {
"@babel/runtime": "^7.14.6",
"@types/d3-array": "^3.0.1",
"@types/d3-scale": "^4.0.1",
"@types/d3-shape": "^3.0.1",
"@types/raf": "^3.4.0",
"@types/react": "^17.0.14",
"@types/react-dom": "^17.0.9",
"d3-array": "^2.12.1",
"d3-delaunay": "5.3.0",
"d3-scale": "^3.3.0",
"d3-shape": "^2.1.0",
"d3-time": "^2.1.1",
"d3-time-format": "^4.1.0",
"ts-toolbelt": "^9.6.0"
},
"resolutions": {
"d3-scale/d3-interpolate/d3-color": "^3.1.0"
}
}