UNPKG

@antfu/ni

Version:
98 lines 2.36 kB
{ "name": "@antfu/ni", "type": "module", "version": "30.0.0", "description": "Use the right package manager", "author": "Anthony Fu <anthonyfu117@hotmail.com>", "license": "MIT", "homepage": "https://github.com/antfu-collective/ni#readme", "repository": { "type": "git", "url": "git+https://github.com/antfu-collective/ni.git" }, "bugs": { "url": "https://github.com/antfu-collective/ni/issues" }, "exports": { ".": "./dist/index.mjs", "./na": "./dist/na.mjs", "./nci": "./dist/nci.mjs", "./nd": "./dist/nd.mjs", "./ni": "./dist/ni.mjs", "./nlx": "./dist/nlx.mjs", "./nr": "./dist/nr.mjs", "./nun": "./dist/nun.mjs", "./nup": "./dist/nup.mjs", "./package.json": "./package.json" }, "types": "./dist/index.d.mts", "bin": { "ni": "bin/ni.mjs", "nci": "bin/nci.mjs", "nr": "bin/nr.mjs", "nup": "bin/nup.mjs", "nd": "bin/nd.mjs", "nlx": "bin/nlx.mjs", "na": "bin/na.mjs", "nun": "bin/nun.mjs" }, "files": [ "bin", "dist" ], "engines": { "node": ">=20.19.0" }, "dependencies": { "fzf": "^0.5.2", "package-manager-detector": "^1.6.0", "tinyexec": "^1.0.4", "tinyglobby": "^0.2.15" }, "inlinedDependencies": { "@posva/prompts": "2.4.4", "fast-npm-meta": "1.4.2", "ini": "6.0.0", "isexe": "4.0.0", "kleur": "4.1.5", "pnpm-workspace-yaml": "1.6.0", "sisteransi": "1.0.5", "which": "6.0.1", "yaml": "2.8.2" }, "devDependencies": { "@antfu/eslint-config": "^7.7.3", "@posva/prompts": "^2.4.4", "@types/ini": "^4.1.1", "@types/node": "^25.5.0", "@types/which": "^3.0.4", "bumpp": "^11.0.1", "eslint": "^10.1.0", "fast-npm-meta": "^1.4.2", "ini": "^6.0.0", "lint-staged": "^16.4.0", "pnpm-workspace-yaml": "^1.6.0", "simple-git-hooks": "^2.13.1", "taze": "^19.10.0", "tsdown": "^0.21.4", "tsx": "^4.21.0", "typescript": "^5.9.3", "vitest": "^4.1.0", "which": "^6.0.1" }, "simple-git-hooks": { "pre-commit": "pnpm lint-staged" }, "lint-staged": { "*": "eslint --fix" }, "scripts": { "dev": "tsx src/commands/ni.ts", "nr": "tsx src/commands/nr.ts", "build": "tsdown", "release": "bumpp", "typecheck": "tsc --noEmit", "lint": "eslint", "test": "vitest" } }