-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.57 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 2.57 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
85
86
87
88
89
90
91
92
93
94
{
"name": "manifold-vscode-extension",
"displayName": "ManifoldCAD Viewer",
"description": "Run and visualize ManifoldCAD scripts inside VS Code.",
"publisher": "Cookiecad",
"repository": {
"type": "git",
"url": "https://github.com/cookiecad/manifold-vscode-extension"
},
"type": "commonjs",
"icon": "mengerSponge192.png",
"version": "0.0.3",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Other",
"Visualization"
],
"keywords": [
"3d",
"manifold",
"cad",
"geometry",
"visualization",
"typescript",
"webview",
"modeling",
"editor"
],
"activationEvents": [
"onStartupFinished",
"onCommand:manifold.openViewer",
"onLanguage:typescript"
],
"main": "./out/extension.js",
"browser": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "manifold.openViewer",
"title": "Manifold: Open 3D Viewer"
}
],
"languages": [
{
"id": "typescript",
"aliases": [
"TypeScript",
"ts"
],
"extensions": [
".mfc",
".manifoldcad"
]
}
],
"configuration": {
"properties": {
"manifold-vscode-extension.fileExtensions": {
"type": "string",
"default": ".mfc, .manifoldcad",
"description": "When an open file with one of these extensions is saved, the preview window will be updated."
},
"manifold-vscode-extension.typeInjectionFileExtensions": {
"type": "string",
"default": "",
"description": "File extensions (comma-separated, with dot) that should receive automatic type injection (triple-slash reference). If empty, defaults to fileExtensions."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"bundle:extension": "esbuild src/extension.ts --bundle --platform=node --format=cjs --outfile=out/extension.js --external:vscode",
"compile": "pnpm run bundle:extension",
"watch": "tsc -watch -p ./",
"build": "pnpm install && pnpm run build:webview && pnpm run compile",
"package": "pnpm run build && npx vsce package",
"build:webview": "cd src/webview && pnpm install && pnpm run build && node ../../scripts/generate-assets-manifest.js",
"clean": "rm -rf out/* && rm -rf media/*"
},
"devDependencies": {
"@types/vscode": "^1.75.0",
"@vscode/vsce": "^3.6.2",
"esbuild": "^0.25.10",
"typescript": "^5.9.2",
"vite": "^7.1.5"
},
"dependencies": {
"esbuild-wasm": "^0.25.9",
"gl-matrix": "^3.4.4"
}
}