{
  "name": "openalgo-script",
  "version": "0.8.1",
  "description": "An open trading language. Write a study or a strategy once, plot it, backtest it, trade it.",
  "keywords": [
    "trading",
    "language",
    "compiler",
    "indicators",
    "backtesting",
    "technical-analysis"
  ],
  "homepage": "https://github.com/marketcalls/openscript#readme",
  "bugs": {
    "url": "https://github.com/marketcalls/openscript/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/marketcalls/openscript.git"
  },
  "license": "Apache-2.0",
  "type": "module",
  "sideEffects": false,
  "exports": {
    ".": {
      "types": "./dist/core/index.d.ts",
      "import": "./dist/core/index.js"
    },
    "./editor": {
      "types": "./dist/editor/index.d.ts",
      "import": "./dist/editor/index.js"
    },
    "./adapters/charts": {
      "types": "./dist/adapters/charts/index.d.ts",
      "import": "./dist/adapters/charts/index.js"
    },
    "./adapters/codemirror": {
      "types": "./dist/adapters/codemirror/index.d.ts",
      "import": "./dist/adapters/codemirror/index.js"
    },
    "./package.json": "./package.json"
  },
  "files": [
    "CHANGELOG.md",
    "LICENSE",
    "NOTICE",
    "README.md",
    "dist",
    "spec/errors.json",
    "src"
  ],
  "scripts": {
    "audit:stateful": "node --disallow-code-generation-from-strings scripts/check-stateful-numerics.mjs",
    "audit:stateful:report": "node --disallow-code-generation-from-strings scripts/check-stateful-numerics.mjs --report-only",
    "audit:stateless": "node --disallow-code-generation-from-strings scripts/check-stateless-numerics.mjs",
    "audit:stateless:report": "node --disallow-code-generation-from-strings scripts/check-stateless-numerics.mjs --report-only",
    "audit:varying": "node --disallow-code-generation-from-strings scripts/check-varying-numerics.mjs",
    "audit:varying:report": "node --disallow-code-generation-from-strings scripts/check-varying-numerics.mjs --report-only",
    "audit:numerics": "npm run test:audit && npm run audit:stateful && npm run audit:stateless && npm run audit:varying",
    "test:audit": "node --disallow-code-generation-from-strings --test scripts/test-stateful-numerics.mjs scripts/test-stateless-numerics.mjs scripts/test-varying-numerics.mjs",
    "check:names": "node --disallow-code-generation-from-strings scripts/check-names.mjs",
    "check:no-eval": "npm run build && npm run build:test && node --disallow-code-generation-from-strings scripts/check-no-eval.mjs",
    "check:examples": "node --disallow-code-generation-from-strings scripts/check-examples.mjs",
    "check:examples:compile": "npm run build && npm run build:test && node --disallow-code-generation-from-strings scripts/check-examples-compile.mjs",
    "check:catalogue": "node --disallow-code-generation-from-strings scripts/check-catalogue-tests.mjs",
    "check:site": "node --disallow-code-generation-from-strings scripts/check-site.mjs",
    "check:errors": "node --disallow-code-generation-from-strings scripts/check-error-codes.mjs",
    "check:raises": "node --disallow-code-generation-from-strings scripts/check-raises.mjs",
    "check:defaults": "npm run build && node --disallow-code-generation-from-strings scripts/check-defaults.mjs",
    "check:chart": "npm run build && node --disallow-code-generation-from-strings scripts/check-chart-surface.mjs",
    "check:reproducible": "npm run build && node --disallow-code-generation-from-strings scripts/check-reproducible.mjs",
    "check:section-20": "node --disallow-code-generation-from-strings scripts/check-section-20.mjs",
    "check:entry-points": "npm run build && node --disallow-code-generation-from-strings scripts/check-entry-points.mjs",
    "check:number-writer": "node --disallow-code-generation-from-strings scripts/check-number-writer.mjs",
    "check:python": "node --disallow-code-generation-from-strings scripts/check-python.mjs",
    "check:format-tables": "npm run build && node --disallow-code-generation-from-strings scripts/check-format-tables.mjs",
    "check:format-additive": "npm run build && node --disallow-code-generation-from-strings scripts/check-format-additive.mjs",
    "check:format-corpus": "npm run build && node --disallow-code-generation-from-strings scripts/check-format-corpus.mjs",
    "check:colour-channels": "npm run build && node --disallow-code-generation-from-strings scripts/check-colour-channels.mjs",
    "check:vectors": "npm run build && npm run build:test && node --disallow-code-generation-from-strings scripts/check-library-vectors.mjs",
    "suite": "npm run build && node --disallow-code-generation-from-strings scripts/run-suite.mjs",
    "suite:engine": "npm run build && node --disallow-code-generation-from-strings scripts/run-suite.mjs --adapter engine/adapter.mjs",
    "badge": "node --disallow-code-generation-from-strings scripts/badge.mjs",
    "suite:agree": "node --disallow-code-generation-from-strings scripts/run-suite.mjs --adapter scripts/adapter.mjs --against engine/adapter.mjs",
    "generate:vectors": "npm run build && npm run build:test && node --disallow-code-generation-from-strings scripts/generate-library-vectors.mjs",
    "site": "node --disallow-code-generation-from-strings scripts/site.mjs",
    "test": "node --disallow-code-generation-from-strings scripts/check-duplication.mjs && node --disallow-code-generation-from-strings scripts/check-error-codes.mjs && node --disallow-code-generation-from-strings scripts/check-examples.mjs && node --disallow-code-generation-from-strings scripts/check-catalogue-tests.mjs && node --disallow-code-generation-from-strings scripts/check-site.mjs && node --disallow-code-generation-from-strings scripts/check-layering.mjs && node --disallow-code-generation-from-strings scripts/check-limits.mjs && node --disallow-code-generation-from-strings scripts/check-matrix.mjs && node --disallow-code-generation-from-strings scripts/check-modularity.mjs && node --disallow-code-generation-from-strings scripts/check-names.mjs && node --disallow-code-generation-from-strings scripts/check-raises.mjs && node --disallow-code-generation-from-strings scripts/check-section-20.mjs && node --disallow-code-generation-from-strings scripts/check-number-writer.mjs && node --disallow-code-generation-from-strings scripts/check-python.mjs && npm run build && node --disallow-code-generation-from-strings scripts/check-defaults.mjs && node --disallow-code-generation-from-strings scripts/check-entry-points.mjs && node --disallow-code-generation-from-strings scripts/check-chart-surface.mjs && node --disallow-code-generation-from-strings scripts/check-manifests.mjs && npm run test:unit && node --disallow-code-generation-from-strings scripts/check-library-vectors.mjs && node --disallow-code-generation-from-strings scripts/check-reproducible.mjs && node --disallow-code-generation-from-strings scripts/check-format-tables.mjs && node --disallow-code-generation-from-strings scripts/check-format-additive.mjs && node --disallow-code-generation-from-strings scripts/check-format-corpus.mjs && node --disallow-code-generation-from-strings scripts/check-colour-channels.mjs && node --disallow-code-generation-from-strings scripts/check-examples-compile.mjs && node --disallow-code-generation-from-strings scripts/harvest-cases.mjs --check && npm run suite:agree && node --disallow-code-generation-from-strings scripts/check-no-eval.mjs && npm run bench",
    "test:unit": "npm run build:test && node --disallow-code-generation-from-strings scripts/run-tests.mjs",
    "check:layering": "node --disallow-code-generation-from-strings scripts/check-layering.mjs",
    "check:duplication": "node --disallow-code-generation-from-strings scripts/check-duplication.mjs",
    "check:limits": "node --disallow-code-generation-from-strings scripts/check-limits.mjs",
    "check:matrix": "node --disallow-code-generation-from-strings scripts/check-matrix.mjs",
    "check:modularity": "node --disallow-code-generation-from-strings scripts/check-modularity.mjs",
    "generate:errors": "node --disallow-code-generation-from-strings scripts/generate-error-catalogue.mjs",
    "typecheck": "npm run generate && tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit",
    "build": "npm run generate && node --disallow-code-generation-from-strings scripts/clean-output.mjs tsconfig.json && tsc -p tsconfig.json",
    "build:test": "npm run generate && node --disallow-code-generation-from-strings scripts/clean-output.mjs tsconfig.test.json && tsc -p tsconfig.test.json",
    "prepack": "npm run build",
    "generate:version": "node --disallow-code-generation-from-strings scripts/generate-version.mjs",
    "generate:library": "node --disallow-code-generation-from-strings scripts/generate-library-prose.mjs",
    "generate": "npm run generate:errors && npm run generate:version && npm run generate:library",
    "check:changelog": "node --disallow-code-generation-from-strings scripts/check-changelog.mjs",
    "bench": "node --disallow-code-generation-from-strings scripts/bench.mjs",
    "bench:record": "node --disallow-code-generation-from-strings scripts/bench.mjs --record"
  },
  "engines": {
    "node": ">=22"
  },
  "dependencies": {},
  "peerDependencies": {
    "@codemirror/autocomplete": ">=6.0.0",
    "@codemirror/language": ">=6.0.0",
    "@codemirror/lint": ">=6.0.0",
    "@codemirror/view": ">=6.0.0",
    "openalgo-charts": ">=2.4.0"
  },
  "peerDependenciesMeta": {
    "@codemirror/autocomplete": {
      "optional": true
    },
    "@codemirror/language": {
      "optional": true
    },
    "@codemirror/lint": {
      "optional": true
    },
    "@codemirror/view": {
      "optional": true
    },
    "openalgo-charts": {
      "optional": true
    }
  },
  "devDependencies": {
    "@types/node": "^24.0.0",
    "typescript": "^5.9.0"
  }
}
