UNPKG

files-to-tree

Version:

Convert file path objects to hierarchical tree structures

58 lines (57 loc) 1.46 kB
{ "name": "files-to-tree", "version": "2.0.0", "description": "Convert file path objects to hierarchical tree structures", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" } }, "files": [ "dist" ], "scripts": { "build": "tsup src/index.ts --format cjs,esm --dts", "dev": "tsup src/index.ts --format cjs,esm --dts --watch", "test": "vitest", "test:coverage": "vitest --coverage", "prepublishOnly": "npm run build", "lint": "eslint src --ext .ts", "format": "prettier --write src" }, "keywords": [ "file-tree", "directory-structure", "tree-structure", "file-paths", "typescript" ], "author": "KlyneChrysler", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/KlyneChrysler/files-to-tree.git" }, "bugs": { "url": "https://github.com/KlyneChrysler/files-to-tree/issues" }, "homepage": "https://github.com/KlyneChrysler/files-to-tree#readme", "devDependencies": { "@types/node": "^20.19.11", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "eslint": "^8.57.1", "prettier": "^3.6.2", "tsup": "^8.5.0", "typescript": "^5.9.2", "vitest": "^1.6.1" }, "engines": { "node": ">=14.0.0" } }