package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "name": "quansync",
  3. "type": "module",
  4. "version": "0.2.8",
  5. "description": "Create sync/async APIs with usable logic",
  6. "author": "Anthony Fu <anthonyfu117@hotmail.com>",
  7. "contributors": [
  8. {
  9. "name": "三咲智子 Kevin Deng",
  10. "email": "sxzz@sxzz.moe"
  11. }
  12. ],
  13. "license": "MIT",
  14. "funding": [
  15. {
  16. "type": "individual",
  17. "url": "https://github.com/sponsors/antfu"
  18. },
  19. {
  20. "type": "individual",
  21. "url": "https://github.com/sponsors/sxzz"
  22. }
  23. ],
  24. "homepage": "https://github.com/quansync-dev/quansync#readme",
  25. "repository": {
  26. "type": "git",
  27. "url": "git+https://github.com/quansync-dev/quansync.git"
  28. },
  29. "bugs": "https://github.com/quansync-dev/quansync/issues",
  30. "keywords": [
  31. "async",
  32. "sync",
  33. "generator"
  34. ],
  35. "sideEffects": false,
  36. "exports": {
  37. ".": {
  38. "import": "./dist/index.mjs",
  39. "require": "./dist/index.cjs"
  40. },
  41. "./macro": {
  42. "import": "./dist/macro.mjs",
  43. "require": "./dist/macro.cjs"
  44. },
  45. "./types": {
  46. "import": "./dist/types.mjs",
  47. "require": "./dist/types.cjs"
  48. }
  49. },
  50. "main": "./dist/index.mjs",
  51. "module": "./dist/index.mjs",
  52. "types": "./dist/index.d.mts",
  53. "typesVersions": {
  54. "*": {
  55. "*": [
  56. "./dist/*",
  57. "./*"
  58. ]
  59. }
  60. },
  61. "files": [
  62. "dist"
  63. ],
  64. "devDependencies": {
  65. "@antfu/eslint-config": "^4.4.0",
  66. "@types/node": "^22.13.8",
  67. "bumpp": "^10.0.3",
  68. "eslint": "^9.21.0",
  69. "gensync": "1.0.0-beta.2",
  70. "lint-staged": "^15.4.3",
  71. "mitata": "^1.0.34",
  72. "simple-git-hooks": "^2.11.1",
  73. "tsx": "^4.19.3",
  74. "typescript": "^5.8.2",
  75. "unbuild": "^3.5.0",
  76. "vite": "^6.2.0",
  77. "vitest": "^3.0.7"
  78. },
  79. "simple-git-hooks": {
  80. "pre-commit": "pnpm lint-staged"
  81. },
  82. "lint-staged": {
  83. "*": "eslint --fix"
  84. },
  85. "scripts": {
  86. "build": "unbuild",
  87. "dev": "unbuild --stub",
  88. "lint": "eslint .",
  89. "release": "bumpp && pnpm publish",
  90. "start": "tsx src/index.ts",
  91. "benchmark": "node scripts/benchmark.js",
  92. "test": "vitest",
  93. "typecheck": "tsc --noEmit"
  94. }
  95. }