-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
168 lines (168 loc) · 3.72 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
"name": "draw",
"displayName": "Draw",
"description": "Draw an SVG image with a mouse or pen",
"version": "0.2.0",
"publisher": "hall",
"icon": "docs/images/icon.png",
"license": "Apache-2.0",
"repository": {
"url": "https://github.com/hall/draw"
},
"bugs": {
"url": "https://github.com/hall/draw/issues"
},
"engines": {
"vscode": "^1.53.0"
},
"categories": [
"Other"
],
"keywords": [
"HTR",
"OCR",
"asciidoc",
"draw",
"latex",
"markdown",
"math",
"note",
"restructuredtext",
"svg",
"multi-root ready"
],
"activationEvents": [
"onWebviewPanel:draw",
"onLanguage:markdown",
"onLanguage:asciidoc",
"onLanguage:restructuredtext"
],
"browser": "./main",
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"semi": [
2,
"always"
],
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-non-null-assertion": 0
},
"ignorePatterns": [
"test-resources"
]
},
"contributes": {
"commands": [
{
"command": "draw.editCurrentLine",
"title": "Edit Drawing",
"category": "Draw",
"icon": "$(pencil)"
},
{
"command": "draw.configureHTR",
"title": "Configure HTR Provider",
"category": "Draw"
}
],
"menus": {
"editor/context": [
{
"command": "draw.editCurrentLine",
"when": "editorFocus",
"group": "7_modification"
}
]
},
"configuration": {
"type": "object",
"title": "Draw",
"properties": {
"draw.buttons": {
"type": "array",
"default": [],
"markdownDescription": "Add [custom buttons](https://github.com/hall/draw#custom-buttons) to the toolbar",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"icon": {
"type": "string",
"description": "font awesome icon name"
},
"title": {
"type": "string",
"description": "button title, shown on hover"
},
"function": {
"type": "string",
"description": "javascript function to execute on button click"
}
},
"required": [
"icon",
"title",
"function"
]
}
},
"draw.directory": {
"type": ["string", "null"],
"default": "",
"description": "Save to directory (write inline if null)"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"webpack": "webpack --mode development",
"package": "webpack --mode production --devtool hidden-source-map",
"lint": "eslint . --ext .ts,.tsx",
"pretest": "tsc -p ./",
"test": "extest setup-and-run ./out/**/*.test.js",
"build": "npx vsce package"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^6.1.1",
"@vscode/webview-ui-toolkit": "^1.0.0",
"iink-js": "^1.5.4"
},
"devDependencies": {
"@netatwork/mocha-utils": "^2.1.3",
"@types/chai": "^4.3.1",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "^16.11.36",
"@types/vscode": "^1.53.0",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"chai": "^4.3.6",
"cheerio": "^1.0.0-rc.11",
"eslint": "^8.16.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.0",
"eslint-plugin-promise": "^6.0.0",
"glob": "^8.0.3",
"html-loader": "^3.1.0",
"mocha": "^10.0.0",
"source-map-support": "^0.5.21",
"ts-loader": "^9.3.0",
"typescript": "^4.6.4",
"vscode-extension-tester": "^4.2.5",
"webpack": "^5.72.1",
"webpack-cli": "^4.9.2"
}
}