-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.69 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 2.69 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
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
84
{
"name": "@tolgee/figma-plugin",
"version": "0.0.1",
"description": "Tolgee Figma Plugin",
"main": "code.js",
"scripts": {
"build": "build-figma-plugin --typecheck --minify",
"watch": "build-figma-plugin --typecheck --watch",
"schema": "openapi-typescript 'https://app.tolgee.io/v3/api-docs/Accessible with Project API key (All)' --output ./src/ui/client/apiSchema.generated.ts",
"eslint": "eslint --fix --ext .ts,.tsx,.js,.jsx src",
"watch:web": "npm run --prefix web watch",
"dev:web": "ts-node ./scripts/runAfterApp.ts \"npm run watch:web\"",
"dev:figma": "ts-node ./scripts/runAfterApp.ts \"npm run watch\"",
"server": "cd cypress && docker compose up --force-recreate",
"cy:run": "ts-node ./scripts/runAfterApp.ts \"npm run watch:web\" \"npx cypress run\"",
"cy:open": "ts-node ./scripts/runAfterApp.ts \"npm run watch:web\" \"npx cypress open\"",
"tsc": "tsc --noEmit",
"prettier": "prettier . --write"
},
"author": "Tolgee",
"license": "MIT",
"devDependencies": {
"@create-figma-plugin/build": "^3.2.0",
"@create-figma-plugin/tsconfig": "^3.2.0",
"@figma/plugin-typings": "^1.89.0",
"@types/jest": "^29.4.0",
"@typescript-eslint/eslint-plugin": "^8.56.1",
"@typescript-eslint/parser": "^8.56.1",
"colors": "^1.4.0",
"concurrently": "^7.6.0",
"cypress": "^14.3.3",
"cypress-iframe": "^1.0.1",
"esbuild": "^0.27.3",
"eslint": "^9.7",
"eslint-config-preact": "^2.0.0",
"eslint-plugin-jest": "^29.15.0",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-react": "^7.37.5",
"jest": "^29.3.1",
"nodemon": "^3.1.11",
"openapi-typescript": "^7.12.0",
"prettier": "^3.8.1",
"serve": "^14.2.0",
"terminate": "^2.6.1",
"ts-node": "^10.9.1",
"typescript": "^5.4.5"
},
"dependencies": {
"@codemirror/autocomplete": "^6.18.6",
"@create-figma-plugin/ui": "3.2.0",
"@create-figma-plugin/utilities": "3.2.0",
"@floating-ui/dom": "^1.6.13",
"@tginternal/editor": "^1.15.2",
"clsx": "^1.2.1",
"codemirror": "^6.0.1",
"dompurify": "^3.2.5",
"intl-messageformat": "^10.7.15",
"preact": "^10.11.3",
"react-query": "^3.39.3",
"scheduler": "^0.23.2",
"use-context-selector": "^1.4.1",
"use-debounce": "^9.0.3"
},
"figma-plugin": {
"id": "1212381421658754793",
"name": "Tolgee",
"main": "src/main/main.ts",
"ui": "src/ui/ui.tsx",
"editorType": [
"figma",
"dev"
],
"capabilities": [
"inspect",
"vscode"
],
"networkAccess": {
"allowedDomains": [
"*"
],
"reasoning": "For self-hosted instances, Tolgee needs to be able to fetch data from any URL."
}
}
}