-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
61 lines (61 loc) · 1.84 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
{
"name": "2024-figma-plugin",
"version": "1.0.0",
"description": "自分のFigmaプラグイン",
"main": "code.js",
"type": "module",
"scripts": {
"dev": "npm-run-all --parallel dev:*",
"dev:ui": "vite build --mode=development --config=vite.config.ui.ts",
"dev:code": "vite build --mode=development --config=vite.config.code.ts",
"build": "npm-run-all clean --parallel build:*",
"build:ui": "vite build --mode=production --config=vite.config.ui.ts",
"build:code": "vite build --mode=production --config=vite.config.code.ts",
"clean": "npx rimraf dist",
"lint": "eslint --ext .ts,.tsx --ignore-pattern node_modules .",
"lint:fix": "eslint --ext .ts,.tsx --ignore-pattern node_modules --fix .",
"format:fix": "prettier --write .",
"watch": "npm run build -- --watch"
},
"author": "",
"license": "",
"devDependencies": {
"@figma/eslint-plugin-figma-plugins": "*",
"@figma/plugin-typings": "*",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.1.0",
"npm-run-all2": "^6.1.2",
"prettier": "^3.2.5",
"typescript": "^5.3.2",
"vite": "^5.1.6",
"vite-plugin-singlefile": "^2.0.1"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@figma/figma-plugins/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": [
"./src/ui/tsconfig.json",
"./src/code/tsconfig.json"
]
},
"root": true,
"rules": {
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
]
}
}
}