|
4 | 4 | "description": "Material Design Icons for Visual Studio Code", |
5 | 5 | "version": "5.4.2", |
6 | 6 | "scripts": { |
7 | | - "build": "bun run ./build/build-with-esbuild.ts", |
| 7 | + "precompile": "rimraf dist && bun run verify", |
| 8 | + "compile": "tsc -p ./", |
| 9 | + "compile:declarations": "tsc -p ./tsconfig.declarations.json", |
| 10 | + "postcompile": "bun run compile:declarations && bun run generateJson && bun run generateClones && bun run check", |
| 11 | + "build": "bun run compile && bun run ./build/build-with-esbuild.ts", |
8 | 12 | "watch": "bun run ./build/watch-with-esbuild.ts", |
9 | 13 | "changelog": "changelog-machine --config changelog.config.json", |
10 | 14 | "check-colors": "bun run ./src/scripts/svg/checkSvgColors.ts", |
11 | | - "check": "bun ./src/scripts/icons/checks", |
12 | | - "contributors": "bun ./src/scripts/contributors/index.ts", |
13 | | - "generateJson": "bun ./src/scripts/icons/generateJson.ts", |
| 15 | + "check": "bun ./src/scripts/icons/checks/run.ts", |
| 16 | + "contributors": "bun ./src/scripts/contributors/contributors.ts", |
| 17 | + "generateJson": "bun ./src/scripts/icons/generateJson.ts > dist/material-icons.json", |
| 18 | + "generateClones": "bun ./src/scripts/icons/generateClones.ts", |
14 | 19 | "lint": "bunx @biomejs/biome check --write ./src", |
15 | 20 | "format": "bunx @biomejs/biome format --write ./src", |
16 | | - "postcompile": "bun run generateJson && bun run check", |
17 | | - "pretest": "bun run build && tsc -p ./", |
18 | 21 | "preversion": "bun run contributors && git add images/contributors.png && bun run preview && git add images/fileIcons.png && git add images/folderIcons.png && bun run svgo && git add icons/*.svg", |
19 | | - "preview": "bun ./src/scripts/preview", |
| 22 | + "preview": "bun ./src/scripts/preview/run.ts", |
20 | 23 | "svgo": "svgo -i icons -o icons -q", |
21 | | - "test-compile": "tsc -p ./", |
22 | | - "test": "bun ./out/test/runTest.js", |
| 24 | + "test": "bun test", |
23 | 25 | "version": "bun run changelog && git add CHANGELOG.md", |
24 | | - "vscode:prepublish": "bun run lint && bun run build && bun run postcompile" |
| 26 | + "vscode:prepublish": "bun run lint && bun run build", |
| 27 | + "verify": "bunx sheriff verify", |
| 28 | + "prepublishOnly": "bun run ./src/scripts/module/prepare.ts", |
| 29 | + "postpublish": "git checkout package.json && git checkout README.md" |
25 | 30 | }, |
26 | 31 | "publisher": "PKief", |
27 | 32 | "author": { |
|
39 | 44 | "homepage": "https://github.com/material-extensions/vscode-material-icon-theme/blob/main/README.md", |
40 | 45 | "repository": { |
41 | 46 | "type": "git", |
42 | | - "url": "https://github.com/material-extensions/vscode-material-icon-theme.git" |
| 47 | + "url": "git+https://github.com/material-extensions/vscode-material-icon-theme.git" |
43 | 48 | }, |
44 | 49 | "bugs": { |
45 | 50 | "url": "https://github.com/material-extensions/vscode-material-icon-theme/issues" |
|
59 | 64 | "virtualWorkspaces": true |
60 | 65 | }, |
61 | 66 | "activationEvents": ["onStartupFinished"], |
62 | | - "main": "./dist/extension.cjs", |
63 | | - "browser": "./dist/web/extension.cjs", |
| 67 | + "main": "./dist/extension/desktop/extension.cjs", |
| 68 | + "browser": "./dist/extension/web/extension.cjs", |
| 69 | + "module": "./dist/module/index.cjs", |
| 70 | + "types": "./dist/types/module/index.d.ts", |
64 | 71 | "sideEffects": false, |
65 | | - "files": ["icons", "dist/material-icons.json"], |
| 72 | + "files": [ |
| 73 | + "icons", |
| 74 | + "dist/material-icons.json", |
| 75 | + "dist/module/index.cjs", |
| 76 | + "dist/types" |
| 77 | + ], |
66 | 78 | "contributes": { |
67 | 79 | "iconThemes": [ |
68 | 80 | { |
|
292 | 304 | }, |
293 | 305 | "dependencies": { |
294 | 306 | "chroma-js": "^2.4.2", |
295 | | - "lodash.merge": "4.6.2", |
| 307 | + "lodash-es": "^4.17.21", |
296 | 308 | "svgson": "^5.3.1" |
297 | 309 | }, |
298 | 310 | "devDependencies": { |
299 | 311 | "@biomejs/biome": "1.8.2", |
| 312 | + "@softarc/sheriff-core": "^0.15.1", |
300 | 313 | "@types/chroma-js": "^2.4.4", |
301 | 314 | "@types/glob": "^7.2.0", |
302 | | - "@types/lodash.merge": "^4.6.7", |
| 315 | + "@types/lodash-es": "^4.17.12", |
303 | 316 | "@types/puppeteer": "^5.4.6", |
304 | 317 | "@types/vscode": "~1.51.0", |
305 | 318 | "@vscode/test-electron": "^2.3.9", |
|
309 | 322 | "esbuild": "^0.21.4", |
310 | 323 | "glob": "^8.0.3", |
311 | 324 | "puppeteer": "^22.11.0", |
312 | | - "rimraf": "^3.0.2", |
| 325 | + "rimraf": "^6.0.0", |
313 | 326 | "svg-color-linter": "^1.3.0", |
314 | 327 | "svgo": "^2.8.0", |
315 | | - "typescript": "^4.7.2" |
| 328 | + "typescript": "^5.5.3" |
316 | 329 | } |
317 | 330 | } |
0 commit comments