|
|
@@ -135,25 +135,29 @@
|
|
|
}
|
|
|
},
|
|
|
"scripts": {
|
|
|
- "vscode:prepublish": "npm run package",
|
|
|
- "vsix": "vsce package",
|
|
|
+ "build": "npm run build:webview && npm run vsix",
|
|
|
+ "build:webview": "cd webview-ui && npm run build",
|
|
|
+ "changeset": "changeset",
|
|
|
+ "check-types": "tsc --noEmit",
|
|
|
"compile": "npm run check-types && npm run lint && node esbuild.js",
|
|
|
- "watch": "npm-run-all -p watch:*",
|
|
|
- "watch:esbuild": "node esbuild.js --watch",
|
|
|
- "watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
|
|
|
- "package": "npm run build:webview && npm run check-types && npm run lint && node esbuild.js --production",
|
|
|
"compile-tests": "tsc -p . --outDir out",
|
|
|
- "watch-tests": "tsc -p . -w --outDir out",
|
|
|
- "pretest": "npm run compile-tests && npm run compile && npm run lint",
|
|
|
- "check-types": "tsc --noEmit",
|
|
|
- "lint": "eslint src --ext ts",
|
|
|
- "test": "jest",
|
|
|
"install:all": "npm install && cd webview-ui && npm install",
|
|
|
+ "lint": "eslint src --ext ts",
|
|
|
+ "package": "npm run build:webview && npm run check-types && npm run lint && node esbuild.js --production",
|
|
|
+ "pretest": "npm run compile-tests && npm run compile && npm run lint",
|
|
|
"start:webview": "cd webview-ui && npm run start",
|
|
|
- "build:webview": "cd webview-ui && npm run build",
|
|
|
+ "test": "vscode-test",
|
|
|
"test:webview": "cd webview-ui && npm run test",
|
|
|
+ "prepare": "husky",
|
|
|
"publish:marketplace": "vsce publish",
|
|
|
- "prepare": "husky"
|
|
|
+ "publish": "npm run build && changeset publish && npm install --package-lock-only",
|
|
|
+ "version-packages": "changeset version && npm install --package-lock-only",
|
|
|
+ "vscode:prepublish": "npm run package",
|
|
|
+ "vsix": "npx vsce package --out bin",
|
|
|
+ "watch": "npm-run-all -p watch:*",
|
|
|
+ "watch:esbuild": "node esbuild.js --watch",
|
|
|
+ "watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
|
|
|
+ "watch-tests": "tsc -p . -w --outDir out"
|
|
|
},
|
|
|
"devDependencies": {
|
|
|
"@changesets/cli": "^2.27.10",
|