-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
110 lines (110 loc) · 3.17 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
{
"name": "previewjs",
"version": "1.16.1",
"license": "https://previewjs.com/eula",
"author": {
"name": "François Wouts",
"email": "f@zenc.io"
},
"repository": {
"type": "git",
"url": "https://github.com/fwouts/previewjs"
},
"bugs": {
"url": "https://github.com/fwouts/previewjs/issues"
},
"homepage": "https://previewjs.com",
"publisher": "zenclabs",
"displayName": "Preview.js",
"icon": "logo.png",
"description": "Get instant previews of your UI components, directly in your IDE",
"keywords": [
"react",
"vue",
"design",
"preview",
"components",
"typescript"
],
"categories": [
"Visualization"
],
"engines": {
"vscode": "^1.71.2"
},
"activationEvents": [
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:jsx",
"onLanguage:svelte",
"onLanguage:typescriptreact",
"onLanguage:vue",
"onStartupFinished"
],
"contributes": {
"configuration": {
"title": "Preview.js",
"properties": {
"previewjs.livePreview": {
"title": "Live Preview",
"type": "boolean",
"default": true,
"description": "Update previews instantly, without waiting for saving. Reload required."
},
"previewjs.codelens": {
"title": "CodeLens",
"type": "boolean",
"default": true,
"description": "Show a link to open Preview.js above each detected component. Reload required."
}
}
},
"commands": [
{
"command": "previewjs.open",
"title": "Open Preview.js",
"category": "Preview.js",
"icon": "./logo.png"
}
],
"keybindings": [
{
"command": "previewjs.open",
"key": "ctrl+k v",
"mac": "cmd+k v",
"when": "editorLangId == javascript || editorLangId == javascriptreact || editorLangId == jsx || editorLangId == typescriptreact || editorLangId == vue"
}
],
"menus": {
"editor/title": [
{
"when": "editorLangId == javascript || editorLangId == javascriptreact || editorLangId == jsx || editorLangId == typescriptreact || editorLangId == vue",
"command": "previewjs.open",
"group": "navigation"
}
]
}
},
"main": "./dist/index.js",
"scripts": {
"vscode:prepublish": "pnpm build",
"build": "rimraf dist previewjs-1.16.1.vsix && tsc && node esbuild.js && shx cp -rL ../../node_modules/pnpm dist/pnpm && shx cp -rL ../../loader/src/release/* dist/",
"prod": "cross-env PREVIEWJS_DEV=0 pnpm vsce package --no-dependencies && pnpm dev:install",
"dev": "cross-env PREVIEWJS_PACKAGE_NAME=@previewjs/app pnpm dev:build",
"dev:build": "cross-env PREVIEWJS_DEV=1 pnpm vsce package --no-dependencies && pnpm dev:install",
"dev:install": "code --install-extension previewjs-1.16.1.vsix --force"
},
"devDependencies": {
"@previewjs/server": "workspace:*",
"@types/vscode": "1.71.0",
"cross-env": "7.0.3",
"esbuild": "0.15.14",
"exclusive-promises": "^1.0.3",
"execa": "5.1.1",
"ovsx": "0.5.2",
"rimraf": "3.0.2",
"shx": "0.3.4",
"typescript": "4.8.4",
"vsce": "2.14.0"
}
}