Skip to content
Source
Sign inSign up
TanStack/react-charts
Open History to see the last commit

package.json

145 lines5.3 KB

1{
2 "name": "react-charts",
3 "version": "1.0.0-semantic-release",
4 "description": "Simple, immersive & interactive charts for React. Flexible, declarative, and highly configurable.",
5 "author": "tannerlinsley",
6 "license": "MIT",
7 "repository": "tannerlinsley/react-charts",
8 "homepage": "https://github.com/tannerlinsley/react-charts#readme",
9 "funding": {
10 "type": "github",
11 "url": "https://github.com/sponsors/tannerlinsley"
12 },
13 "main": "lib/index.js",
14 "unpkg": "dist/react-charts.development.js",
15 "types": "types/index.d.ts",
16 "module": "es/index.js",
17 "files": [
18 "dist",
19 "es",
20 "lib",
21 "scripts",
22 "types"
23 ],
24 "scripts": {
25 "test": "is-ci \"test:ci\" \"test:dev\"",
26 "test:dev": "npm run test:types && npm run test:eslint && jest --watch",
27 "test:ci": "npm run test:types && npm run test:eslint && jest",
28 "test:coverage": "yarn test:ci; open coverage/lcov-report/index.html",
29 "test:types": "tsc",
30 "test:eslint": "eslint --ext .ts,.tsx ./src",
31 "build": "yarn build:commonjs && yarn build:es && yarn build:umd && yarn build:types",
32 "build:commonjs": "rimraf ./lib && cross-env BABEL_ENV=commonjs babel --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir lib",
33 "build:es": "rimraf ./es && babel --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir es",
34 "build:umd": "rimraf ./dist && cross-env NODE_ENV=production rollup -c && rollup-plugin-visualizer stats-react.json",
35 "build:types": "rimraf ./types && tsc --project ./tsconfig.types.json && replace 'import type' 'import' ./types -r --silent && replace 'export type' 'export' ./types -r --silent",
36 "watch": "yarn watch:commonjs & yarn watch:es & yarn watch:umd & yarn watch:types",
37 "watch:commonjs": "rimraf ./lib && cross-env BABEL_ENV=commonjs babel --watch --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir lib",
38 "watch:es": "rimraf ./es && babel --watch --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir es",
39 "watch:umd": "rimraf ./dist && cross-env NODE_ENV=production rollup -w -c && rollup-plugin-visualizer stats-react.json",
40 "watch:types": "rimraf ./types && tsc --watch --project ./tsconfig.types.json && replace 'import type' 'import' ./types -r --silent && replace 'export type' 'export' ./types -r --silent",
41 "now-build": "yarn && cd www && yarn && yarn build",
42 "start": "yarn watch",
43 "format": "prettier {.,src,src/**,example/src,example/src/**,types}/*.{md,js,jsx,tsx,json} --write",
44 "stats": "open ./stats.html",
45 "typedoc": "typedoc"
46 },
47 "peerDependencies": {
48 "react": ">=16",
49 "react-dom": ">=16"
50 },
51 "release": {
52 "branches": [
53 "+([0-9])?(.{+([0-9]),x}).x",
54 "main",
55 "next",
56 "next-major",
57 {
58 "name": "beta",
59 "prerelease": true
60 },
61 {
62 "name": "alpha",
63 "prerelease": true
64 }
65 ]
66 },
67 "husky": {
68 "hooks": {
69 "pre-commit": "tsdx lint"
70 }
71 },
72 "devDependencies": {
73 "@babel/cli": "^7.11.6",
74 "@babel/core": "^7.11.6",
75 "@babel/plugin-transform-runtime": "^7.11.5",
76 "@babel/preset-env": "^7.11.5",
77 "@babel/preset-react": "^7.10.4",
78 "@babel/preset-typescript": "^7.10.4",
79 "@rollup/plugin-replace": "^2.3.3",
80 "@svgr/rollup": "^5.4.0",
81 "@testing-library/react": "^12.0.0",
82 "@types/d3-delaunay": "^6.0.0",
83 "@types/d3-time-format": "^4.0.0",
84 "@types/jest": "^26.0.4",
85 "@typescript-eslint/eslint-plugin": "^4.8.1",
86 "@typescript-eslint/parser": "^4.8.1",
87 "babel-eslint": "^10.1.0",
88 "babel-jest": "^27.0.6",
89 "babel-plugin-const-enum": "^1.0.1",
90 "babel-plugin-transform-async-to-promises": "^0.8.15",
91 "cross-env": "^7.0.2",
92 "eslint": "7.x",
93 "eslint-config-prettier": "^8.3.0",
94 "eslint-config-react-app": "^6.0.0",
95 "eslint-config-standard": "^16.0.3",
96 "eslint-config-standard-react": "^11.0.1",
97 "eslint-plugin-flowtype": "5.x",
98 "eslint-plugin-import": "^2.22.1",
99 "eslint-plugin-jsx-a11y": "6.x",
100 "eslint-plugin-node": "^11.1.0",
101 "eslint-plugin-prettier": "^3.1.3",
102 "eslint-plugin-promise": "^5.1.0",
103 "eslint-plugin-react": "7.24.0",
104 "eslint-plugin-react-hooks": "4.2.0",
105 "eslint-plugin-standard": "^5.0.0",
106 "is-ci-cli": "^2.1.1",
107 "jest": "^27.0.6",
108 "prettier": "2.3.2",
109 "react": "^17.0.2",
110 "react-dom": "^17.0.2",
111 "react-error-boundary": "^3.1.3",
112 "replace": "^1.2.0",
113 "rimraf": "^3.0.2",
114 "rollup": "^2.16.1",
115 "rollup-plugin-babel": "^4.4.0",
116 "rollup-plugin-commonjs": "^10.1.0",
117 "rollup-plugin-jscc": "^2.0.0",
118 "rollup-plugin-node-resolve": "^5.2.0",
119 "rollup-plugin-peer-deps-external": "^2.2.2",
120 "rollup-plugin-prettier": "^2.1.0",
121 "rollup-plugin-size": "^0.2.2",
122 "rollup-plugin-terser": "^7.0.2",
123 "rollup-plugin-visualizer": "^5.5.2",
124 "typescript": "^4.3.5"
125 },
126 "dependencies": {
127 "@babel/runtime": "^7.14.6",
128 "@types/d3-array": "^3.0.1",
129 "@types/d3-scale": "^4.0.1",
130 "@types/d3-shape": "^3.0.1",
131 "@types/raf": "^3.4.0",
132 "@types/react": "^17.0.14",
133 "@types/react-dom": "^17.0.9",
134 "d3-array": "^2.12.1",
135 "d3-delaunay": "5.3.0",
136 "d3-scale": "^3.3.0",
137 "d3-shape": "^2.1.0",
138 "d3-time": "^2.1.1",
139 "d3-time-format": "^4.1.0",
140 "ts-toolbelt": "^9.6.0"
141 },
142 "resolutions": {
143 "d3-scale/d3-interpolate/d3-color": "^3.1.0"
144 }