-
Notifications
You must be signed in to change notification settings - Fork 59
/
package.json
125 lines (125 loc) · 3.69 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
{
"name": "react-d3-speedometer",
"version": "3.0.0-rc.0",
"description": "React library for showing speedometer like gauge using d3.",
"author": {
"name": "palerdot",
"email": "[email protected]"
},
"files": [
"dist"
],
"types": "./dist/index.d.ts",
"main": "./dist/react-d3-speedometer.es.js",
"module": "./dist/react-d3-speedometer.es.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/react-d3-speedometer.es.js",
"require": "./dist/react-d3-speedometer.umd.js"
},
"./slim": {
"import": "./dist/slim/index.js"
}
},
"repository": {
"type": "git",
"url": "https://github.com/palerdot/react-d3-speedometer.git"
},
"bugs": {
"url": "https://github.com/palerdot/react-d3-speedometer/issues"
},
"homepage": "https://github.com/palerdot/react-d3-speedometer",
"keywords": [
"react",
"d3",
"speedometer",
"gauge",
"component",
"odometer"
],
"license": "MIT",
"scripts": {
"lint": "prettier -l **/src/**/*.js",
"lintfix": "prettier --write **/src/**/*.js",
"test": "vitest",
"full-test": "vitest --coverage && npm run cy:run",
"coverage": "vitest run --coverage",
"storybook": "start-storybook --port 6006",
"publish-storybook": "bash .scripts/publish_storybook.sh",
"cy:open": "cypress open-ct",
"cy:run": "cypress run-ct",
"dev": "vite",
"build": "npm run build:main && npm run build:slim && npm run copy:types",
"build:main": "NODE_ENV=production vite build",
"build:slim": "NODE_ENV=production vite build -c slim.config.js",
"copy:types": "cp ./src/index.d.ts ./dist/",
"preview": "vite preview",
"build-storybook": "build-storybook",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@cypress/react": "^7.0.2",
"@cypress/vite-dev-server": "^5.0.3",
"@rollup/plugin-node-resolve": "^13.1.3",
"@storybook/addon-actions": "^6.5.12",
"@storybook/addon-docs": "^6.5.12",
"@storybook/addon-essentials": "^6.5.12",
"@storybook/addon-info": "^6.0.0-alpha.2",
"@storybook/addon-interactions": "^6.5.12",
"@storybook/addon-knobs": "^6.4.0",
"@storybook/addon-links": "^6.5.12",
"@storybook/addon-storysource": "^6.5.12",
"@storybook/builder-vite": "^0.2.3",
"@storybook/react": "^6.5.12",
"@storybook/testing-library": "^0.0.13",
"@storybook/theming": "^6.5.12",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.0.0",
"@vitejs/plugin-react": "^3.1.0",
"@vitest/coverage-c8": "^0.28.5",
"cypress": "^12.6.0",
"cypress-jest-adapter": "^0.1.1",
"eslint": "^5.15.2",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"git-url-parse": "^11.1.2",
"happy-dom": "^8.7.1",
"jest": "^26.5.0",
"prettier": "^2.1.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.8.4",
"vite": "^4.1.4",
"vitest": "^0.28.5"
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"dependencies": {
"d3-array": "^3.1.4",
"d3-color": "^3.1.0",
"d3-ease": "^3.0.1",
"d3-format": "^3.1.0",
"d3-interpolate": "^3.0.1",
"d3-scale": "^4.0.2",
"d3-selection": "^3.0.0",
"d3-shape": "^3.1.0",
"d3-transition": "^3.0.1",
"lodash-es": "^4.17.21",
"memoize-one": "^6.0.0",
"prop-types": "^15.8.1"
},
"engines": {
"node": ">=14.0",
"npm": ">=6.0.0"
},
"sideEffects": false
}