forked from orta/vscode-react-native-storybooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
129 lines (129 loc) · 3.36 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
119
120
121
122
123
124
125
126
127
128
129
{
"name": "vscode-react-native-storybooks",
"displayName": "React Native Storybook",
"description": "Show your React Native Storybooks inline in VS Code",
"version": "2.4.0",
"publisher": "Orta",
"engines": {
"vscode": "^1.13.0"
},
"galleryBanner": {
"theme": "light",
"color": "#f1618c"
},
"icon": "icon.png",
"categories": ["Other"],
"activationEvents": [
"onCommand:extension.showStorybookPreview",
"workspaceContains:node_modules/@storybook/react-native/package.json"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "extension.searchStories",
"title": "Storybook search / picker"
},
{
"command": "extension.showStorybookPreview",
"title": "Show Storybook tab"
},
{
"command": "extension.restartConnectionToStorybooks",
"title": "Reconnect Storybook to VS Code"
},
{
"command": "extension.expandAllStories",
"title": "Expand stories in Storybook Explorer"
},
{
"command": "extension.collapseAllStories",
"title": "Collapse stories in Storybook Explorer"
}
],
"keybindings": [
{
"command": "extension.goToNextStorybook",
"key": "ctrl+k up",
"mac": "cmd+k up",
"when": "editorTextFocus"
},
{
"command": "extension.goToPreviousStorybook",
"key": "ctrl+k down",
"mac": "cmd+k down",
"when": "editorTextFocus"
},
{
"command": "extension.searchStories",
"key": "ctrl+k s",
"mac": "cmd+k s",
"when": "editorTextFocus"
}
],
"menus": {
"editor/title": [
{
"command": "extension.showStorybookPreview",
"when": "resourceLangId == javascript"
},
{
"command": "extension.restartConnectionToStorybooks",
"when": "resourceLangId == javascript"
}
]
},
"configuration": {
"type": "object",
"title": "Configuration",
"properties": {
"react-native-storybooks.port": {
"type": "number",
"default": 9001,
"description": "Port number"
},
"react-native-storybooks.host": {
"type": "string",
"default": "localhost",
"description": "Host address"
},
"react-native-storybooks.storyRegex": {
"type": "string",
"default": "**/*.story.*",
"description": "A regular expression that picks up story files in your project"
},
"react-native-storybooks.storybookFilterRegex": {
"type": "string",
"default": ".",
"description": "A regular expression for filtering what stories to show in the sidebar"
}
}
},
"views": {
"explorer": [
{
"id": "storybook",
"name": "Storybook",
"when": ""
}
]
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"@types/mocha": "^2.2.32",
"@types/node": "^6.0.40",
"mocha": "^2.3.3",
"typescript": "^2.3.4",
"vscode": "^1.0.0"
},
"dependencies": {
"@storybook/channel-websocket": "^3.0.0",
"babel-runtime": "^6.23.0",
"ws": "^3.0.0"
}
}