Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.71 KB
/
Copy pathpackage.json
File metadata and controls
48 lines (48 loc) · 1.71 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
{
"name": "swift-loop",
"version": "0.0.4",
"description": "Turn one shape into a hundred. A faithful rebuild of the classic Looper plugin for modern Figma.",
"license": "ISC",
"type": "module",
"scripts": {
"prebuild": "node scripts/generate-version.mjs",
"build": "build-figma-plugin --typecheck",
"watch": "build-figma-plugin --typecheck --watch",
"pretest": "node scripts/generate-version.mjs",
"test": "vitest run",
"test:watch": "vitest",
"lint": "biome check src tests",
"lint:fix": "biome check --write src tests",
"build:preview": "bun build src/preview/host.ts --outfile=build/preview.js --target=browser",
"watch:preview": "bun build src/preview/host.ts --outfile=build/preview.js --target=browser --watch",
"build:all": "bun run build && bun run build:preview",
"dev": "bun run build && bun run build:preview && bunx --bun serve -l 4173 .",
"dev:watch": "build-figma-plugin --watch & bun run watch:preview & bunx --bun serve -l 4173 .",
"package": "bash scripts/package.sh"
},
"dependencies": {
"@create-figma-plugin/ui": "^4.0.1",
"@create-figma-plugin/utilities": "^4.0.1",
"preact": "^10.22.0"
},
"devDependencies": {
"@biomejs/biome": "^1.9.0",
"@create-figma-plugin/build": "^4.0.1",
"@create-figma-plugin/tsconfig": "^4.0.1",
"@figma/plugin-typings": "^1.103.0",
"@types/node": "^22.0.0",
"typescript": "^5.6.0",
"vitest": "^4.1.8"
},
"figma-plugin": {
"id": "1689221124157965155",
"editorType": ["figma", "figjam"],
"documentAccess": "dynamic-page",
"networkAccess": {
"allowedDomains": ["none"]
},
"name": "Swift Loop",
"main": "src/main.ts",
"ui": "src/ui.tsx"
}
}