-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 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
{
"name": "@gravity-ui/graph",
"version": "0.1.2",
"description": "Modern graph editor component",
"main": "build/index.js",
"keywords": [],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/gravity-ui/graph"
},
"files": [
"build",
"tsconfig.json"
],
"engines": {
"yarn": "Please use npm instead of yarn to install dependencies",
"pnpm": "Please use npm instead of pnpm to install dependencies"
},
"scripts": {
"typecheck": "npm run build:publish -- --noEmit",
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests --updateSnapshot",
"storybook": "storybook dev -p 6006",
"storybook:build": "storybook -c .storybook -o storybook-static -s .storybook/public",
"build-storybook": "storybook build",
"ci:storybook:build": "npm run build-storybook",
"copy-styles": "copyfiles -u 1 src/**/*.css build/",
"build:publish": "tsc -p tsconfig.publish.json && npm run copy-styles",
"build": "tsc --declaration && npm run copy-styles",
"size": "npm run build:publish && size-limit",
"prepublishOnly": "npm run typecheck && npm run test && npm run build:publish"
},
"size-limit": [
{
"path": "build/**/*.js",
"import": "{ Graph, GraphComponent }",
"gzip": true
}
],
"dependencies": {
"@preact/signals-core": "^1.5.1",
"intersects": "^2.7.2",
"lodash-es": "^4.17.21",
"rbush": "^3.0.1"
},
"peerDependencies": {
"react": "^16.0.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.22.7",
"@babel/plugin-transform-typescript": "^7.22.9",
"@babel/preset-env": "^7.22.9",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@chromatic-com/storybook": "^1.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@gravity-ui/eslint-config": "^3.2.0",
"@gravity-ui/icons": "^2.11.0",
"@gravity-ui/prettier-config": "^1.1.0",
"@gravity-ui/tsconfig": "^1.0.0",
"@gravity-ui/uikit": "^5.26.0",
"@monaco-editor/react": "^4.6.0",
"@size-limit/preset-big-lib": "^10.0.1",
"@storybook/addon-essentials": "^8.1.11",
"@storybook/addon-interactions": "^8.1.11",
"@storybook/addon-links": "^8.1.11",
"@storybook/addon-styling-webpack": "^1.0.0",
"@storybook/addon-webpack5-compiler-swc": "^1.0.3",
"@storybook/blocks": "^8.1.11",
"@storybook/react": "^8.1.11",
"@storybook/react-webpack5": "^8.1.11",
"@storybook/test": "^8.1.11",
"@swc/jest": "^0.2.36",
"@types/intersects": "^2.5.0",
"@types/jest": "^29.5.3",
"@types/lodash": "^4.17.13",
"@types/rbush": "^3.0.0",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@typescript-eslint/eslint-plugin": "5.39.0",
"@typescript-eslint/parser": "5.39.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"elkjs": "^0.9.3",
"eslint": "^8.0.0",
"eslint-config-prettier": "^8.10.0",
"eslint-import-resolver-typescript": "2.5.0",
"eslint-plugin-file-progress": "^1.3.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-storybook": "^0.8.0",
"eslint-stats": "^1.0.1",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"monaco-editor": "^0.52.0",
"prettier": "^3.0.0",
"process": "^0.11.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.77.1",
"size-limit": "^10.0.1",
"storybook": "^8.1.11",
"ts-node": "^10.9.2",
"typescript": "^5.5.4",
"web-worker": "^1.3.0"
}
}