UNPKG

clone-deep-non-nil

Version:

A package to replicate Lodash's `cloneDeep`/`cloneDeepWith` behavior while also removing any `undefined` or `null` values

97 lines 2.4 kB
{ "name": "clone-deep-non-nil", "version": "0.1.0", "description": "A package to replicate Lodash's `cloneDeep`/`cloneDeepWith` behavior while also removing any `undefined` or `null` values", "author": "shadowgate15 (https://github.com/shadowgate15)", "license": "MIT", "homepage": "https://github.com/shadowgate15/clone-deep-non-nil", "repository": { "type": "git", "url": "git+https://github.com/shadowgate15/clone-deep-non-nil.git" }, "bugs": { "url": "https://github.com/shadowgate15/clone-deep-non-nil/issues" }, "keywords": [ "typescript", "lodash", "clone", "deep", "clone-deep", "clone-deep-with", "cloneDeep", "cloneDeepWith" ], "sideEffects": false, "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.cjs", "import": "./dist/index.mjs" } }, "main": "./dist/index.mjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "typesVersions": { "*": { "*": [ "./dist/*", "./dist/index.d.ts" ] } }, "files": [ "dist" ], "engines": { "node": ">=v18.19.80", "pnpm": ">=10.6.1" }, "devDependencies": { "@types/node": "^18.19.80", "bumpp": "^10.0.3", "commitizen": "^4.3.1", "conventional-changelog-cli": "^5.0.0", "cz-git": "^1.11.1", "esno": "^4.8.0", "lint-staged": "^15.4.3", "rimraf": "^6.0.1", "simple-git-hooks": "^2.11.1", "typescript": "^5.8.2", "unbuild": "^3.5.0", "vite": "^6.2.1", "vitest": "^3.0.8", "xo": "^0.60.0" }, "simple-git-hooks": { "pre-commit": "npx --no-install lint-staged", "commit-msg": "npx --no -- commitlint --edit $1" }, "lint-staged": { "*.{js,jsx,ts,tsx,vue}": "xo --fix" }, "config": { "commitizen": { "path": "node_modules/cz-git" } }, "xo": { "semicolon": false, "space": 2, "prettier": true }, "scripts": { "build": "unbuild", "dev": "unbuild --stub", "lint": "xo .", "lint:fix": "xo . --fix", "fresh": "rimraf node_modules/ pnpm-lock.yaml && pnpm i", "commit": "git cz", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", "release": "npx bumpp package.json --execute 'pnpm run changelog' --all", "start": "esno src/index.ts", "test": "vitest", "typecheck": "tsc --noEmit" } }