-
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.54 KB
/
Copy pathpackage.json
File metadata and controls
44 lines (44 loc) · 1.54 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-variable-macros",
"version": "1.0.0",
"description": "Figma plugin to enable variable macros",
"author": {
"name": "malangcat",
"email": "asher@daangn.com"
},
"license": "MIT",
"scripts": {
"test": "yarn tsc && yarn build",
"format": "prettier --write .",
"tsc": "yarn tsc:main && yarn tsc:ui",
"tsc:main": "tsc --noEmit -p plugin-src",
"tsc:ui": "tsc --noEmit -p ui-src",
"tsc:watch": "concurrently -n widget,iframe \"yarn tsc:main --watch --preserveWatchOutput\" \"yarn tsc:ui --watch --preserveWatchOutput\"",
"build": "yarn build:ui && yarn build:main --minify",
"build:main": "esbuild plugin-src/code.ts --bundle --outfile=dist/code.js",
"build:ui": "yarn vite build --minify esbuild --emptyOutDir=false",
"build:watch": "concurrently -n widget,iframe \"yarn build:main --watch\" \"yarn build:ui --watch\"",
"dev": "concurrently -n tsc,build,vite 'npm:tsc:watch' 'npm:build:watch' 'vite'"
},
"dependencies": {
"color2k": "^2.0.2",
"math-expression-evaluator": "^2.0.3",
"react": "^17.0.0",
"react-dom": "^17.0.0"
},
"devDependencies": {
"@figma/plugin-typings": "*",
"@types/chroma-js": "^2.4.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@vitejs/plugin-react-refresh": "^1.3.1",
"concurrently": "^6.3.0",
"esbuild": "^0.18.11",
"prettier": "^2.3.2",
"typescript": "^4.4.2",
"vite": "^2.5.2",
"vite-plugin-singlefile": "^0.5.1",
"vite-svg-loader": "^3.3.0"
},
"packageManager": "yarn@3.6.1"
}