UNPKG

used-pm

Version:

Detects what package manager executes the process

76 lines (75 loc) 1.94 kB
{ "name": "used-pm", "version": "1.1.1", "description": "Detects what package manager executes the process", "keywords": [ "npm", "yarn", "pnpm", "package-manager" ], "repository": "mheob/used-pm", "funding": "https://github.com/sponsors/mheob", "license": "MIT", "author": "Alexander Böhm <tools@boehm.work>", "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } } }, "types": "./dist/index.d.cts", "files": [ "./dist/" ], "scripts": { "benchmark": "node ./utils/perf.cjs", "build": "rimraf ./dist/* && concurrently \"pnpm build:cjs\" \"pnpm build:esm\"", "build:cjs": "tsc -b ./tsconfig.cjs.json", "build:esm": "tsc -b ./tsconfig.esm.json", "format": "prettier --write \"**/*.{cjs,js,mjs,ts,json,md,mdx,yml}\"", "lint": "eslint . --ext .cjs,.js,.mjs,.ts --fix --ignore-path .gitignore", "prepare": "husky install", "test": "vitest", "test:coverage": "vitest run --coverage" }, "lint-staged": { "*.{cjs,js,mjs,ts}": "eslint --fix", "!(pnpm-)*.{cjs,js,mjs,ts,json,md,mdx,yaml,yml}": "pnpm exec prettier --write", "package.json": "npx sort-package-json" }, "config": { "commitizen": { "path": "node_modules/cz-git" } }, "devDependencies": { "@commitlint/cli": "^18.6.1", "@commitlint/config-conventional": "^18.6.2", "@mheob/commitlint-config": "^1.1.1", "@mheob/eslint-config": "^5.2.0", "@mheob/prettier-config": "^3.2.0", "@mheob/tsconfig": "^2.0.0", "@types/node": "^20.11.20", "@vitest/coverage-v8": "^1.3.1", "commitizen": "^4.3.0", "concurrently": "^8.2.2", "cz-git": "^1.8.0", "eslint": "^8.57.0", "husky": "^9.0.11", "lint-staged": "^15.2.2", "prettier": "^3.2.5", "rimraf": "^5.0.5", "typescript": "^5.3.3", "vitest": "^1.3.1" }, "publishConfig": { "access": "public" } }