UNPKG

@thingsinc/treejs

Version:

Simple Model for manipulating tree structure.

56 lines (55 loc) 1.46 kB
{ "name": "@thingsinc/treejs", "version": "0.2.5", "description": "Simple Model for manipulating tree structure.", "keywords": [ "tree", "treemodel", "javascript", "node", "hierarchy", "structure" ], "license": "MIT", "author": "Yuki Shimizu", "sideEffects": false, "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/esm/index.d.ts", "files": [ "dist", "package.json", "LICENSE", "README.md", "src" ], "scripts": { "build": "rm -rf dist && bun run build:cjs && bun run build:esm", "build:cjs": "tsc -p tsconfig.cjs.json", "build:esm": "tsc -p tsconfig.esm.json", "check": "bun run typecheck && biome check ./src", "check:fix": "biome check ./src", "format": "biome format ./src --write", "lint": "biome lint ./src", "lint:fix": "biome lint --apply-unsafe ./src", "release": "np --no-tests", "typecheck": "bun run typecheck:esm && bun run typecheck:cjs", "typecheck:cjs": "tsc --pretty --noEmit -p tsconfig.cjs.json", "typecheck:esm": "tsc --pretty --noEmit -p tsconfig.esm.json" }, "dependencies": { "uuid": "^9.0.1" }, "devDependencies": { "@biomejs/biome": "^1.6.4", "@types/bun": "^1.0.12", "@types/uuid": "^9.0.8", "lefthook": "^1.6.8", "np": "^10.0.2", "sort-package-json": "^2.10.0", "typescript": "^5.4.4" }, "publishConfig": { "access": "public" } }