-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
44 lines (44 loc) · 1.68 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
{
"name": "figma-to-streamlit",
"version": "0.1.0",
"description": "A plugin to generate st. commands with their corresponding parameters, based on the components from our existing Figma library",
"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/plugin",
"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/plugin/code.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 'npm:tsc:watch' 'npm:build:watch'"
},
"author": "",
"license": "",
"devDependencies": {
"@figma/plugin-typings": "^1.50.0",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@vitejs/plugin-react-refresh": "^1.3.6",
"tailwindcss": "^3.1.8",
"typescript": "*",
"vite": "^3.0.9",
"vite-plugin-singlefile": "^0.11.1",
"vite-svg-loader": "^3.4.0"
},
"dependencies": {
"@tailwindcss/line-clamp": "^0.4.2",
"autoprefixer": "^10.4.9",
"concurrently": "^7.3.0",
"copy-to-clipboard": "^3.3.2",
"esbuild": "^0.15.5",
"postcss": "^8.4.16",
"prettier": "^2.7.1",
"prism-react-renderer": "^1.3.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rgb-hex": "^4.0.0"
}
}