-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
167 lines (167 loc) · 5.08 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
"name": "vscode-3dviewer",
"displayName": "3D Viewer for VSCode",
"description": "Preview 3D models in VSCode",
"version": "0.2.2",
"publisher": "slevesque",
"license": "LICENSE.md",
"icon": "icon.png",
"bugs": {
"url": "https://github.com/stef-levesque/vscode-3dviewer/issues"
},
"homepage": "https://github.com/stef-levesque/vscode-3dviewer",
"repository": {
"type": "git",
"url": "https://github.com/stef-levesque/vscode-3dviewer.git"
},
"galleryBanner": {
"color": "#0075c3",
"theme": "dark"
},
"engines": {
"vscode": "^1.49.0"
},
"keywords": [
"vscode",
"3d",
"mesh",
"viewer",
"webgl",
"3ds",
"dae",
"Collada",
"fbx",
"obj",
"stl"
],
"categories": [
"Other"
],
"activationEvents": [
"onCustomEditor:3dviewer.viewer",
"onCustomEditor:3dviewer.editor"
],
"main": "./out/extension",
"contributes": {
"customEditors": [
{
"viewType": "3dviewer.viewer",
"displayName": "3D Mesh Viewer",
"selector": [
{
"filenamePattern": "*.3ds"
},
{
"filenamePattern": "*.dae"
},
{
"filenamePattern": "*.fbx"
},
{
"filenamePattern": "*.obj"
},
{
"filenamePattern": "*.stl"
},
{
"filenamePattern": "*.ply"
}
]
},
{
"viewType": "3dviewer.editor",
"displayName": "3D Mesh Editor",
"selector": [
{
"filenamePattern": "*.3ds"
},
{
"filenamePattern": "*.dae"
},
{
"filenamePattern": "*.fbx"
},
{
"filenamePattern": "*.obj"
},
{
"filenamePattern": "*.stl"
},
{
"filenamePattern": "*.ply"
}
]
}
],
"configuration": {
"title": "3dviewer",
"properties": {
"3dviewer.wireframe": {
"type": "boolean",
"description": "Display mesh in wireframe mode",
"default": false
},
"3dviewer.background": {
"type": "string",
"description": "Default color for the background",
"default": "#8f8f8f"
},
"3dviewer.boundingBox": {
"type": "boolean",
"description": "Display a bounding box around the model",
"default": false
},
"3dviewer.grid": {
"type": "boolean",
"description": "Display a grid at the origin",
"default": true
},
"3dviewer.gridSize": {
"type": "number",
"description": "Size of the grid",
"default": 32
},
"3dviewer.near": {
"type": "number",
"description": "Distance for the near plane",
"default": 0.01
},
"3dviewer.far": {
"type": "number",
"description": "Distance for the far plane",
"default": 1000000
},
"3dviewer.limitFps": {
"type": "number",
"description": "Max fps (use 0 for no limit)",
"default": 0
},
"3dviewer.hotReload": {
"type": "boolean",
"description": "Enable hot reload mode for viewer",
"default": true
},
"3dviewer.hotReloadAutomatically": {
"type": "boolean",
"description": "Enable this to reload models without the question popup",
"default": false
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "tslint -p ./",
"watch": "tsc -w -p ./"
},
"devDependencies": {
"@types/dat-gui": "^0.6.3",
"@types/mocha": "^2.2.42",
"@types/node": "^12.12.0",
"@types/three": "^0.84.30",
"@types/vscode": "^1.45.1",
"@types/webgl-ext": "0.0.31",
"typescript": "^3.8.3"
}
}