package.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "name": "detect-package-manager",
  3. "version": "2.0.1",
  4. "description": "Detect which package manager you're using (yarn or npm)",
  5. "repository": {
  6. "url": "egoist/detect-package-manager",
  7. "type": "git"
  8. },
  9. "main": "dist/index.js",
  10. "module": "dist/index.mjs",
  11. "exports": {
  12. ".": {
  13. "require": "./dist/index.js",
  14. "default": "./dist/index.mjs"
  15. }
  16. },
  17. "types": "./dist/index.d.ts",
  18. "files": [
  19. "dist"
  20. ],
  21. "keywords": [
  22. "npm",
  23. "yarn",
  24. "package-manager",
  25. "detect",
  26. "check",
  27. "pnpm"
  28. ],
  29. "scripts": {
  30. "build": "tsup src/index.ts --format esm,cjs --dts",
  31. "test": "node -r sucrase/register test.ts",
  32. "prepublishOnly": "npm run build"
  33. },
  34. "author": "egoist <0x142857@gmail.com>",
  35. "license": "MIT",
  36. "dependencies": {
  37. "execa": "^5.1.1"
  38. },
  39. "devDependencies": {
  40. "@types/node": "^16.11.4",
  41. "ava": "^3.15.0",
  42. "sucrase": "^3.20.3",
  43. "tsup": "^5.4.4",
  44. "typescript": "^4.4.4",
  45. "uvu": "^0.5.2"
  46. },
  47. "engines": {
  48. "node": ">=12"
  49. }
  50. }