|
135 | 135 | } |
136 | 136 | }, |
137 | 137 | "scripts": { |
138 | | - "vscode:prepublish": "npm run package", |
139 | | - "vsix": "vsce package", |
| 138 | + "build": "npm run build:webview && npm run vsix", |
| 139 | + "build:webview": "cd webview-ui && npm run build", |
| 140 | + "changeset": "changeset", |
| 141 | + "check-types": "tsc --noEmit", |
140 | 142 | "compile": "npm run check-types && npm run lint && node esbuild.js", |
141 | | - "watch": "npm-run-all -p watch:*", |
142 | | - "watch:esbuild": "node esbuild.js --watch", |
143 | | - "watch:tsc": "tsc --noEmit --watch --project tsconfig.json", |
144 | | - "package": "npm run build:webview && npm run check-types && npm run lint && node esbuild.js --production", |
145 | 143 | "compile-tests": "tsc -p . --outDir out", |
146 | | - "watch-tests": "tsc -p . -w --outDir out", |
147 | | - "pretest": "npm run compile-tests && npm run compile && npm run lint", |
148 | | - "check-types": "tsc --noEmit", |
149 | | - "lint": "eslint src --ext ts", |
150 | | - "test": "jest", |
151 | 144 | "install:all": "npm install && cd webview-ui && npm install", |
| 145 | + "lint": "eslint src --ext ts", |
| 146 | + "package": "npm run build:webview && npm run check-types && npm run lint && node esbuild.js --production", |
| 147 | + "pretest": "npm run compile-tests && npm run compile && npm run lint", |
152 | 148 | "start:webview": "cd webview-ui && npm run start", |
153 | | - "build:webview": "cd webview-ui && npm run build", |
| 149 | + "test": "vscode-test", |
154 | 150 | "test:webview": "cd webview-ui && npm run test", |
| 151 | + "prepare": "husky", |
155 | 152 | "publish:marketplace": "vsce publish", |
156 | | - "prepare": "husky" |
| 153 | + "publish": "npm run build && changeset publish && npm install --package-lock-only", |
| 154 | + "version-packages": "changeset version && npm install --package-lock-only", |
| 155 | + "vscode:prepublish": "npm run package", |
| 156 | + "vsix": "npx vsce package --out bin", |
| 157 | + "watch": "npm-run-all -p watch:*", |
| 158 | + "watch:esbuild": "node esbuild.js --watch", |
| 159 | + "watch:tsc": "tsc --noEmit --watch --project tsconfig.json", |
| 160 | + "watch-tests": "tsc -p . -w --outDir out" |
157 | 161 | }, |
158 | 162 | "devDependencies": { |
159 | 163 | "@changesets/cli": "^2.27.10", |
|
0 commit comments