UNPKG

fd-package-json

Version:

Utilities for finding the closest package.json file

64 lines (63 loc) 1.5 kB
{ "name": "fd-package-json", "version": "2.0.0", "description": "Utilities for finding the closest package.json file", "files": [ "lib", "!lib/test" ], "scripts": { "clean": "premove dist lib", "build": "npm run clean && tsc", "lint:format": "prettier --check src", "format": "prettier --write src", "lint": "npm run lint:format && eslint src", "test": "c8 node --test lib/**/*_test.js", "prepare": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/es-tooling/fd-package-json.git" }, "keywords": [ "package-json", "find-pkg", "pkg-up", "find-up", "find", "walk", "parents", "parent" ], "author": "James Garbutt (https://github.com/43081j)", "license": "MIT", "bugs": { "url": "https://github.com/es-tooling/fd-package-json/issues" }, "homepage": "https://github.com/es-tooling/fd-package-json#readme", "devDependencies": { "@eslint/js": "^9.27.0", "@types/node": "^20.11.24", "c8": "^10.1.3", "eslint": "^9.27.0", "eslint-config-google": "^0.14.0", "premove": "^4.0.0", "prettier": "^3.5.3", "typescript": "^5.8.3", "typescript-eslint": "^8.32.1" }, "exports": { ".": { "import": { "default": "./lib/main.js" } }, "./package.json": "./package.json" }, "type": "module", "main": "./lib/main.js", "types": "./lib/main.d.ts", "dependencies": { "walk-up-path": "^4.0.0" } }