-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
75 lines (75 loc) · 2.19 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
{
"name": "prisma-generate-uml",
"displayName": "Prisma Generate UML",
"description": "Generate UML Diagram from prisma schema",
"version": "3.1.0",
"icon": "media/readme/logo.png",
"repository": "https://github.com/AbianS/prisma-generate-uml",
"publisher": "AbianS",
"engines": {
"vscode": "^1.83.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"browser": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "prisma-generate-uml.generateUML",
"title": "Generate Prisma UML",
"icon": {
"light": "./media/logo_light.svg",
"dark": "./media/logo_dark.svg"
}
},
{
"command": "hello-world.showHelloWorld",
"title": "Hello World (React + Vite): Show"
}
],
"menus": {
"editor/title": [
{
"when": "editorLangId == prisma",
"command": "prisma-generate-uml.generateUML",
"group": "navigation"
}
]
}
},
"scripts": {
"install:all": "npm install && cd webview-ui && npm install",
"start:webview": "cd webview-ui && npm run dev",
"build:webview": "cd webview-ui && npm run build",
"vscode:prepublish": "npm run esbuild -- --minify && npm run copy",
"copy": "shx cp node_modules/@prisma/prisma-schema-wasm/src/prisma_schema_build_bg.wasm dist/",
"esbuild": "esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.7",
"@types/node": "22.x",
"@types/vscode": "^1.83.0",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"esbuild": "^0.23.1",
"eslint": "^8.57.0",
"shx": "^0.3.4",
"typescript": "^5.5.4"
},
"dependencies": {
"@microsoft/vscode-file-downloader-api": "^1.0.1",
"@prisma/internals": "^5.19.1"
}
}