forked from thejustinwalsh/textproto-grammar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 3.34 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
{
"name": "textproto-grammer",
"displayName": "TextProto",
"description": "Syntax Highlighting for the Protocol Buffer Text Format",
"version": "0.0.8",
"publisher": "thejustinwalsh",
"author": {
"name": "Justin Walsh <[email protected]>"
},
"contributors": [
"Marcus R. Brown <[email protected]>"
],
"keywords": [
"pbtxt",
"protobuf",
"protocol-buffers",
"prototxt",
"syntax-highlighting",
"textproto",
"textproto-grammar",
"text-proto",
"text-proto-grammar"
],
"engines": {
"vscode": "^1.62.0"
},
"categories": [
"Programming Languages"
],
"icon": "images/icon.png",
"galleryBanner": {
"color": "#D3D0C8",
"theme": "light"
},
"main": "bundle.js",
"activationEvents": [],
"contributes": {
"languages": [
{
"id": "textproto",
"aliases": [
"Protocol Buffer Text Format",
"Textual Protobuf",
"pbtxt",
"prototxt",
"textproto"
],
"extensions": [
".pbtxt",
".prototxt",
".textproto"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "textproto",
"scopeName": "source.textproto",
"path": "./syntaxes/textproto.tmLanguage.json"
},
{
"scopeName": "markdown.textproto.codeblock",
"path": "./syntaxes/codeblock.json",
"injectTo": [
"text.html.markdown"
],
"embeddedLanguages": {
"meta.embedded.block.textproto": "textproto"
}
}
],
"markdown.markdownItPlugins": true
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/thejustinwalsh/textproto-grammar.git"
},
"homepage": "https://github.com/thejustinwalsh/textproto-grammar/blob/main/README.md",
"scripts": {
"build": "npm run clean && rollup -c",
"clean": "rimraf bundle.js bundle.js.map",
"format:check": "prettier --check .",
"format:fix": "prettier --write .",
"lint": "eslint .",
"test": "npm run format:check && npm run lint && vscode-tmgrammar-test test/formattest.textpb",
"watch": "cross-env NODE_ENV=development npm run build -- --watch",
"vscode:prepublish": "cross-env NODE_ENV=production npm run build"
},
"dependencies": {
"highlight.js": "^10.4.1",
"markdown-it-highlightjs": "^3.4.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.0.0",
"@tsconfig/node16": "^1.0.3",
"@types/node": "^16.18.2",
"@types/vscode": "^1.62.0",
"cross-env": "^7.0.3",
"eslint": "^7.14.0",
"eslint-config-prettier": "^8.5.0",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"rollup": "^2.34.1",
"rollup-plugin-terser": "^7.0.2",
"vscode-tmgrammar-test": "^0.1.3"
}
}