|
58 | 58 | "scripts": {
|
59 | 59 | "deploy": "vsce publish --no-dependencies",
|
60 | 60 | "deploy_ovsx": "ovsx publish --no-dependencies",
|
61 |
| - "vscode:prepublish": "pnpm run compile", |
62 |
| - "compile": "tsc -p ./", |
63 |
| - "watch": "tsc -watch -p ./", |
| 61 | + "vscode:prepublish": "pnpm run check-types && node esbuild.mjs --production", |
| 62 | + "check-types": "tsc --noEmit", |
| 63 | + "compile": "pnpm run check-types && node esbuild.mjs", |
| 64 | + "watch": "npm-run-all -p watch:*", |
| 65 | + "watch:esbuild": "node esbuild.mjs --watch", |
| 66 | + "watch:tsc": "tsc --noEmit --watch --project tsconfig.json", |
64 | 67 | "pretest": "pnpm run compile && pnpm run lint",
|
65 | 68 | "package": "vsce package --no-dependencies",
|
66 | 69 | "lint": "eslint src",
|
|
77 | 80 | "@types/vscode": "1.65.0",
|
78 | 81 | "@vscode/test-electron": "^2.4.1",
|
79 | 82 | "@vscode/vsce": "^3.2.1",
|
| 83 | + "esbuild": "^0.24.0", |
80 | 84 | "eslint": "^9.15.0",
|
81 | 85 | "glob": "^11.0.0",
|
82 | 86 | "lint-staged": "^15.2.10",
|
83 | 87 | "mocha": "^10.8.2",
|
| 88 | + "npm-run-all": "^4.1.5", |
84 | 89 | "ovsx": "^0.10.1",
|
85 | 90 | "prettier": "^3.3.3",
|
86 | 91 | "simple-git-hooks": "^2.11.1",
|
|
0 commit comments