-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 2.85 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
{
"name": "novella",
"displayName": "Novella",
"description": "A VS Code React component previewer",
"icon": "assets/logo.png",
"publisher": "nobrayner",
"repository": {
"type": "git",
"url": "https://github.com/nobrayner/novella"
},
"version": "0.11.0",
"license": "GNU GPLv3",
"engines": {
"vscode": "^1.53.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:novella.preview.show"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "novella.preview.show",
"category": "Novella",
"title": "Preview Component",
"icon": {
"light": "assets/search-dark.svg",
"dark": "assets/search-light.svg"
}
},
{
"command": "novella.preview.reload",
"category": "Novella Preview",
"title": "Reload",
"icon": {
"light": "assets/reload-dark.svg",
"dark": "assets/reload-light.svg"
}
},
{
"command": "novella.preview.props-editor.hide",
"category": "Novella Preview",
"title": "Hide Props Editor",
"icon": {
"light": "assets/eye-closed-dark.svg",
"dark": "assets/eye-closed-light.svg"
}
},
{
"command": "novella.preview.props-editor.show",
"category": "Novella Preview",
"title": "Show Props Editor",
"icon": {
"light": "assets/eye-dark.svg",
"dark": "assets/eye-light.svg"
}
}
],
"menus": {
"editor/title": [
{
"command": "novella.preview.show",
"when": "editorLangId == typescriptreact && resourceFilename =~ /(?<!\\.novella)\\.tsx/",
"group": "navigation"
},
{
"command": "novella.preview.show",
"when": "editorLangId == javascriptreact && resourceFilename =~ /(?<!\\.novella)\\.jsx/",
"group": "navigation"
},
{
"command": "novella.preview.props-editor.show",
"when": "novella.preview.focus && !novella.preview.props-editor",
"group": "navigation@0"
},
{
"command": "novella.preview.props-editor.hide",
"when": "novella.preview.focus && novella.preview.props-editor",
"group": "navigation@0"
},
{
"command": "novella.preview.reload",
"when": "novella.preview.focus",
"group": "navigation@1"
}
]
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"package": "vsce package",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"@types/vscode": "^1.53.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"eslint": "^7.19.0",
"glob": "^7.1.6",
"mocha": "^8.2.1",
"typescript": "^4.1.3",
"vscode-test": "^1.5.0"
},
"dependencies": {
"@fal-works/esbuild-plugin-global-externals": "^2.1.1",
"@svgr/core": "^5.5.0",
"esbuild": "~0.11.6",
"esbuild-plugin-postcss2": "^0.0.9"
}
}