-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
145 lines (145 loc) · 4.41 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
{
"name": "snaky",
"displayName": "snaky",
"description": "DSL for Arcaea beatmaps",
"version": "0.0.1",
"publisher": "hozuki",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "https://github.com/hozuki/snaky.git"
},
"engines": {
"vscode": "^1.10.0"
},
"categories": [
"Languages",
"Other"
],
"activationEvents": [
"onLanguage:arcaea-aff",
"onLanguage:snaky"
],
"main": "./out/src/extension",
"contributes": {
"languages": [
{
"id": "arcaea-aff",
"aliases": [
"Arcaea AFF Beatmap",
"aff"
],
"extensions": [
".aff"
],
"configuration": "./languages/aff-language-configuration.json"
},
{
"id": "snaky",
"aliases": [
"Snaky",
"snaky"
],
"extensions": [
".snaky"
],
"configuration": "./languages/snaky-language-configuration.json"
}
],
"grammars": [
{
"language": "arcaea-aff",
"scopeName": "source.beatmap.arcaea.aff",
"path": "./syntaxes/aff.tmLanguage.json"
},
{
"language": "snaky",
"scopeName": "source.beatmap.arcaea.snaky",
"path": "./syntaxes/snaky.tmLanguage.json"
}
],
"commands": [
{
"command": "snaky.command.launchSimulator",
"title": "%snaky.command.launchSimulator%"
},
{
"command": "snaky.command.editReload",
"title": "%snaky.command.editReload%"
},
{
"command": "snaky.command.previewPlay",
"title": "%snaky.command.previewPlay%"
},
{
"command": "snaky.command.previewPause",
"title": "%snaky.command.previewPause%"
},
{
"command": "snaky.command.previewStop",
"title": "%snaky.command.previewStop%"
}
],
"configuration": {
"type": "object",
"title": "Snaky configuration",
"properties": {
"arcaea.snaky.defaultSimExe": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to default simulator executable."
},
"arcaea.snaky.defaultSimArgs": {
"type": [
"string",
"null"
],
"default": null,
"description": "Arguments to launch the default simulator."
},
"arcaea.snaky.defaultSimName": {
"type": "string",
"default": "ArcaeaSim",
"description": "Name of the default simulator."
},
"arcaea.snaky.validation.aff": {
"type": "string",
"enum": [
"normal",
"strict",
"treatAsError"
],
"default": "normal",
"description": "AFF validation mode"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run build",
"build": "npm run compile && npm run copy-assets",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"copy-assets": "copyfiles src/**/*.json out/"
},
"devDependencies": {
"@types/mocha": "^5.0.0",
"@types/node": "^9.6.1",
"copyfiles": "^2.0.0",
"mocha": "^5.0.5",
"tslint": "^5.9.1",
"typescript": "^2.8.1",
"vscode": "^1.1.14"
},
"dependencies": {
"ajv": "^6.4.0",
"http-status-codes": "^1.3.0",
"request": "^2.85.0",
"string-argv": "0.0.2"
}
}