package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "local-pkg",
  3. "type": "module",
  4. "version": "0.5.1",
  5. "packageManager": "pnpm@9.13.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.3",
  48. "pkg-types": "^1.2.1"
  49. },
  50. "devDependencies": {
  51. "@antfu/eslint-config": "^3.9.2",
  52. "@antfu/ni": "^0.23.1",
  53. "@antfu/utils": "^0.7.10",
  54. "@types/chai": "^5.0.1",
  55. "@types/node": "^22.9.0",
  56. "bumpp": "^9.8.1",
  57. "chai": "^5.1.2",
  58. "eslint": "^9.15.0",
  59. "esno": "^4.8.0",
  60. "find-up": "^6.3.0",
  61. "typescript": "^5.6.3",
  62. "unbuild": "^2.0.0",
  63. "vitest": "^2.1.5"
  64. }
  65. }