-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
52 lines (52 loc) · 1.5 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
51
52
{
"name": "aspectmatic",
"version": "3.0.0",
"description": "The Figma plugin that helps developers with aspect ratio calculations.",
"author": "Emmanuel C. Jemeni",
"license": "GPL-3.0-only",
"dependencies": {
"@create-figma-plugin/ui": "^3.1.0",
"@create-figma-plugin/utilities": "^3.1.0",
"preact": "^10.20.1"
},
"devDependencies": {
"@create-figma-plugin/build": "^3.1.0",
"@create-figma-plugin/tsconfig": "^3.1.0",
"@figma/plugin-typings": "1.82.0",
"concurrently": ">=8",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.6",
"tailwindcss": ">=3",
"typescript": ">=4"
},
"scripts": {
"build": "npm run build:css && npm run build:js",
"build:css": "tailwindcss --input ./src/input.css --output ./src/output.css",
"build:js": "build-figma-plugin --typecheck --minify",
"watch": "npm run build:css && concurrently npm:watch:css npm:watch:js",
"watch:css": "tailwindcss --input ./src/input.css --output ./src/output.css --watch",
"watch:js": "build-figma-plugin --typecheck --watch",
"prettier": "prettier --write src/"
},
"figma-plugin": {
"name": "AspectMatic",
"id": "1297912439687792545",
"api": "1.0.0",
"capabilities": [
"inspect"
],
"enableProposedApi": false,
"editorType": [
"figma",
"dev"
],
"networkAccess": {
"allowedDomains": [
"none"
]
},
"documentAccess": "dynamic-page",
"main": "src/main.ts",
"ui": "src/ui.tsx"
}
}