package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "local-pkg",
  3. "type": "module",
  4. "version": "1.1.2",
  5. "description": "Get information on local packages.",
  6. "author": "Anthony Fu <anthonyfu117@hotmail.com>",
  7. "license": "MIT",
  8. "funding": "https://github.com/sponsors/antfu",
  9. "homepage": "https://github.com/antfu-collective/local-pkg#readme",
  10. "repository": {
  11. "type": "git",
  12. "url": "git+https://github.com/antfu-collective/local-pkg.git"
  13. },
  14. "bugs": {
  15. "url": "https://github.com/antfu-collective/local-pkg/issues"
  16. },
  17. "keywords": [
  18. "package"
  19. ],
  20. "sideEffects": false,
  21. "exports": {
  22. ".": {
  23. "types": "./dist/index.d.ts",
  24. "import": "./dist/index.mjs",
  25. "require": "./dist/index.cjs"
  26. }
  27. },
  28. "main": "dist/index.cjs",
  29. "module": "dist/index.mjs",
  30. "types": "dist/index.d.ts",
  31. "files": [
  32. "dist"
  33. ],
  34. "engines": {
  35. "node": ">=14"
  36. },
  37. "dependencies": {
  38. "mlly": "^1.7.4",
  39. "pkg-types": "^2.3.0",
  40. "quansync": "^0.2.11"
  41. },
  42. "devDependencies": {
  43. "@antfu/eslint-config": "^5.2.1",
  44. "@antfu/ni": "^25.0.0",
  45. "@antfu/utils": "^9.2.0",
  46. "@types/chai": "^5.2.2",
  47. "@types/node": "^24.3.0",
  48. "bumpp": "^10.2.3",
  49. "chai": "^5.3.1",
  50. "eslint": "^9.33.0",
  51. "esno": "^4.8.0",
  52. "find-up-simple": "^1.0.1",
  53. "typescript": "^5.9.2",
  54. "unbuild": "^3.6.1",
  55. "unplugin-quansync": "^0.4.4",
  56. "vitest": "^3.2.4"
  57. },
  58. "scripts": {
  59. "build": "unbuild",
  60. "lint": "eslint .",
  61. "release": "bumpp",
  62. "typecheck": "tsc --noEmit",
  63. "test": "vitest run && node ./test/cjs.cjs && node ./test/esm.mjs"
  64. }
  65. }