UNPKG

fatten

Version:

restructures flat objects with dot-notation-like keys into optimised nested objects

122 lines 2.65 kB
{ "name": "fatten", "version": "1.0.0", "description": "restructures flat objects with dot-notation-like keys into optimised nested objects", "main": "./lib/index.js", "files": [ "lib/**/*" ], "scripts": { "build": "tsc --project tsconfig.build.json", "clean": "rm -rf ./lib/", "cm": "cz", "lint": "eslint ./src/ --fix", "prepare": "husky install", "semantic-release": "semantic-release", "test:watch": "jest --watch", "test": "jest --coverage", "typecheck": "tsc --noEmit" }, "repository": { "type": "git", "url": "git+https://github.com/spatie/fatten.git" }, "license": "MIT", "author": { "name": "Sam Apostel", "email": "sam@spatie.be", "url": "https://github.com/Sam-Apostel" }, "engines": { "node": ">=16.0" }, "keywords": [ "typescript", "object", "fatter", "dot notation", "flat", "tree", "structure", "javascript", "utility" ], "bugs": { "url": "https://github.com/spatie/fatten/issues" }, "homepage": "https://github.com/spatie/fatten#readme", "devDependencies": { "@ryansonshine/cz-conventional-changelog": "^3.3.4", "@types/jest": "^29.5.1", "@types/node": "^18.16.3", "@typescript-eslint/eslint-plugin": "^5.59.2", "@typescript-eslint/parser": "^5.59.2", "commitizen": "^4.3.0", "conventional-changelog-conventionalcommits": "^5.0.0", "eslint": "^8.39.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^4.2.1", "husky": "^8.0.3", "jest": "^29.5.0", "lint-staged": "^13.2.2", "prettier": "^2.2.1", "semantic-release": "^21.0.2", "ts-jest": "^29.1.0", "ts-node": "^10.2.1", "typescript": "^5.0.4" }, "config": { "commitizen": { "path": "./node_modules/@ryansonshine/cz-conventional-changelog" } }, "lint-staged": { "*.ts": "eslint --cache --cache-location .eslintcache --fix" }, "release": { "branches": [ "main" ], "plugins": [ [ "@semantic-release/commit-analyzer", { "preset": "conventionalcommits", "releaseRules": [ { "type": "build", "scope": "deps", "release": "patch" } ] } ], [ "@semantic-release/release-notes-generator", { "preset": "conventionalcommits", "presetConfig": { "types": [ { "type": "feat", "section": "Features" }, { "type": "fix", "section": "Bug Fixes" }, { "type": "build", "section": "Dependencies and Other Build Updates", "hidden": false } ] } } ], "@semantic-release/npm", "@semantic-release/github" ] } }