-
-
Notifications
You must be signed in to change notification settings - Fork 122
/
package.json
129 lines (129 loc) · 3.53 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": "reaflow",
"version": "5.3.1",
"description": "Node-based Visualizations for React",
"scripts": {
"build": "vite build --mode library",
"build:watch": "vite build --watch --mode library",
"build-storybook": "storybook build",
"prettier": "prettier --loglevel warn --write 'src/**/*.{ts,tsx,js,jsx}'",
"lint": "eslint --ext js,ts,tsx",
"lint:fix": "eslint --ext js,ts,tsx --fix src",
"start": "storybook dev -p 9009",
"test": "vitest --passWithNoTests",
"prepare": "husky install"
},
"type": "module",
"types": "dist/index.d.ts",
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
"source": "src/index.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.umd.cjs",
"types": "./dist/index.d.ts"
}
},
"browser": "dist/index.js",
"typings": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/reaviz/reaflow.git"
},
"files": [
"dist"
],
"keywords": [
"react",
"reactjs",
"workflow",
"node-editor",
"diagrams",
"elkjs"
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/reaviz/reaflow/issues"
},
"homepage": "https://github.com/reaviz/reaflow#readme",
"dependencies": {
"@juggle/resize-observer": "^3.4.0",
"calculate-size": "^1.1.1",
"classnames": "^2.3.2",
"d3-shape": "^3.0.1",
"elkjs": "^0.8.2",
"ellipsize": "^0.2.0",
"framer-motion": "^11.0.6",
"kld-affine": "^2.1.1",
"kld-intersections": "^0.7.0",
"p-cancelable": "^3.0.0",
"reablocks": "^8.0.3",
"react-cool-dimensions": "^2.0.7",
"react-fast-compare": "^3.2.2",
"react-use-gesture": "^8.0.1",
"reakeys": "^2.0.3",
"undoo": "^0.5.0"
},
"peerDependencies": {
"react": ">=16",
"react-dom": ">=16"
},
"devDependencies": {
"@storybook/addon-docs": "^7.6.17",
"@storybook/addon-essentials": "^7.6.17",
"@storybook/addon-mdx-gfm": "^7.6.17",
"@storybook/addon-storysource": "^7.6.17",
"@storybook/addons": "^7.6.17",
"@storybook/react": "^7.6.17",
"@storybook/react-vite": "^7.6.17",
"@storybook/theming": "^7.6.17",
"@testing-library/react": "^14.0.0",
"@types/classnames": "^2.3.1",
"@types/d3-shape": "^3.1.1",
"@types/react": "^18.2.60",
"@types/react-dom": "^18.2.19",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@vitejs/plugin-react": "^4.0.3",
"autoprefixer": "^10.4.14",
"chromatic": "6.20.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.8.0",
"husky": "^9.0.11",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.2",
"postcss-nested": "^6.0.1",
"postcss-preset-env": "^9.4.0",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup-plugin-peer-deps-external": "2.2.4",
"storybook": "^7.6.17",
"typescript": "^4.9.5",
"vite": "^4.4.7",
"vite-plugin-checker": "^0.6.1",
"vite-plugin-css-injected-by-js": "^3.2.1",
"vite-plugin-dts": "^3.3.1",
"vite-plugin-svgr": "^3.2.0",
"vite-tsconfig-paths": "^4.2.0",
"vitest": "^0.33.0"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --ext js,ts,tsx --fix"
],
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}