This repository was archived by the owner on Feb 4, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.57 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 2.57 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
{
"name": "superdoc-vscode-extension",
"displayName": "SuperDoc for VS Code",
"description": "Open and edit Word documents (.docx) directly in VS Code using SuperDoc",
"version": "0.1.0",
"publisher": "superdoc",
"repository": "https://github.com/superdoc-dev/vscode-extension",
"engines": {
"vscode": "^1.107.0"
},
"categories": [
"Other",
"Visualization"
],
"keywords": [
"docx",
"word",
"document",
"editor",
"superdoc"
],
"main": "./dist/extension.js",
"contributes": {
"customEditors": [
{
"viewType": "superdoc.docxEditor",
"displayName": "SuperDoc Editor",
"selector": [
{
"filenamePattern": "*.docx"
}
],
"priority": "default"
}
],
"commands": [
{
"command": "superdoc.openWithSuperdoc",
"title": "Open with SuperDoc"
}
],
"menus": {
"explorer/context": [
{
"when": "resourceExtname == .docx",
"command": "superdoc.openWithSuperdoc",
"group": "navigation"
}
]
},
"configuration": {
"title": "SuperDoc",
"properties": {
"superdoc.autoSaveDelay": {
"type": "number",
"default": 1000,
"description": "Delay in milliseconds before auto-saving after an edit"
},
"superdoc.enableAutoSave": {
"type": "boolean",
"default": true,
"description": "Enable automatic saving of document changes"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "npm run compile-extension && npm run compile-webview && npm run copy-assets",
"compile-extension": "esbuild src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node",
"compile-webview": "esbuild webview/main.js --bundle --outfile=dist/webview/main.js --format=esm --platform=browser --target=es2020 --loader:.css=text",
"copy-assets": "cp webview/style.css dist/webview/",
"watch": "npm run compile -- --watch",
"package": "vsce package",
"publish": "vsce publish",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/node": "^20.19.27",
"@types/vscode": "^1.107.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vscode/vsce": "^2.32.0",
"esbuild": "^0.19.12",
"eslint": "^8.57.1",
"typescript": "^5.9.3"
},
"license": "MIT",
"dependencies": {
"superdoc": "^1.5.0"
}
}