UNPKG

@antfu/ni

Version:

Use the right package manager

70 lines (69 loc) 1.84 kB
{ "name": "@antfu/ni", "version": "0.14.0", "description": "Use the right package manager", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/antfu/ni.git" }, "author": "Anthony Fu <anthonyfu117@hotmail.com>", "files": [ "dist", "bin" ], "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "bin": { "ni": "bin/ni.js", "nci": "bin/nci.js", "nr": "bin/nr.js", "nu": "bin/nu.js", "nx": "bin/nx.js", "nun": "bin/nun.js" }, "bugs": { "url": "https://github.com/antfu/ni/issues" }, "homepage": "https://github.com/antfu/ni#readme", "scripts": { "prepublishOnly": "rimraf dist && npm run build", "watch": "npm run build -- --watch", "?ni": "npm install", "ni": "esno src/ni.ts", "nci": "esno src/nci.ts", "nr": "esno src/nr.ts", "nu": "esno src/nu.ts", "nx": "esno src/nx.ts", "nun": "esno src/nun.ts", "dev": "esno src/ni.ts", "build": "rimraf dist && tsup src/ni.ts src/nci.ts src/nr.ts src/nu.ts src/nx.ts src/nun.ts src/index.ts --format cjs,esm --dts", "release": "npx bumpp --commit --push --tag", "lint": "eslint \"**/*.ts\"", "lint:fix": "npm run lint -- --fix", "test": "vitest" }, "devDependencies": { "@antfu/eslint-config-ts": "^0.18.9", "@types/ini": "^1.3.31", "@types/node": "^17.0.23", "@types/prompts": "^2.4.0", "@types/which": "^2.0.1", "eslint": "^8.12.0", "esno": "^0.14.1", "execa": "^6.1.0", "find-up": "^6.3.0", "ini": "^2.0.0", "prompts": "^2.4.2", "rimraf": "^3.0.2", "terminal-link": "^3.0.0", "tsup": "^5.12.1", "typescript": "^4.6.3", "vitest": "^0.7.11", "which": "^2.0.2" }, "eslintConfig": { "extends": "@antfu/eslint-config-ts" } }