1
0

package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. "#global-roots": {
  24. "workerd": "./src/global-roots.workerd.ts",
  25. "default": "./src/global-roots.ts"
  26. },
  27. "#runtime-import": {
  28. "workerd": "./src/runtime/import.bun.ts",
  29. "bun": "./src/runtime/import.bun.ts",
  30. "node": "./src/runtime/import.node.ts",
  31. "default": "./src/runtime/import.bun.ts"
  32. }
  33. },
  34. "scripts": {
  35. "build": "bun run script/build.ts",
  36. "test": "bun test --only-failures",
  37. "typecheck": "tsgo --noEmit"
  38. },
  39. "dependencies": {
  40. "@effect/opentelemetry": "catalog:",
  41. "@effect/platform-node": "catalog:",
  42. "@npmcli/arborist": "catalog:",
  43. "@npmcli/config": "10.8.1",
  44. "@opentelemetry/api": "1.9.0",
  45. "@opentelemetry/context-async-hooks": "2.6.1",
  46. "@opentelemetry/exporter-trace-otlp-http": "0.214.0",
  47. "@opentelemetry/sdk-trace-base": "2.6.1",
  48. "@opentelemetry/sdk-trace-node": "2.6.1",
  49. "cross-spawn": "catalog:",
  50. "effect": "catalog:",
  51. "glob": "13.0.5",
  52. "mime-types": "3.0.2",
  53. "minimatch": "10.2.5",
  54. "npm-package-arg": "13.0.2",
  55. "resolve.exports": "catalog:"
  56. },
  57. "devDependencies": {
  58. "@tsconfig/bun": "catalog:",
  59. "@types/bun": "catalog:",
  60. "@types/cross-spawn": "catalog:",
  61. "@types/node": "catalog:",
  62. "@types/npm-package-arg": "6.1.4",
  63. "@types/npmcli__arborist": "6.3.3",
  64. "@typescript/native-preview": "catalog:"
  65. }
  66. }