-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
216 lines (216 loc) · 8.04 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
{
"name": "@waldiez/react",
"license": "Apache-2.0",
"version": "0.3.12",
"type": "module",
"main": "./dist/@waldiez.umd.cjs",
"module": "./dist/@waldiez.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/@waldiez.js",
"require": "./dist/@waldiez.js"
},
"./dist/*.css": "./dist/*.css",
"./dist/*.svg": "./dist/*.svg"
},
"homepage": "https://github.com/waldiez/react",
"repository": {
"type": "git",
"url": "https://github.com/waldiez/react.git"
},
"bugs": {
"url": "https://github.com/waldiez/react/issues"
},
"contributors": [
{
"name": "Panagiotis Kasnesis",
"email": "[email protected]"
},
{
"name": "Lazaros Toumanidis",
"email": "[email protected]"
},
{
"name": "Stella Ioannidou",
"email": "[email protected]"
}
],
"files": [
"dist"
],
"scripts": {
"prepare": "node .husky/install.mjs",
"dev": "bun monaco && vite",
"typecheck": "tsc --noEmit",
"monaco": "bun scripts/monaco.ts",
"build": "bun clean && bun build:lib && bun build:web && bun archive",
"build:lib": "tsc -b && vite build",
"build:web": "tsc -b && vite build --config vite.web.config.ts",
"build:site": "bun monaco && bun build:web && mv public/vs out/static/vs && mv public/min-maps out/static/min-maps",
"docs": "typedoc --out site --tsconfig tsconfig.json && bun after:docs",
"after:docs": "bun scripts/docs.ts",
"preview": "vite preview",
"format": "bun prettier && bun stylelint && bun eslint",
"lint": "bun typecheck && bun prettier:check && bun stylelint:check && bun eslint:check",
"forlint": "bun format && bun lint",
"eslint": "bun eslint:check --fix",
"eslint:check": "eslint --config ./eslint.config.mjs --report-unused-disable-directives --max-warnings 0 --no-warn-ignored --cache --cache-location ./.eslintcache",
"prettier": "prettier \"**/*{.ts,.tsx,..css,.json,.md}\" --write --list-different",
"prettier:check": "prettier \"src/**/*{.ts,.tsx,.css,.json,.md}\" --check",
"stylelint": "bun stylelint:check --fix --ignore-path .gitignore",
"stylelint:check": "stylelint --ignore-path .gitignore --cache **/*.css",
"mkdir": "bun scripts/mkdir.ts --path ./out/archive --parents",
"prepack": "bun mkdir",
"archive": "bun pm pack --destination ./out/archive",
"clean:lintcache": "rimraf .eslintcache .stylelintcache",
"clean:dist": "rimraf dist",
"clean:web": "rimraf out/static",
"clean:docs": "rimraf site",
"clean:archive": "rimraf out/archive",
"clean:coverage": "rimraf coverage",
"clean:tsbuild": "rimraf tsconfig.app.tsbuildinfo tsconfig.node.tsbuildinfo tsconfig.build.tsbuildinfo",
"clean": "bun clean:lintcache && bun clean:dist && bun clean:coverage && bun clean:tsbuild && bun clean:dist && bun clean:docs && bun clean:archive",
"schema": "node --import=tsx scripts/schema.ts && prettier schema.json --write",
"before:test": "bun monaco && bun scripts/mkdir.ts --path .local && rimraf .local/recordings",
"after:test": "bun scripts/video.ts",
"test:components": "bun monaco && vitest run",
"test:snapshots": "bun before:test && vitest run --browser.enabled --browser.headless --update e2e/** && bun after:test",
"test:ui": "bun monaco && vitest --ui",
"test:coverage": "bun monaco && vitest run --coverage",
"test:e2e": "bun before:test && vitest run --browser.enabled --browser.headless e2e/** && bun after:test",
"test:all": "bun test:e2e && bun test:coverage",
"test": "bun test:all",
"changelog": "bun scripts/changelog.ts",
"all": "bun clean && bun forlint && bun schema && bun test:coverage && bun run build && bun archive && bun docs"
},
"lint-staged": {
"*": [
"bun run format",
"bun run lint"
]
},
"dependencies": {
"@monaco-editor/react": "^4.6.0",
"@xyflow/react": "^12.4.2",
"microdiff": "^1.5.0",
"nanoid": "^5.0.9",
"rc-slider": "^11.1.8",
"react-error-boundary": "^5.0.0",
"react-fast-compare": "^3.2.2",
"react-hotkeys-hook": "^4.6.1",
"react-icons": "^5.4.0",
"react-select": "^5.10.0",
"zundo": "^2.3.0",
"zustand": "^5.0.3"
},
"peerDependencies": {
"react": "^18.3.1 || ^19.0.0",
"react-dom": "^18.3.1 || ^19.0.0"
},
"devDependencies": {
"@eslint/compat": "^1.2.6",
"@eslint/js": "9.19.0",
"@stylistic/eslint-plugin": "^3.0.1",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@testing-library/user-event": "^14.6.1",
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
"@types/bun": "^1.2.2",
"@types/eslint__js": "^8.42.3",
"@types/fs-extra": "^11.0.4",
"@types/gunzip-maybe": "^1.4.2",
"@types/jest": "^29.5.14",
"@types/jest-image-snapshot": "^6.4.0",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@types/tar-stream": "^3.1.3",
"@types/ws": "^8.5.14",
"@typescript-eslint/eslint-plugin": "^8.23.0",
"@typescript-eslint/parser": "^8.23.0",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/browser": "^3.0.5",
"@vitest/coverage-v8": "^3.0.5",
"@vitest/ui": "^3.0.5",
"ajv": "^8.17.1",
"canvas": "^3.1.0",
"cross-spawn": "^7.0.6",
"dotenv": "^16.4.7",
"eslint": "^9.19.0",
"eslint-config-prettier": "^10.0.1",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-headers": "^1.2.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-react-refresh": "^0.4.18",
"eslint-plugin-tsdoc": "^0.4.0",
"fs-extra": "^11.3.0",
"got": "^14.4.5",
"gunzip-maybe": "^1.4.2",
"hint": "^7.1.13",
"husky": "^9.1.7",
"jsdom": "^26.0.0",
"lint-staged": "^15.4.3",
"lookpath": "^1.2.3",
"playwright": "^1.50.1",
"prettier": "^3.4.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-select-event": "^5.5.1",
"rimraf": "^6.0.1",
"stylelint": "^16.14.1",
"stylelint-config-recommended": "^15.0.0",
"stylelint-config-standard": "^37.0.0",
"stylelint-prettier": "^5.0.3",
"tar-stream": "^3.1.7",
"terser": "^5.37.0",
"ts-json-schema-generator": "^2.3.0",
"tsx": "^4.19.2",
"typedoc": "^0.27.6",
"typescript": "^5.7.3",
"typescript-eslint": "^8.23.0",
"vite": "^6.0.11",
"vite-plugin-dts": "^4.5.0",
"vite-plugin-externalize-deps": "^0.9.0",
"vitest": "^3.0.5",
"vitest-browser-react": "^0.0.4",
"ws": "^8.18.0"
},
"prettier": {
"plugins": [
"@trivago/prettier-plugin-sort-imports"
],
"tabWidth": 4,
"printWidth": 110,
"arrowParens": "avoid",
"bracketSpacing": true,
"singleQuote": false,
"trailingComma": "all",
"endOfLine": "lf",
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"importOrder": [
"^@fortawesome/",
"^@xyflow/",
"^react",
"^react-dom",
"^react-select",
"^zustand",
"^nanoid",
"^rc-slider",
"^@monaco-editor/react",
"^@waldiez/"
]
},
"packageManager": "[email protected]",
"publishConfig": {
"access": "public"
},
"resolutions": {
"canvas": "^3.0.1",
"cross-spawn": "^7.0.6",
"ws": "^8.18.0",
"got": "^14.4.5"
}
}