-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathpackage.json
83 lines (83 loc) · 2.02 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "figma-organize-layers",
"version": "1.2.0",
"description": "A Figma plugin to organize layers on the page",
"keywords": [
"create-figma-plugin",
"figma",
"figma-plugin",
"figma-plugins"
],
"license": "MIT",
"author": "Yuan Qing Lim",
"repository": {
"type": "git",
"url": "git://github.com/yuanqing/figma-plugins.git",
"directory": "packages/figma-organize-layers"
},
"type": "module",
"engines": {
"node": ">=18"
},
"files": [
"src"
],
"scripts": {
"prebuild": "npm run clean",
"build": "build-figma-plugin --typecheck --minify",
"clean": "rimraf '*.log' build",
"fix": "concurrently npm:fix:css npm:fix:js npm:fix:json",
"fix:css": "stylelint --fix 'src/**/*.css'",
"fix:js": "eslint --fix '{src,test}/**/*.{ts,tsx}'",
"fix:json": "prettier --loglevel error --write '*.json'",
"lint": "concurrently npm:lint:css npm:lint:js",
"lint:css": "stylelint 'src/**/*.css'",
"lint:js": "eslint '{src,test}/**/*.{ts,tsx}'",
"pretest": "npm run build",
"test": "ava 'test/**/*.ts'",
"prewatch": "npm run clean",
"watch": "build-figma-plugin --typecheck --watch"
},
"dependencies": {
"@create-figma-plugin/ui": "2.5.0",
"@create-figma-plugin/utilities": "2.5.0",
"preact": "^10.15.1"
},
"ava": {
"extensions": {
"ts": "module"
},
"failFast": true,
"nodeArguments": [
"--loader",
"tsx"
],
"timeout": "2m"
},
"figma-plugin": {
"name": "Organize Layers",
"id": "786286754606650597",
"editorType": [
"figma"
],
"menu": [
{
"name": "Organize Layers",
"main": "src/organize-nodes/main.ts",
"ui": "src/organize-nodes/ui.ts"
},
"-",
{
"name": "Reset Plugin",
"main": "src/reset-plugin/main.ts"
}
],
"relaunchButtons": {
"organizeLayers": {
"name": "Organize Layers",
"main": "src/organize-nodes/main.ts",
"ui": "src/organize-nodes/ui.ts"
}
}
}
}