-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
44 lines (44 loc) · 1.61 KB
/
package.json
File metadata and controls
44 lines (44 loc) · 1.61 KB
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
{
"name": "figma-to-code-plugin",
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"tsc": "npm run tsc:main && npm run tsc:ui",
"tsc:main": "tsc --noEmit -p plugin",
"tsc:ui": "tsc --noEmit -p ui",
"tsc:watch": "concurrently -n widget,iframe \"npm run tsc:main -- --watch --preserveWatchOutput\" \"npm run tsc:ui -- --watch --preserveWatchOutput\"",
"build": "npm run build:ui && npm run build:main -- --minify",
"build:main": "esbuild plugin/code.ts --bundle --target=es6 --sourcemap=inline --outfile=dist/code.js",
"build:ui": "npx vite build --minify esbuild --emptyOutDir=false",
"build:watch": "concurrently -n widget,iframe \"npm run build:main -- --watch\" \"npm run build:ui -- --watch\"",
"dev": "concurrently -n tsc,build,vite 'npm:tsc:watch' 'npm:build:watch' 'vite'",
"generate:config": "node scripts/generate-tailwind-config.js"
},
"dependencies": {
"lodash": "^4.17.21",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"tailwindcss": "^4.1.6",
"zustand": "^5.0.4"
},
"devDependencies": {
"@eslint/js": "^9.25.0",
"@figma/plugin-typings": "^1.111.0",
"@tailwindcss/vite": "^4.1.6",
"@types/lodash": "^4.17.16",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"@vitejs/plugin-react": "^4.4.1",
"concurrently": "^9.1.2",
"culori": "^4.0.2",
"esbuild": "^0.25.4",
"eslint": "^9.25.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.19",
"globals": "^16.0.0",
"typescript": "^5.9.3",
"vite": "^6.3.5",
"vite-plugin-singlefile": "^2.2.0"
}
}