-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
46 lines (46 loc) · 1.33 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
{
"name": "shortcuts",
"version": "0.2.2",
"description": "Create user-frendly shortcut annotations for your design",
"scripts": {
"build": "esbuild widget-src/code.tsx --bundle --outfile=dist/code.js --target=es6",
"lint": "eslint --ext .ts,.tsx --ignore-pattern node_modules .",
"lint:fix": "eslint --ext .ts,.tsx --ignore-pattern node_modules --fix .",
"tsc": "tsc --noEmit -p widget-src",
"watch": "npm run build -- --watch"
},
"author": "Roman Nebel",
"license": "MIT",
"devDependencies": {
"@figma/eslint-plugin-figma-plugins": "*",
"@figma/plugin-typings": "*",
"@figma/widget-typings": "*",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"esbuild": "*",
"eslint": "^8.54.0",
"typescript": "^5.3.2"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@figma/figma-plugins/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./widget-src/tsconfig.json"
},
"root": true,
"rules": {
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
]
}
}
}