-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.75 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
45
46
47
48
49
50
{
"dependencies": {
"@create-figma-plugin/ui": "^2.4.0",
"@create-figma-plugin/utilities": "^2.4.0",
"dagre": "^0.8.5",
"framer-motion": "^10.16.4",
"preact": ">=10"
},
"devDependencies": {
"@create-figma-plugin/build": "^2.4.0",
"@create-figma-plugin/tsconfig": "^2.4.0",
"@figma/plugin-typings": "1.57.1",
"@types/dagre": "^0.7.48",
"@types/node": "^20.7.0",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"archiver": "^6.0.1",
"typescript": ">=4"
},
"scripts": {
"createZip": "node ./util/createZip ./build ./manifest.json ./ beta-0.8",
"toggleDebugOff": "node ./util/toggleDebug false",
"toggleDebugOn": "node ./util/toggleDebug true",
"build": "npm run toggleDebugOff; NODE_ENV=production build-figma-plugin --typecheck --minify; npm run createZip",
"watch": "npm run toggleDebugOn; NODE_ENV=development build-figma-plugin --typecheck --watch",
"watch-staging": "npm run toggleDebugOff; NODE_ENV=staging build-figma-plugin --typecheck --watch",
"watch-prod": "npm run toggleDebugOff; NODE_ENV=production build-figma-plugin --typecheck --minify --watch",
"printEnv": "echo $NODE_ENV"
},
"figma-plugin": {
"editorType": [
"figjam"
],
"id": "1295127627739218424",
"name": "Diagrammaton",
"main": "src/main.ts",
"ui": "src/ui.tsx",
"networkAccess": {
"allowedDomains": [
"https://www.diagrammaton.com",
"https://figma-plugins-pete.vercel.app",
"https://figma-plugins-git-staging-team-pete.vercel.app",
"https://fonts.googleapis.com",
"https://fonts.gstatic.com",
"http://localhost:3000"
],
"reasoning": "Endpoints for generating diagram syntax and downloading assets"
}
}
}