-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 2.03 KB
/
Copy pathpackage.json
File metadata and controls
60 lines (60 loc) · 2.03 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "diagrammaton-figma-plugin",
"version": "0.19.0-beta.0",
"packageManager": "pnpm@10.21.0",
"engines": {
"node": ">=24"
},
"dependencies": {
"@create-figma-plugin/ui": "^4.0.3",
"@create-figma-plugin/utilities": "^4.0.3",
"dagre": "^0.8.5",
"framer-motion": "^12.23.12",
"preact": ">=10",
"react": "npm:@preact/compat@^18.3.1",
"react-dom": "npm:@preact/compat@^18.3.1"
},
"devDependencies": {
"@create-figma-plugin/build": "^4.0.3",
"@create-figma-plugin/tsconfig": "^4.0.3",
"@figma/plugin-typings": "^1.117.0",
"@types/dagre": "^0.7.52",
"@types/node": "^24.3.0",
"@types/react": "^19.1.11",
"@types/react-dom": "^19.1.7",
"archiver": "^7.0.1",
"typescript": "^5.9.2"
},
"scripts": {
"createZip": "node ./util/createZip ./build ./manifest.json ./",
"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": [
"figma",
"figjam"
],
"id": "1295127627739218424",
"name": "Diagrammaton",
"main": "src/main.ts",
"ui": "src/ui.tsx",
"documentAccess": "dynamic-page",
"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"
}
}
}