package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. "test": "bun test --only-failures",
  32. "typecheck": "tsgo --noEmit"
  33. },
  34. "dependencies": {
  35. "@effect/opentelemetry": "catalog:",
  36. "@effect/platform-node": "catalog:",
  37. "@npmcli/arborist": "catalog:",
  38. "@npmcli/config": "10.8.1",
  39. "@opentelemetry/api": "1.9.0",
  40. "@opentelemetry/context-async-hooks": "2.6.1",
  41. "@opentelemetry/exporter-trace-otlp-http": "0.214.0",
  42. "@opentelemetry/sdk-trace-base": "2.6.1",
  43. "@opentelemetry/sdk-trace-node": "2.6.1",
  44. "cross-spawn": "catalog:",
  45. "effect": "catalog:",
  46. "glob": "13.0.5",
  47. "mime-types": "3.0.2",
  48. "minimatch": "10.2.5",
  49. "npm-package-arg": "13.0.2",
  50. "resolve.exports": "catalog:",
  51. "xdg-basedir": "5.1.0"
  52. },
  53. "devDependencies": {
  54. "@tsconfig/bun": "catalog:",
  55. "@types/bun": "catalog:",
  56. "@types/cross-spawn": "catalog:",
  57. "@types/node": "catalog:",
  58. "@types/npm-package-arg": "6.1.4",
  59. "@types/npmcli__arborist": "6.3.3",
  60. "@typescript/native-preview": "catalog:"
  61. }
  62. }