|
10 | 10 | "Other" |
11 | 11 | ], |
12 | 12 | "activationEvents": [], |
13 | | - "main": "./dist/extension.js", |
| 13 | + "main": "./out/extension.js", |
14 | 14 | "contributes": { |
15 | 15 | "commands": [ |
16 | 16 | { |
17 | | - "command": "vscode-react-developer-toolkit.helloWorld", |
18 | | - "title": "Hello World" |
| 17 | + "command": "vscode-react-developer-toolkit.createReactComponent", |
| 18 | + "title": "Create React Component" |
19 | 19 | } |
20 | | - ] |
| 20 | + ], |
| 21 | + "menus": { |
| 22 | + "explorer/context": [ |
| 23 | + { |
| 24 | + "when": "explorerResourceIsFolder", |
| 25 | + "command": "vscode-react-developer-toolkit.createReactComponent", |
| 26 | + "group": "vscode-react-developer-toolkit@1" |
| 27 | + } |
| 28 | + ] |
| 29 | + } |
21 | 30 | }, |
22 | 31 | "scripts": { |
23 | | - "vscode:prepublish": "pnpm run package", |
24 | | - "compile": "pnpm run check-types && pnpm run lint && node esbuild.js", |
25 | | - "watch": "npm-run-all -p watch:*", |
26 | | - "watch:esbuild": "node esbuild.js --watch", |
27 | | - "watch:tsc": "tsc --noEmit --watch --project tsconfig.json", |
28 | | - "package": "pnpm run check-types && pnpm run lint && node esbuild.js --production", |
29 | | - "compile-tests": "tsc -p . --outDir out", |
30 | | - "watch-tests": "tsc -p . -w --outDir out", |
31 | | - "pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint", |
32 | | - "check-types": "tsc --noEmit", |
| 32 | + "vscode:prepublish": "pnpm run compile", |
| 33 | + "compile": "tsc -p ./", |
| 34 | + "watch": "tsc -watch -p ./", |
| 35 | + "pretest": "pnpm run compile && pnpm run lint", |
33 | 36 | "lint": "eslint src", |
34 | 37 | "test": "vscode-test" |
35 | 38 | }, |
|
40 | 43 | "@typescript-eslint/eslint-plugin": "^8.10.0", |
41 | 44 | "@typescript-eslint/parser": "^8.7.0", |
42 | 45 | "eslint": "^9.13.0", |
43 | | - "esbuild": "^0.24.0", |
44 | | - "npm-run-all": "^4.1.5", |
45 | 46 | "typescript": "^5.6.3", |
46 | 47 | "@vscode/test-cli": "^0.0.10", |
47 | 48 | "@vscode/test-electron": "^2.4.1" |
|
0 commit comments