-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
76 lines (76 loc) · 2.12 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
{
"name": "novel-vscode",
"icon": "assets/icon.png",
"displayName": "novel-vscode",
"description": "A quick integration of Novel.sh editor to VSCode",
"version": "0.4.0",
"publisher": "bennykok",
"private": true,
"engines": {
"vscode": "^1.75.0"
},
"repository": {
"type": "git",
"url": "https://github.com/BennyKok/novel-vscode"
},
"main": "./out/main.js",
"contributes": {
"commands": [
{
"command": "novel.editWith",
"title": "Edit file with Novel"
},
{
"command": "novel.editBoldFont",
"title": "Bold Font"
}
],
"keybindings": [
{
"command": "novel.editBoldFont",
"key": "ctrl+b",
"mac": "cmd+b",
"when": "activeCustomEditorId === 'novel.editMarkdown'"
}
],
"customEditors": [
{
"viewType": "novel.editMarkdown",
"displayName": "Markdown (Novel)",
"selector": [
{
"filenamePattern": "{*.md,*.mdx}"
}
],
"priority": "default"
}
]
},
"scripts": {
"install:all": "pnpm install && cd webview-ui && npm install",
"start:webview": "cd webview-ui && pnpm run start",
"build:webview": "cd webview-ui && pnpm run build",
"build": "pnpm build:webview && pnpm compile && npm run esbuild-base -- --minify",
"vscode:prepublish": "pnpm build",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "pnpm run compile && npm run lint",
"lint": "eslint src --ext ts",
"package": "pnpm vsce package --no-dependencies",
"publish-vsce": "pnpm vsce publish --no-dependencies"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/node": "^12.11.7",
"@types/vscode": "^1.46.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"esbuild": "^0.19.2",
"eslint": "^7.19.0",
"glob": "^7.1.6",
"prettier": "^2.2.1",
"typescript": "^4.1.3",
"vscode-test": "^1.5.0"
}
}