-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
40 lines (40 loc) · 1.44 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
{
"name": "polar-figma",
"version": "1.0.0",
"description": "react",
"scripts": {
"test": "npm run tsc && npm run build",
"format": "prettier --write .",
"tsc": "npm run tsc:main && npm run tsc:ui",
"tsc:main": "tsc --noEmit -p src/main",
"tsc:ui": "tsc --noEmit -p src/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 src/main/main.ts --bundle --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'"
},
"author": "Polar",
"license": "MIT",
"dependencies": {
"@polar-sh/sdk": "^0.13.5",
"@vitejs/plugin-react": "^4.3.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwind-merge": "^2.5.4"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@figma/plugin-typings": "^1.100.2",
"@types/react": "^18.2.38",
"@types/react-dom": "^18.2.16",
"concurrently": "^8.2.2",
"esbuild": "^0.19.7",
"prettier": "^3.1.0",
"typescript": "^5.3.2",
"vite": "^5.0.0",
"vite-plugin-singlefile": "^0.13.5",
"vite-svg-loader": "^5.1.0"
}
}