|
86 | 86 | ], |
87 | 87 | "main": "./dist/extension.js", |
88 | 88 | "devDependencies": { |
| 89 | + "@rollup/plugin-commonjs": "^25.0.5", |
| 90 | + "@rollup/plugin-node-resolve": "^15.2.3", |
| 91 | + "@rollup/plugin-swc": "^0.2.1", |
| 92 | + "@rollup/plugin-terser": "^0.4.4", |
| 93 | + "@swc-node/register": "^1.6.8", |
89 | 94 | "@types/chai": "^4.3.5", |
90 | 95 | "@types/debounce-promise": "^3.1.6", |
91 | 96 | "@types/glob": "^8.1.0", |
92 | 97 | "@types/json-parse-safe": "^2.0.0", |
93 | 98 | "@types/mocha": "^10.0.1", |
94 | | - "@types/node": "^16.18.39", |
| 99 | + "@types/node": "^18.15.0", |
95 | 100 | "@types/readline-transform": "^1.0.1", |
96 | 101 | "@typescript-eslint/eslint-plugin": "^5.62.0", |
97 | 102 | "@typescript-eslint/parser": "^5.62.0", |
98 | 103 | "@vscode/dts": "^0.4.0", |
99 | | - "@vscode/test-electron": "^2.3.3", |
| 104 | + "@vscode/test-electron": "^2.3.5", |
100 | 105 | "@vscode/vsce": "^2.19.0", |
101 | 106 | "chai": "^4.3.7", |
| 107 | + "debounce-promise": "^3.1.2", |
102 | 108 | "esbuild": "^0.18.16", |
103 | 109 | "eslint": "^8.45.0", |
104 | 110 | "eslint-config-prettier": "^8.8.0", |
|
107 | 113 | "eslint-plugin-n": "^15.7.0", |
108 | 114 | "eslint-plugin-promise": "^6.1.1", |
109 | 115 | "glob": "^10.3.3", |
| 116 | + "json-parse-safe": "^2.0.0", |
| 117 | + "lookpath": "^1.2.2", |
110 | 118 | "mocha": "^10.2.0", |
111 | 119 | "mocha-multi-reporters": "^1.5.1", |
| 120 | + "path": "^0.12.7", |
| 121 | + "pkgroll": "^2.0.1", |
112 | 122 | "prettier": "^2.8.8", |
113 | 123 | "prettier-eslint": "^15.0.1", |
| 124 | + "readline-transform": "^1.0.0", |
| 125 | + "rollup": "^3.29.4", |
114 | 126 | "sinon": "^15.2.0", |
115 | | - "source-map-support": "^0.5.21", |
116 | | - "tsx": "^3.12.7", |
| 127 | + "tslog": "^4.9.2", |
117 | 128 | "typescript": "^5.1.6", |
118 | 129 | "utility-types": "^3.10.0" |
119 | 130 | }, |
120 | | - "dependencies": { |
121 | | - "@ctiterm/strip-ansi": "^1.0.0", |
122 | | - "debounce-promise": "^3.1.2", |
123 | | - "json-parse-safe": "^2.0.0", |
124 | | - "lookpath": "^1.2.2", |
125 | | - "path": "^0.12.7", |
126 | | - "readline-transform": "^1.0.0", |
127 | | - "tslog": "^4.8.2" |
128 | | - }, |
129 | 131 | "extensionDependencies": [ |
130 | 132 | "ms-vscode.powershell" |
131 | 133 | ], |
|
143 | 145 | } |
144 | 146 | ], |
145 | 147 | "scripts": { |
146 | | - "esbuild-base": "esbuild --format=cjs --platform=node --bundle --outdir=dist --external:vscode --external:@vscode/test-electron extension=src/extension.ts --metafile=dist/esbuild.json --sourcemap", |
147 | | - "build": "vsce package --no-update-package-json --no-git-tag-version --no-dependencies", |
| 148 | + "package": "vsce package --no-update-package-json --no-git-tag-version --no-dependencies", |
148 | 149 | "publish": "pnpm run publishStable --pre-release --no-git-tag-version", |
149 | 150 | "publishStable": "vsce publish --no-update-package-json --no-dependencies", |
150 | | - "tsc": "tsc", |
151 | | - "build-watch": "pnpm run esbuild-base --watch", |
152 | | - "build-test-watch": "pnpm run tsc --incremental --watch", |
153 | | - "lint": "prettier --check .", |
154 | | - "test-powershell": "mocha --exit -b dist/src/**/*.test.js", |
155 | | - "test": "node ./dist/test/RunTests.js", |
| 151 | + "build": "rollup --config", |
| 152 | + "build-watch": "pnpm run build --watch", |
| 153 | + "lint-eslint": "eslint . --ext .ts", |
| 154 | + "lint-prettier": "prettier --check .", |
| 155 | + "lint-tsc": "tsc --noemit", |
| 156 | + "lint": "pnpm lint-eslint || pnpm lint-prettier || pnpm lint-tsc", |
| 157 | + "test-mocha": "mocha", |
| 158 | + "test-mocha-vscode": "node -r @swc-node/register test/runTests.ts", |
| 159 | + "test": "pnpm test-mocha && pnpm test-mocha-vscode", |
| 160 | + "test-watch": "pnpm test-mocha --watch", |
156 | 161 | "download-api": "vscode-dts main", |
157 | 162 | "postdownload-api": "vscode-dts main", |
158 | | - "vscode:prepublish": "pnpm run esbuild-base --minify" |
| 163 | + "vscode:prepublish": "pnpm run build" |
| 164 | + }, |
| 165 | + "dependencies": { |
| 166 | + "@ctiterm/strip-ansi": "^1.0.0", |
| 167 | + "@swc/core": "^1.3.92" |
159 | 168 | } |
160 | 169 | } |
0 commit comments