forked from sfc-gh-tkojima/vscode-react-webviews
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 2.41 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
{
"name": "vscode-react-webviews",
"private": true,
"displayName": "Webview Extension",
"description": "Fun with VS Code extension Webviews.",
"version": "1.2.2",
"engines": {
"vscode": "^1.83.1",
"node": "~18.17.0",
"npm": "^9.6.7"
},
"tags": [],
"categories": [],
"publisher": "example",
"main": "extension.js",
"scripts": {
"bundle": "webpack --mode production && webpack --mode production --config ./webpack.config.views.js",
"build": "rm -rf dist && mkdir -p build && npm run bundle && node scripts/build.js",
"watch": "webpack --mode development --watch",
"devserver": "webpack serve --mode development --config ./webpack.config.views.js",
"format": "prettier 'src/**/*.js' 'src/**/*.jsx' 'src/**/*.ts' 'src/**/*.tsx' './package.json' '.swcrc' './*.js' --no-error-on-unmatched-pattern --write"
},
"devDependencies": {
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.93",
"@swc/jest": "^0.2.29",
"@types/node": "^20.8.7",
"@types/promise-deferred": "^2.0.4",
"@types/react": "^18.2.29",
"@types/react-dom": "^18.2.13",
"@types/uuid": "^9.0.5",
"@types/vscode": "^1.83.1",
"@vscode/vsce": "^2.21.1",
"copy-webpack-plugin": "^11.0.0",
"prettier": "^3.0.3",
"prettier-plugin-organize-imports": "^3.2.3",
"promise-deferred": "^2.0.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-refresh": "^0.14.0",
"swc-loader": "^0.2.3",
"typescript": "^5.2.2",
"uuid": "^9.0.1",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
},
"activationEvents": [
"onView:exampleViewA",
"onView:exampleViewB"
],
"contributes": {
"commands": [],
"viewsContainers": {
"activitybar": [
{
"id": "exampleActivityBarContainer",
"title": "example",
"icon": "static/jersey.svg"
}
],
"panel": [
{
"id": "examplePanelContainer",
"title": "example",
"icon": "static/jersey.svg"
}
]
},
"views": {
"exampleActivityBarContainer": [
{
"id": "exampleViewA",
"type": "webview",
"name": "View A"
}
],
"examplePanelContainer": [
{
"id": "exampleViewB",
"type": "webview",
"name": "View B"
}
]
}
}
}