diff --git a/.prettierignore b/.prettierignore index 763301f..04c42f6 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,2 +1,3 @@ dist/ +out/ node_modules/ \ No newline at end of file diff --git a/.vscodeignore b/.vscodeignore index 61d45a1..767a926 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -2,7 +2,7 @@ .vscode-test/** .github/** src/** -out/test/** +out/** **/tsconfig.json diff --git a/package.json b/package.json index 390d4f9..9bb111d 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "activationEvents": [ "onStartupFinished" ], - "main": "./out/main.js", + "main": "./dist/main.js", "contributes": { "commands": [ { @@ -114,12 +114,12 @@ }, "scripts": { "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-base": "esbuild ./src/extension.ts --bundle --outfile=dist/main.js --external:vscode --format=cjs --platform=node", "compile": "npm run esbuild-base -- --sourcemap", "esbuild-watch": "npm run esbuild-base -- --sourcemap --watch", "test-compile": "tsc -p ./", "watch": "tsc -watch -p ./", - "pretest": "npm run compile && npm run lint", + "pretest": "npm run test-compile && npm run lint", "lint": "eslint src --ext ts", "format": "npx prettier --write \"src/**/*.ts\"", "test": "vscode-test"