package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "$schema": "https://json.schemastore.org/package.json",
  3. "name": "@opencode-ai/util",
  4. "version": "1.18.3",
  5. "type": "module",
  6. "license": "MIT",
  7. "repository": {
  8. "type": "git",
  9. "url": "git+https://github.com/anomalyco/opencode.git",
  10. "directory": "packages/util"
  11. },
  12. "publishConfig": {
  13. "access": "public"
  14. },
  15. "files": [
  16. "dist"
  17. ],
  18. "exports": {
  19. "./effect/layer-node": "./src/effect/layer-node.ts",
  20. "./*": "./src/*.ts"
  21. },
  22. "imports": {
  23. "#runtime-import": {
  24. "bun": "./src/runtime/import.bun.ts",
  25. "node": "./src/runtime/import.node.ts",
  26. "default": "./src/runtime/import.bun.ts"
  27. }
  28. },
  29. "scripts": {
  30. "build": "bun run script/build.ts",
  31. "typecheck": "tsgo --noEmit"
  32. },
  33. "dependencies": {
  34. "@effect/opentelemetry": "catalog:",
  35. "@effect/platform-node": "catalog:",
  36. "@npmcli/arborist": "catalog:",
  37. "@npmcli/config": "10.8.1",
  38. "@opentelemetry/api": "1.9.0",
  39. "@opentelemetry/context-async-hooks": "2.6.1",
  40. "@opentelemetry/exporter-trace-otlp-http": "0.214.0",
  41. "@opentelemetry/sdk-trace-base": "2.6.1",
  42. "cross-spawn": "catalog:",
  43. "effect": "catalog:",
  44. "glob": "13.0.5",
  45. "mime-types": "3.0.2",
  46. "minimatch": "10.2.5",
  47. "npm-package-arg": "13.0.2",
  48. "resolve.exports": "catalog:",
  49. "xdg-basedir": "5.1.0"
  50. },
  51. "devDependencies": {
  52. "@tsconfig/bun": "catalog:",
  53. "@types/bun": "catalog:",
  54. "@types/cross-spawn": "catalog:",
  55. "@types/node": "catalog:",
  56. "@types/npm-package-arg": "6.1.4",
  57. "@types/npmcli__arborist": "6.3.3",
  58. "@typescript/native-preview": "catalog:"
  59. }
  60. }