summaryrefslogtreecommitdiff
path: root/extension/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'extension/package.json')
-rw-r--r--extension/package.json12
1 files changed, 6 insertions, 6 deletions
diff --git a/extension/package.json b/extension/package.json
index 26998ec9..59a8d9df 100644
--- a/extension/package.json
+++ b/extension/package.json
@@ -185,17 +185,17 @@
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "rm -rf ./out && esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
- "esbuild": "rm -rf ./out && node esbuild.mjs",
+ "esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
- "test-compile": "tsc -p ./",
+ "tsc": "tsc -p ./",
+ "tsc-watch": "tsc -watch -p ./",
+ "typegen": "node scripts/typegen.js",
"clientgen": "rm -rf src/client/ && npx @openapitools/openapi-generator-cli generate -i ../schema/openapi.json -g typescript-fetch -o src/client/ --additional-properties=supportsES6=true,npmVersion=8.19.2,typescriptThreePlus=true",
"rebuild": "electron-rebuild -v 19.1.8 node-pty",
- "watch": "tsc -watch -p ./",
- "pretest": "npm run compile && npm run lint",
+ "pretest": "npm run build && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"jest": "jest --config ./jest.config.js",
- "typegen": "node scripts/typegen.js",
"package": "npm install && npm run typegen && npm run clientgen && cd react-app && npm install && npm run build && cd .. && mkdir -p ./build && vsce package --out ./build"
},
"devDependencies": {
@@ -244,4 +244,4 @@
"optionalDependencies": {
"@esbuild/android-arm": "^0.18.17"
}
-}
+} \ No newline at end of file