-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
112 lines (112 loc) · 2.88 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
{
"name": "vscode-apib-ls",
"version": "2.0.0",
"description": "API Blueprint language server",
"author": "FunBox LLC <[email protected]> (https://funbox.ru)",
"license": "Apache-2.0",
"engines": {
"vscode": "^1.43.0"
},
"repository": {
"type": "git",
"url": "https://github.com/funbox/vscode-apib-ls"
},
"publisher": "FunBox",
"icon": "logo.png",
"galleryBanner": {
"color": "#0C52BA",
"theme": "dark"
},
"activationEvents": [
"onLanguage:apib"
],
"main": "./dist/client/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "API Blueprint configuration",
"properties": {
"apibLanguageServer.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
}
}
},
"languages": [
{
"id": "apib",
"extensions": [
".apib"
],
"aliases": [
"APIB",
"Blueprint"
]
},
{
"id": "mson",
"extensions": [
".mson"
],
"aliases": [
"MSON"
]
}
],
"grammars": [
{
"language": "apib",
"scopeName": "text.html.markdown.source.gfm.apib",
"path": "./syntax/APIBlueprint.tmLanguage"
},
{
"language": "mson",
"scopeName": "text.html.markdown.source.gfm.mson",
"path": "./syntax/MSON.tmLanguage"
}
]
},
"scripts": {
"vscode:prepublish": "npm run clean-dist-dir && npm run esbuild-min",
"clean-dist-dir": "rm -rf dist/",
"esbuild-base": "esbuild ./client/extension.js ./server/server.js --bundle --outdir=dist --define:process.env.BASE_DIR='\"dist\"' --external:vscode --format=cjs --platform=node --target=es2018",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-min": "npm run esbuild-base -- --minify",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"dev": "cd server && npm run dev",
"test": "npm run test-server && npm run test-client",
"test-client": "cd client && ./tests/run.sh",
"test-server": "cd server && npm test",
"lint": "eslint --cache -c .eslintrc.js --ext .js ./",
"lawyer": "lawyer . ./client ./server"
},
"devDependencies": {
"@funboxteam/eslint-config": "7.3.0",
"esbuild": "0.16.12",
"eslint": "7.32.0",
"husky": "4.3.8",
"lint-staged": "10.5.0",
"vscode-oniguruma": "1.6.2",
"vscode-textmate": "7.0.1"
},
"lint-staged": {
"*.js": [
"eslint --fix --cache -c .eslintrc.js"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged -q"
}
},
"bin": {
"apibserver": "server/server.js"
}
}