package.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "name": "local-pkg",
  3. "version": "0.4.3",
  4. "packageManager": "pnpm@7.5.0",
  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/local-pkg#readme",
  10. "repository": {
  11. "type": "git",
  12. "url": "git+https://github.com/antfu/local-pkg.git"
  13. },
  14. "bugs": {
  15. "url": "https://github.com/antfu/local-pkg/issues"
  16. },
  17. "keywords": [
  18. "package"
  19. ],
  20. "sideEffects": false,
  21. "exports": {
  22. ".": {
  23. "types": "./index.d.ts",
  24. "require": "./index.cjs",
  25. "import": "./index.mjs"
  26. }
  27. },
  28. "main": "index.cjs",
  29. "module": "index.mjs",
  30. "types": "index.d.ts",
  31. "files": [
  32. "dist",
  33. "index.cjs",
  34. "index.mjs",
  35. "index.d.ts"
  36. ],
  37. "engines": {
  38. "node": ">=14"
  39. },
  40. "scripts": {
  41. "prepublishOnly": "nr build",
  42. "build": "tsup shared.ts --format esm,cjs --dts && esno scripts/postbuild.ts",
  43. "lint": "eslint .",
  44. "release": "bumpp && npm publish",
  45. "test": "node test/cjs.cjs && node test/esm.mjs"
  46. },
  47. "devDependencies": {
  48. "@antfu/eslint-config": "^0.34.1",
  49. "@antfu/ni": "^0.18.8",
  50. "@antfu/utils": "^0.7.2",
  51. "@types/chai": "^4.3.4",
  52. "@types/node": "^18.11.18",
  53. "bumpp": "^8.2.1",
  54. "chai": "^4.3.7",
  55. "eslint": "^8.32.0",
  56. "esno": "^0.16.3",
  57. "find-up": "^6.3.0",
  58. "tsup": "^6.5.0",
  59. "typescript": "^4.9.4"
  60. }
  61. }