UNPKG

ancesdir

Version:

Find a specific ancestor/root directory given a starting location and a search parameter

87 lines 2.77 kB
{ "name": "ancesdir", "version": "7.0.0", "description": "Find a specific ancestor/root directory given a starting location and a search parameter", "types": "dist/index.d.ts", "main": "dist/index.js", "module": "dist/es/index.js", "repository": "https://github.com/somewhatabstract/ancesdir.git", "bugs": { "url": "https://github.com/somewhatabstract/ancesdir/issues" }, "author": "Jeff Yates <jeff@somewhatabstract.com>", "license": "MIT", "private": false, "engines": { "node": ">=20", "npm": "please-use-pnpm", "yarn": "please-use-pnpm" }, "keywords": [ "find", "ancestor", "utility", "root", "directory", "folder", "project", "repository" ], "files": [ "dist" ], "devDependencies": { "@babel/cli": "^7.27.0", "@babel/core": "^7.26.10", "@babel/eslint-parser": "^7.27.0", "@babel/eslint-plugin": "^7.27.0", "@babel/preset-env": "^7.26.9", "@babel/preset-typescript": "^7.27.0", "@changesets/cli": "^2.28.1", "@codecov/rollup-plugin": "^1.9.0", "@eslint/compat": "^1.2.8", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.24.0", "@khanacademy/eslint-config": "^5.2.1", "@khanacademy/eslint-plugin": "^3.1.2", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-terser": "^0.4.4", "@types/jest": "^29.5.14", "@types/node": "^20.14.2", "@typescript-eslint/eslint-plugin": "^8.29.0", "@typescript-eslint/parser": "^8.29.0", "babel-jest": "^29.7.0", "eslint": "^9.24.0", "eslint-config-prettier": "^10.1.1", "eslint-import-resolver-typescript": "^4.3.1", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jest": "^28.11.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-prettier": "^5.2.6", "eslint-plugin-react": "^7.37.5", "globals": "^16.0.0", "jest": "^29.7.0", "jest-extended": "^4.0.2", "prettier": "^3.5.3", "rollup": "^4.39.0", "rollup-plugin-filesize": "^10.0.0", "typescript": "^5.8.3" }, "resolutions": { "nanomatch>kind-of": "^6.0.3", "micromatch>kind-of": "^6.0.3", "is-descriptor>kind-of": "^6.0.3" }, "scripts": { "clean": "rm -rf dist", "build": "pnpm test && rollup -c && pnpm build:types", "build:types": "tsc --emitDeclarationOnly --declaration --project tsconfig-types.json", "test": "jest --colors --config jest.config.js", "coverage": "jest --colors --config jest.config.js --coverage", "typecheck": "tsc --noEmit --project tsconfig.json", "publish:ci": "git diff --stat --exit-code HEAD && pnpm build && changeset publish" } }