forked from figma/plugin-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
23 lines (23 loc) · 776 Bytes
/
package.json
File metadata and controls
23 lines (23 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"name": "codegen-sample",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "npm run build:ui && npm run build:main -- --minify",
"build:main": "esbuild plugin-src/code.js --bundle --outfile=dist/code.js",
"build:ui": "npx vite build --minify esbuild --emptyOutDir=false --target=ES6",
"build:watch": "concurrently -n widget,iframe \"npm run build:main -- --watch\" \"npm run build:ui -- --watch\"",
"dev": "concurrently -n build,vite 'npm:build:watch' 'vite'"
},
"author": "",
"license": "ISC",
"dependencies": {
"@figma/plugin-typings": "^1.62.0",
"concurrently": "^8.0.1",
"esbuild": "^0.17.14",
"prettier": "^2.8.7",
"vite": "^4.5.9",
"vite-plugin-singlefile": "^0.13.3"
}
}