package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "local-pkg",
  3. "type": "module",
  4. "version": "1.1.1",
  5. "packageManager": "pnpm@10.5.2",
  6. "description": "Get information on local packages.",
  7. "author": "Anthony Fu <anthonyfu117@hotmail.com>",
  8. "license": "MIT",
  9. "funding": "https://github.com/sponsors/antfu",
  10. "homepage": "https://github.com/antfu/local-pkg#readme",
  11. "repository": {
  12. "type": "git",
  13. "url": "git+https://github.com/antfu/local-pkg.git"
  14. },
  15. "bugs": {
  16. "url": "https://github.com/antfu/local-pkg/issues"
  17. },
  18. "keywords": [
  19. "package"
  20. ],
  21. "sideEffects": false,
  22. "exports": {
  23. ".": {
  24. "types": "./dist/index.d.ts",
  25. "import": "./dist/index.mjs",
  26. "require": "./dist/index.cjs"
  27. }
  28. },
  29. "main": "dist/index.cjs",
  30. "module": "dist/index.mjs",
  31. "types": "dist/index.d.ts",
  32. "files": [
  33. "dist"
  34. ],
  35. "engines": {
  36. "node": ">=14"
  37. },
  38. "scripts": {
  39. "prepublishOnly": "nr build",
  40. "build": "unbuild",
  41. "lint": "eslint .",
  42. "release": "bumpp && npm publish",
  43. "typecheck": "tsc --noEmit",
  44. "test": "vitest run && node ./test/cjs.cjs && node ./test/esm.mjs"
  45. },
  46. "dependencies": {
  47. "mlly": "^1.7.4",
  48. "pkg-types": "^2.0.1",
  49. "quansync": "^0.2.8"
  50. },
  51. "devDependencies": {
  52. "@antfu/eslint-config": "^4.4.0",
  53. "@antfu/ni": "^23.3.1",
  54. "@antfu/utils": "^9.1.0",
  55. "@types/chai": "^5.0.1",
  56. "@types/node": "^22.13.8",
  57. "bumpp": "^10.0.3",
  58. "chai": "^5.2.0",
  59. "eslint": "^9.21.0",
  60. "esno": "^4.8.0",
  61. "find-up-simple": "^1.0.1",
  62. "typescript": "^5.8.2",
  63. "unbuild": "^3.5.0",
  64. "unplugin-quansync": "^0.3.3",
  65. "vitest": "^3.0.7"
  66. },
  67. "pnpm": {
  68. "onlyBuiltDependencies": [
  69. "esbuild"
  70. ]
  71. }
  72. }