forked from JEdward7777/VsCodeUsfmAligner
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
120 lines (120 loc) · 3.38 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
{
"name": "usfmeditor",
"displayName": "UsfmEditor",
"description": "",
"version": "0.0.1",
"engines": {
"vscode": "^1.77.1"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"configuration":{
"title": "usfmEditor",
"properties": {
"usfmEditor.outline.autoRefresh": {
"type": "boolean",
"default": true,
"description": "Automatically refresh the outline"
},
"usfmEditor.testConfigurationString": {
"type": "string",
"default": "abcd",
"description": "Test Configuration String"
},
"usfmEditor.sourceMap": {
"type": "object",
"description": "Source Usfm Mappings.\nRegular expression to map from target file to source. First one which matches is used. \ne.g. { \"(.*)\\\\.usfm\": \"source/\\\\1.usfm\" }",
"default": { }
}
}
},
"commands": [
{
"command": "usfmOutline.selectReference",
"title": "Select Reference",
"icon": {
"light": "resources/light/edit.svg",
"dark": "resources/dark/edit.svg"
}
},{
"command": "usfmOutline.alignReference",
"title": "Align Reference",
"icon": {
"light": "resources/light/dependency.svg",
"dark": "resources/dark/dependency.svg"
}
}
],
"customEditors": [
{
"viewType": "com.lansfords.usfmEditor",
"displayName": "Usfm Editor",
"selector": [
{
"filenamePattern": "*.usfm"
}
]
}
],
"views": {
"explorer": [
{
"id": "com.lansfords.usfmOutline",
"name": "Usfm Outline",
"when": "usfmOutlineEnabled"
}
]
},
"menus": {
"view/item/context": [
{
"command": "usfmOutline.selectReference",
"when": "view == com.lansfords.usfmOutline && (viewItem == chapter || viewItem == verse)",
"group": "inline"
},{
"command": "usfmOutline.alignReference",
"when": "view == com.lansfords.usfmOutline && viewItem == verse",
"group": "inline"
}
]
}
},
"scripts": {
"build:webview": "cd webview-ui && npm run build",
"compile": "webpack",
"compile-tests": "tsc -p . --outDir out",
"install:all": "npm install && cd webview-ui && npm install",
"lint": "eslint src --ext ts",
"package": "webpack --mode production --devtool hidden-source-map",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"test": "node ./out/test/runTest.js",
"vscode:prepublish": "npm run package",
"build": "webpack",
"watch": "webpack --watch",
"watch:webview": "cd webview-ui && npm run watch",
"watch-tests": "tsc -p . -w --outDir out"
},
"devDependencies": {
"@types/mocha": "^10.0.3",
"@types/node": "18.x",
"@types/vscode": "^1.84.0",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"@vscode/test-electron": "^2.3.6",
"eslint": "^8.52.0",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"ts-loader": "^9.5.0",
"typescript": "^5.2.2",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"proskomma-core": "^0.10.4",
"proskomma-json-tools": "^0.8.6"
}
}