@simon_he/pi
Version:
Project-aware CLI that detects npm, pnpm, yarn, bun, Go, Rust and Python projects, then routes installs, scripts, builds and workspace commands automatically.
117 lines (116 loc) • 2.9 kB
JSON
{
"name": "@simon_he/pi",
"type": "module",
"version": "0.2.19",
"packageManager": "pnpm@10.33.4",
"description": "Project-aware CLI that detects npm, pnpm, yarn, bun, Go, Rust and Python projects, then routes installs, scripts, builds and workspace commands automatically.",
"author": {
"name": "Simon He",
"url": "https://github.com/Simon-He95"
},
"license": "MIT",
"funding": "https://github.com/sponsors/Simon-He95",
"homepage": "https://github.com/Simon-He95/pi#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Simon-He95/pi.git"
},
"bugs": "https://github.com/Simon-He95/pi/issues",
"keywords": [
"cli",
"developer-tools",
"project-cli",
"command-runner",
"script-runner",
"npm-scripts",
"package-manager",
"package-manager-detector",
"npm",
"pnpm",
"yarn",
"bun",
"monorepo",
"workspace",
"pnpm-workspace",
"fuzzy-search",
"go-mod",
"cargo",
"rust",
"go",
"python"
],
"sideEffects": false,
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"bin": {
"pi": "./pi.mjs",
"pio": "./pio.mjs",
"pix": "./pix.mjs",
"pa": "./pa.mjs",
"pu": "./pu.mjs",
"pci": "./pci.mjs",
"pil": "./pil.mjs",
"pui": "./pui.mjs",
"prun": "./prun.mjs",
"pinit": "./pinit.mjs",
"pbuild": "./pbuild.mjs",
"pfind": "./pfind.mjs"
},
"files": [
"*.mjs",
"README_zh.md",
"dist"
],
"engines": {
"node": ">=18"
},
"scripts": {
"build": "tsdown ./src/index.ts ./src/cli.ts --format cjs,esm --target node18 --clean",
"dev": "pnpm build --watch src",
"format": "prettier --write --cache .",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"pack:check": "pnpm build && npm pack --dry-run",
"prepublishOnly": "pnpm lint && pnpm smoke:packed",
"release": "bumpp && npm publish",
"smoke": "pnpm smoke:packed",
"smoke:packed": "pnpm build && node ./scripts/smoke-packed.mjs",
"start": "tsx src/cli.ts",
"test": "vitest"
},
"dependencies": {
"ccommand": "^1.1.11",
"fast-glob": "^3.3.3",
"lazy-js-utils": "^0.1.51",
"ora": "^8.2.0",
"picocolors": "^1.1.1"
},
"devDependencies": {
"@antfu/eslint-config": "^6.7.3",
"@types/node": "^18.19.0",
"bumpp": "^10.4.1",
"eslint": "^9.39.4",
"lint-staged": "^13.3.0",
"prettier": "^2.8.8",
"tsdown": "^0.20.3",
"tsx": "^4.22.1",
"typescript": "^5.9.3",
"vitest": "^3.2.4"
},
"lint-staged": {
"*.{vue,js,ts,jsx,tsx,md,json}": "eslint . --fix"
}
}