|
22 | 22 | "onCommand:vscode-messenger-devtools.activate", |
23 | 23 | "onView:vscode-messenger-devtools.messengerView" |
24 | 24 | ], |
25 | | - "main": "./lib/devtool-ext", |
| 25 | + "main": "./lib/devtool-ext.js", |
26 | 26 | "types": "./lib/devtool-ext.d.ts", |
27 | 27 | "license": "MIT", |
28 | 28 | "icon": "logo-icon.png", |
|
39 | 39 | "install:all": "npm install && npm --prefix ./webview-ui install ./webview-ui", |
40 | 40 | "start:webview": "npm --prefix ./webview-ui run start", |
41 | 41 | "build:webview": "npm --prefix ./webview-ui run build", |
42 | | - "vscode:prepublish": "npm run compile", |
| 42 | + "vscode:prepublish": "npm run build && npm run build:webview", |
43 | 43 | "build": "tsc -p ./", |
44 | | - "clean": "rimraf lib", |
45 | | - "watch": "tsc -watch -p ./ & cd ./webview-ui && npm run watch", |
| 44 | + "clean": "rimraf lib lib", |
| 45 | + "watch": "esbuild --watch", |
46 | 46 | "pretest": "npm run compile && npm run lint", |
47 | 47 | "lint": "eslint src", |
| 48 | + "compile": "node esbuild.config.js", |
48 | 49 | "test": "node ./lib/test/runTest.js" |
49 | | - }, |
| 50 | + }, |
50 | 51 | "dependencies": { |
51 | 52 | "@vscode/webview-ui-toolkit": "~1.0.0", |
52 | 53 | "vscode-messenger": "^0.5" |
53 | 54 | }, |
54 | 55 | "devDependencies": { |
55 | 56 | "@types/vscode": "^1.70.0", |
56 | | - "@types/vscode-webview": "^1.57.0" |
| 57 | + "@types/vscode-webview": "^1.57.0", |
| 58 | + "esbuild": "^0.25.0" |
57 | 59 | }, |
58 | 60 | "bugs": "https://github.com/TypeFox/vscode-messenger/issues", |
59 | 61 | "author": { |
|
0 commit comments