-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.2 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 2.2 KB
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
{
"name": "react-native-preview",
"displayName": "React Native Preview",
"description": "Preview Expo/Metro web output inside VS Code with status bar controls.",
"version": "0.1.1",
"publisher": "ackkerman",
"categories": [
"Other"
],
"icon": "media/logo.png",
"repository": {
"type": "git",
"url": "https://github.com/ackkerman/vscode-react-native-preview.git"
},
"bugs": {
"url": "https://github.com/ackkerman/vscode-react-native-preview/issues"
},
"homepage": "https://github.com/ackkerman/vscode-react-native-preview#readme",
"license": "MIT",
"engines": {
"vscode": "^1.85.0"
},
"activationEvents": [
"onCommand:rnPreview.open",
"onCommand:rnPreview.restartMetro",
"onCommand:rnPreview.reload"
],
"main": "./dist/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "react-native-preview",
"title": "React Native Preview",
"icon": "media/logo.svg"
}
]
},
"commands": [
{
"command": "rnPreview.open",
"title": "React Native Preview: Open Preview"
},
{
"command": "rnPreview.restartMetro",
"title": "React Native Preview: Restart Metro"
},
{
"command": "rnPreview.reload",
"title": "React Native Preview: Reload Preview"
}
],
"configuration": {
"title": "React Native Preview",
"properties": {
"rnPreview.previewUrl": {
"type": "string",
"default": "http://localhost:19006",
"description": "URL used by the preview iframe (e.g. http://localhost:19006)."
}
}
}
},
"scripts": {
"build": "tsc -p .",
"package": "pnpm run build && vsce package",
"publish": "vsce publish",
"vsix": "pnpm run package",
"test": "node ./dist/test/runTest.js"
},
"devDependencies": {
"@types/chai": "^4.3.11",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.0",
"@types/sinon": "^10.0.17",
"@types/vscode": "^1.85.0",
"@vscode/test-electron": "^2.3.8",
"@vscode/vsce": "^2.32.0",
"chai": "^4.4.1",
"mocha": "^10.3.0",
"sinon": "^17.0.1",
"typescript": "^5.3.3"
}
}