-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 3.38 KB
/
package.json
File metadata and controls
128 lines (128 loc) · 3.38 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
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
{
"name": "vdata-editor",
"productName": "VDataEditor",
"description": "Desktop editor for Source 2 KV3 data (.vsmart, .vdata, .vpcf, .kv3, …).",
"keywords": [],
"main": "./main.js",
"version": "0.1.0",
"author": "dertwist",
"scripts": {
"start": "electron .",
"test": "vitest",
"test:examples-full": "node -e \"process.env.VDATA_FULL_EXAMPLES='1';require('node:child_process').spawnSync('npx',['vitest','run','tests/examples-corpus.test.js'],{stdio:'inherit',env:process.env, shell:true})\"",
"build:win": "electron-builder --win --publish never",
"build:mac": "electron-builder --mac --universal --publish never",
"build:native:kv3addon": "node scripts/build-kv3-addon.js",
"build:cm": "esbuild src/cm-bundle.js --bundle --outfile=vendor/cm.js --format=iife --global-name=CM --platform=neutral",
"postinstall": "npm run build:cm"
},
"build": {
"appId": "com.dertwist.vdataeditor",
"productName": "VDataEditor",
"fileAssociations": [
{
"ext": "vdata",
"name": "VData",
"description": "Source 2 generic VData (KV3)",
"role": "Editor"
},
{
"ext": "vsmart",
"name": "SmartProp",
"description": "Source 2 SmartProp (KV3)",
"role": "Editor"
},
{
"ext": "vpcf",
"name": "Particle system",
"description": "Source 2 particle system (KV3)",
"role": "Editor"
},
{
"ext": "kv3",
"name": "KV3",
"description": "Source 2 KeyValues3 text",
"role": "Editor"
},
{
"ext": "vsurf",
"name": "Surface properties",
"description": "Source 2 surface / material properties (KV3)",
"role": "Editor"
},
{
"ext": "vsndstck",
"name": "Sound stack",
"description": "Source 2 sound stack (KV3)",
"role": "Editor"
},
{
"ext": "vsndevts",
"name": "Sound events",
"description": "Source 2 sound events (KV3)",
"role": "Editor"
},
{
"ext": "vpulse",
"name": "Pulse",
"description": "Source 2 Pulse / script graph (KV3)",
"role": "Editor"
},
{
"ext": "vmdl",
"name": "Model",
"description": "Source 2 model compile text / KV3 sidecar",
"role": "Editor"
},
{
"ext": "vmat",
"name": "Material",
"description": "Source 2 material (Valve KeyValues text)",
"role": "Editor"
}
],
"files": [
"**/*",
"!node_modules/**",
".git/**",
"!dist/**",
"!*.md"
],
"asarUnpack": [
"**/*.node"
],
"extraResources": [
{
"from": "extras",
"to": "extras"
}
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"icon": "assets/images/vdata_editor/appicon.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
},
"devDependencies": {
"@codemirror/commands": "^6.6.0",
"@codemirror/lang-json": "^6.0.1",
"@codemirror/language": "^6.10.0",
"@codemirror/search": "^6.5.0",
"@codemirror/state": "^6.4.0",
"@codemirror/view": "^6.34.0",
"electron": "^41.0.0",
"electron-builder": "^26.8.1",
"esbuild": "^0.25.0",
"vitest": "^4.1.0"
}
}