Skip to content

Commit

Permalink
rework build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewNolte committed May 21, 2024
1 parent 5a97f64 commit 75d780e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"Visualization"
],
"icon": "images/icon.png",
"main": "./out/main.js",
"main": "./dist/main.js",
"prettier": {
"trailingComma": "es5",
"singleQuote": true,
Expand Down Expand Up @@ -674,10 +674,10 @@
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"lint": "eslint src --ext ts",
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"vscode:prepublish": "npm run esbuild-base -- --minify --outfile=dist/main.js",
"esbuild-base": "esbuild ./src/extension.ts --bundle --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap --outfile=out/main.js",
"esbuild-watch": "npm run esbuild -- --watch",
"format": "npx prettier --write **/*.ts",
"test-compile": "tsc -p ./",
"test-headless": "npm run compile-tests && xvfb-run node ./out/src/test/runTest.js",
Expand Down Expand Up @@ -722,4 +722,4 @@
"publisherDisplayName": "AndrewNolte",
"publisherId": "fcf32c99-a624-437b-9f47-9333ea128623"
}
}
}

0 comments on commit 75d780e

Please sign in to comment.