package.json 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "$schema": "https://json.schemastore.org/package.json",
  3. "name": "@opencode-ai/codemode",
  4. "version": "1.18.4",
  5. "description": "Effect-native confined code execution over schema-described tools",
  6. "type": "module",
  7. "license": "MIT",
  8. "repository": {
  9. "type": "git",
  10. "url": "git+https://github.com/anomalyco/opencode.git",
  11. "directory": "packages/codemode"
  12. },
  13. "publishConfig": {
  14. "access": "public"
  15. },
  16. "files": [
  17. "dist"
  18. ],
  19. "exports": {
  20. ".": "./src/index.ts"
  21. },
  22. "imports": {
  23. "#transpile": {
  24. "workerd": "./src/interpreter/transpile.workerd.ts",
  25. "default": "./src/interpreter/transpile.node.ts"
  26. }
  27. },
  28. "scripts": {
  29. "build": "bun run script/build.ts",
  30. "typecheck": "tsgo --noEmit",
  31. "test": "bun test"
  32. },
  33. "dependencies": {
  34. "acorn": "8.15.0",
  35. "effect": "catalog:",
  36. "typescript": "catalog:"
  37. },
  38. "devDependencies": {
  39. "@tsconfig/bun": "catalog:",
  40. "@types/bun": "catalog:",
  41. "@typescript/native-preview": "catalog:"
  42. }
  43. }