-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
110 lines (110 loc) · 3.16 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.17.2",
"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": "previewjs.componentsDetected"
}
],
"menus": {
"editor/title": [
{
"when": "previewjs.componentsDetected",
"command": "previewjs.open",
"group": "navigation"
}
]
}
},
"main": "./dist/index.js",
"scripts": {
"vscode:prepublish": "pnpm build",
"build": "cd ../.. && turbo run build --scope=@previewjs/daemon --no-deps --include-dependencies && cd integrations/vscode && rimraf dist previewjs-1.17.2.vsix && tsc && node esbuild.js && shx cp -rL ../../loader/node_modules/pnpm dist/pnpm && shx cp -rL ../../loader/src/release/* dist/",
"build:dev": "cross-env PREVIEWJS_PORT=9316 PREVIEWJS_MODULES_DIR=../../dev-workspace PREVIEWJS_PACKAGE_NAME=@previewjs/app pnpm build",
"build:dev:pro": "cross-env PREVIEWJS_PORT=9316 PREVIEWJS_MODULES_DIR=../../../previewjs-pro/dev-workspace PREVIEWJS_PACKAGE_NAME=@previewjs/pro pnpm build",
"dev:install": "pnpm vsce package --no-dependencies && code --install-extension previewjs-1.17.2.vsix --force"
},
"devDependencies": {
"@previewjs/daemon": "*",
"@types/vscode": "^1.71.2",
"cross-env": "^7.0.3",
"esbuild": "^0.17.2",
"exclusive-promises": "^1.0.3",
"execa": "^5.1.1",
"ovsx": "^0.8.0",
"rimraf": "^4.0.4",
"shx": "^0.3.4",
"strip-ansi": "^7.0.1",
"typescript": "^4.9.4",
"vsce": "^2.15.0"
}
}