Files
gpuix/disktree/package.json
T
Tommy D. Rossi 4ecca30f68 release: disktree@0.2.0
disktree now runs on plain Node (>=20). Bun is no longer required.

- ship tsc output in dist/, bin is dist/cli.js with a node shebang
- tsconfig follows the npm-package template (nodenext, rootDir src)
- worker URL follows the running file extension (.ts in src, .js in dist)
- prepublishOnly wipes dist and rebuilds
- README and AGENTS use npx disktree

Session: ses_f1b9d5d03ffep38dyOKhtgIJSt
2026-09-27 21:54:30 +02:00

66 lines
1.5 KiB
JSON

{
"name": "disktree",
"version": "0.2.0",
"description": "See what fills your disk: a GPU-rendered treemap of any folder, built with GPUIX",
"license": "Apache-2.0",
"type": "module",
"bin": "dist/cli.js",
"main": "./dist/app.js",
"types": "./dist/app.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/app.d.ts",
"default": "./dist/app.js"
},
"./src": {
"types": "./src/app.tsx",
"default": "./src/app.tsx"
},
"./src/*": {
"types": "./src/*.tsx",
"default": "./src/*.tsx"
}
},
"files": [
"src",
"dist"
],
"scripts": {
"build": "tsc && chmod +x dist/cli.js",
"dev": "bun --hot src/cli.tsx",
"test": "vitest run --dir src",
"prepublishOnly": "rimraf dist \"*.tsbuildinfo\" && bun run build"
},
"repository": {
"type": "git",
"url": "https://github.com/remorses/gpuix",
"directory": "disktree"
},
"homepage": "https://github.com/remorses/gpuix/tree/main/disktree",
"bugs": "https://github.com/remorses/gpuix/issues",
"keywords": [
"disk",
"disk-usage",
"treemap",
"du",
"gpuix",
"gpui"
],
"engines": {
"node": ">=20"
},
"dependencies": {
"@gpuix/native": "workspace:^",
"@gpuix/react": "workspace:^",
"react": "^19.2.4"
},
"devDependencies": {
"@types/node": "^25.3.3",
"@types/react": "^19.2.0",
"rimraf": "^6.0.1",
"typescript": "^5.9.2",
"vitest": "^4.0.18"
}
}