|
10 | 10 | "Other"
|
11 | 11 | ],
|
12 | 12 | "activationEvents": [],
|
13 |
| - "main": "./dist/extension.js", |
| 13 | + "main": "./dist/extension/index.js", |
14 | 14 | "contributes": {
|
15 | 15 | "commands": [
|
16 | 16 | {
|
|
21 | 21 | },
|
22 | 22 | "scripts": {
|
23 | 23 | "vscode:prepublish": "yarn run package",
|
24 |
| - "compile": "webpack", |
25 |
| - "watch": "webpack --watch", |
26 |
| - "package": "webpack --mode production --devtool hidden-source-map", |
27 | 24 | "compile-tests": "tsc -p . --outDir out",
|
28 | 25 | "watch-tests": "tsc -p . -w --outDir out",
|
29 |
| - "pretest": "yarn run compile-tests && yarn run compile && yarn run lint", |
| 26 | + "pretest": "yarn run compile-tests && yarn run build && yarn run lint", |
30 | 27 | "lint": "eslint src --ext ts",
|
31 |
| - "test": "vscode-test" |
| 28 | + "test": "vscode-test", |
| 29 | + "build": "vite build", |
| 30 | + "preview": "vite preview" |
32 | 31 | },
|
33 | 32 | "devDependencies": {
|
34 |
| - "@types/vscode": "^1.87.0", |
| 33 | + "@tomjs/vite-plugin-vscode": "^2.2.0", |
| 34 | + "@tomjs/vscode-extension-webview": "^1.2.0", |
35 | 35 | "@types/mocha": "^10.0.6",
|
36 | 36 | "@types/node": "18.x",
|
| 37 | + "@types/react": "^18.2.75", |
| 38 | + "@types/react-dom": "^18.2.24", |
| 39 | + "@types/vscode": "^1.87.0", |
37 | 40 | "@typescript-eslint/eslint-plugin": "^7.4.0",
|
38 | 41 | "@typescript-eslint/parser": "^7.4.0",
|
| 42 | + "@vitejs/plugin-react-swc": "^3.6.0", |
| 43 | + "@vscode/test-cli": "^0.0.8", |
| 44 | + "@vscode/test-electron": "^2.3.9", |
39 | 45 | "eslint": "^8.57.0",
|
40 |
| - "typescript": "^5.3.3", |
41 | 46 | "ts-loader": "^9.5.1",
|
42 |
| - "webpack": "^5.91.0", |
43 |
| - "webpack-cli": "^5.1.4", |
44 |
| - "@vscode/test-cli": "^0.0.8", |
45 |
| - "@vscode/test-electron": "^2.3.9" |
| 47 | + "typescript": "^5.3.3", |
| 48 | + "vite": "^5.2.8", |
| 49 | + "vite-tsconfig-paths": "^4.3.2" |
| 50 | + }, |
| 51 | + "dependencies": { |
| 52 | + "dbml-to-json-table-schema": "0.0.0", |
| 53 | + "json-table-schema-visualizer": "1.0.0", |
| 54 | + "react": "^18.2.0", |
| 55 | + "react-dom": "^18.2.0", |
| 56 | + "shared": "0.0.0" |
46 | 57 | }
|
47 | 58 | }
|
0 commit comments