Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 3.31 KB
/
Copy pathpackage.json
File metadata and controls
98 lines (98 loc) · 3.31 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
{
"activationEvents": [
"onStartupFinished"
],
"categories": [
"Other"
],
"contributes": {
"commands": [
{
"command": "bnf-extensions.buildGrammar",
"title": "Build Grammar"
},
{
"command": "bnf-extensions.createConfigFile",
"title": "BNF Extensions: Create Config File in Current Directory"
},
{
"command": "bnf-extensions.parseGrammarFile",
"title": "BNF Extensions: Parse Current Project's Main Grammar File"
}
],
"grammars": [],
"languages": [],
"menus": {
"commandPalette": [
{
"command": "bnf-extensions.buildGrammar",
"when": "editorLangId == lbnf"
},
{
"command": "bnf-extensions.parseGrammarFile"
}
],
"explorer/context": [
{
"command": "bnf-extensions.createConfigFile",
"when": "explorerResourceIsFolder",
"group": "navigation@100"
}
]
}
},
"dependencies": {
"app-root-path": "^3.1.0",
"tslint-config-prettier": "^1.18.0"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/app-root-path": "^1.2.5",
"@types/glob": "^8.0.0",
"@types/jest": "^29.5.1",
"@types/node": "16.x",
"@types/vscode": "^1.73.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"esbuild": "^0.17.14",
"eslint": "^8.26.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.4",
"ts-loader": "^9.4.2",
"tscpaths": "^0.0.9",
"typescript": "^5.0.0-dev.20221210",
"webpack-cli": "^5.1.1",
"xregexp": "^5.1.1"
},
"displayName": "BNF Extensions",
"engines": {
"vscode": "^1.73.0"
},
"icon": "logo.png",
"main": "./out/Extension.js",
"name": "bnf-extensions",
"publisher": "alexvallone",
"repository": {
"type": "git",
"url": "https://github.com/amv146/BNFC-Extensions"
},
"scripts": {
"build": "tsc --project tsconfig.json && tscpaths -p tsconfig.json -s ./src -o ./out",
"compile": "tsc -p ./ && tspath -f",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-base": "esbuild ./src/Extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"lint": "eslint src --ext ts",
"package": "webpack --mode production --devtool hidden-source-map",
"pretest": "npm run build && npm run lint",
"prettier-watch": "onchange 'src/**/*.ts' -- prettier --write {{changed}}",
"publish": "npx vsce publish",
"test": "node ./out/test/runTest.js",
"test-compile": "tsc -p ./",
"vscode:prepublish": "npm run package",
"watch": "tsc -watch -p ./",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch"
},
"version": "0.0.5"
}