forked from microsoft/typespec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
137 lines (137 loc) · 3.73 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
{
"name": "cadl-vscode",
"version": "0.15.0",
"author": "Microsoft Corporation",
"description": "Cadl Language Support for VS Code",
"homepage": "https://github.com/Microsoft/cadl",
"readme": "https://github.com/Microsoft/cadl/blob/master/README.md",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Microsoft/cadl.git"
},
"bugs": {
"url": "https://github.com/Microsoft/cadl/issues"
},
"keywords": [
"cadl"
],
"publisher": "Microsoft",
"displayName": "Cadl Language Support for VS Code",
"categories": [
"Programming Languages"
],
"type": "commonjs",
"main": "./extension-shim.js",
"engines": {
"vscode": "^1.53.0"
},
"activationEvents": [
"onLanguage:cadl"
],
"files": [
"cadl-vscode-*.vsix",
"ThirdPartyNotices.txt"
],
"contributes": {
"languages": [
{
"id": "cadl",
"aliases": [
"Cadl",
"CADL"
],
"extensions": [
".cadl"
],
"configuration": "./dist/language-configuration.json"
},
{
"id": "markdown-cadl"
}
],
"configuration": [
{
"title": "Cadl Language Server Path",
"properties": {
"cadl.cadl-server.path": {
"type": "string",
"default": "",
"description": "Path to `cadl-server` command that runs the Cadl language server.\n\nIf not specified, then `cadl-server` found on PATH is used.\n\nExample (User): /usr/local/bin/cadl-server\nExample (Workspace): ${workspaceRoot}/node_modules/.bin/cadl-server",
"scope": "machine-overridable"
}
}
}
],
"grammars": [
{
"language": "cadl",
"scopeName": "source.cadl",
"path": "./dist/cadl.tmLanguage"
},
{
"language": "markdown-cadl",
"scopeName": "markdown.cadl.codeblock",
"path": "./markdown-cadl.json",
"injectTo": [
"text.html.markdown"
],
"embeddedLanguages": {
"meta.embedded.block.cadl": "cadl"
}
}
],
"commands": [
{
"command": "cadl.restartServer",
"title": "Restart Cadl server",
"category": "Cadl"
}
],
"semanticTokenScopes": [
{
"scopes": {
"keyword": [
"keyword.other.cadl"
],
"macro": [
"entity.name.tag.cadl"
]
}
}
]
},
"scripts": {
"clean": "rimraf ./dist ./dist-dev ./temp",
"build": "npm run compile && npm run rollup && npm run copy-tmlanguage && npm run generate-language-configuration && npm run generate-third-party-notices && npm run package-vsix",
"compile": "tsc -p .",
"watch": "tsc -p . --watch",
"dogfood": "node scripts/dogfood.js",
"copy-tmlanguage": "node scripts/copy-tmlanguage.js",
"generate-language-configuration": "node scripts/generate-language-configuration.js",
"generate-third-party-notices": "cadl-build-tool generate-third-party-notices",
"rollup": "rollup --config --failAfterWarnings 2>&1",
"package-vsix": "vsce package --yarn"
},
"dependencies": {},
"devDependencies": {
"@rollup/plugin-commonjs": "~22.0.0-13",
"@rollup/plugin-node-resolve": "~13.1.3",
"@types/mkdirp": "~1.0.1",
"@types/mocha": "~9.1.0",
"@types/node": "~16.0.3",
"@types/vscode": "~1.53.0",
"@cadl-lang/compiler": "~0.32.0",
"@cadl-lang/eslint-config-cadl": "~0.3.0",
"@cadl-lang/internal-build-utils": "~0.3.0",
"eslint": "^8.12.0",
"c8": "~7.11.0",
"mkdirp": "~1.0.4",
"mocha": "~9.2.0",
"rimraf": "~3.0.2",
"rollup": "~2.70.1",
"typescript": "~4.7.2",
"vsce": "~2.6.7",
"vscode-languageclient": "~8.0.0"
}
}