-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
96 lines (96 loc) · 2.81 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
{
"name": "michi-vz",
"version": "0.1.273",
"description": "a visualization library based on d3 and react",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "jest",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"lint": "eslint './src/**/*.{ts,tsx}'",
"lint:fix": "eslint './src/**/*.{ts,tsx}' --fix",
"prepublishOnly": "tsc"
},
"author": "Hoang VQ",
"license": "ISC",
"dependencies": {
"@storybook/test": "^8.0.1",
"d3": "^7.9.0",
"d3-scale": "^4.0.2",
"eslint-config-airbnb-typescript": "^17.1.0",
"lodash": "^4.17.21",
"react": "^18.3.1",
"react-d3-library": "^1.0.4",
"react-dom": "^18.3.1",
"snapsvg": "^0.5.1",
"styled-components": "^6.0.7"
},
"devDependencies": {
"@babel/core": "^7.22.15",
"@babel/preset-env": "^7.22.15",
"@babel/preset-react": "^7.22.15",
"@babel/preset-typescript": "^7.22.15",
"@storybook/addon-essentials": "^8.0.1",
"@storybook/addon-interactions": "^8.0.1",
"@storybook/addon-links": "^8.0.1",
"@storybook/addon-mdx-gfm": "^8.0.1",
"@storybook/addon-onboarding": "^8.0.1",
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
"@storybook/blocks": "^8.0.1",
"@storybook/cli": "^8.0.1",
"@storybook/react": "^8.0.1",
"@storybook/react-webpack5": "^8.0.1",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^13.4.0",
"@types/d3": "^7.4.0",
"@types/jest": "^29.5.14",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.10",
"@types/snapsvg": "^0.5.8",
"@types/testing-library__jest-dom": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"babel-jest": "^29.6.4",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-storybook": "^0.8.0",
"jest": "^29.5.4",
"jest-environment-jsdom": "^29.6.4",
"prettier": "^3.0.3",
"prop-types": "^15.8.1",
"storybook": "^8.0.1",
"ts-jest": "^29.1.1"
},
"moduleNameMapper": {
"^src/(.*)$": "<rootDir>/src/$1"
},
"jest": {
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.(ts|tsx)?$": "babel-jest"
},
"transformIgnorePatterns": [
"/node_modules/(?!d3|d3-array|internmap|delaunator|robust-predicates)"
],
"moduleNameMapper": {
"d3": "<rootDir>/node_modules/d3/dist/d3.min.js",
"^d3-(.*)$": "<rootDir>/node_modules/d3-$1/dist/d3-$1.min.js"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"testEnvironment": "jsdom"
}
}