package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "name": "nypm",
  3. "version": "0.3.6",
  4. "description": "Unified Package Manager for Node.js",
  5. "repository": "unjs/nypm",
  6. "license": "MIT",
  7. "sideEffects": false,
  8. "type": "module",
  9. "exports": {
  10. ".": {
  11. "types": "./dist/index.d.ts",
  12. "import": "./dist/index.mjs",
  13. "require": "./dist/index.cjs"
  14. }
  15. },
  16. "bin": {
  17. "nypm": "./dist/cli.mjs"
  18. },
  19. "main": "./dist/index.cjs",
  20. "module": "./dist/index.mjs",
  21. "types": "./dist/index.d.ts",
  22. "files": [
  23. "dist"
  24. ],
  25. "scripts": {
  26. "build": "unbuild",
  27. "dev": "vitest dev",
  28. "lint": "eslint --ext .ts,.js,.mjs,.cjs . && prettier -c src test",
  29. "lint:fix": "eslint --ext .ts,.js,.mjs,.cjs . --fix && prettier -w src test",
  30. "prepack": "unbuild",
  31. "nypm": "jiti src/cli.ts",
  32. "release": "pnpm test && pnpm build && changelogen --release --push && pnpm publish",
  33. "test": "pnpm lint && pnpm test:types && vitest run --coverage",
  34. "test:types": "tsc --noEmit"
  35. },
  36. "dependencies": {
  37. "citty": "^0.1.5",
  38. "execa": "^8.0.1",
  39. "pathe": "^1.1.2",
  40. "ufo": "^1.3.2"
  41. },
  42. "devDependencies": {
  43. "@types/node": "^20.11.5",
  44. "@vitest/coverage-v8": "^1.2.1",
  45. "changelogen": "^0.5.5",
  46. "eslint": "^8.56.0",
  47. "eslint-config-unjs": "^0.2.1",
  48. "jiti": "^1.21.0",
  49. "prettier": "^3.2.4",
  50. "std-env": "^3.7.0",
  51. "typescript": "^5.3.3",
  52. "unbuild": "^2.0.0",
  53. "vitest": "^1.2.1"
  54. },
  55. "packageManager": "pnpm@8.14.1",
  56. "engines": {
  57. "node": "^14.16.0 || >=16.10.0"
  58. }
  59. }