{
  "name": "@revisium/formula",
  "version": "0.10.0",
  "description": "Formula expression parser and evaluator for Revisium",
  "keywords": [
    "formula",
    "expression",
    "parser",
    "revisium",
    "computed-fields",
    "typescript"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/revisium/formula.git"
  },
  "license": "MIT",
  "author": "Anton Kashirov",
  "type": "module",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.mjs"
      },
      "require": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.cjs"
      }
    },
    "./editor": {
      "import": {
        "types": "./dist/editor/index.d.ts",
        "default": "./dist/editor/index.mjs"
      },
      "require": {
        "types": "./dist/editor/index.d.ts",
        "default": "./dist/editor/index.cjs"
      }
    },
    "./spec": {
      "import": {
        "types": "./dist/formula-spec.d.ts",
        "default": "./dist/formula-spec.mjs"
      },
      "require": {
        "types": "./dist/formula-spec.d.ts",
        "default": "./dist/formula-spec.cjs"
      }
    }
  },
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "typesVersions": {
    "*": {
      "editor": [
        "./dist/editor/index.d.ts"
      ],
      "spec": [
        "./dist/formula-spec.d.ts"
      ]
    }
  },
  "files": [
    "dist"
  ],
  "scripts": {
    "generate:spec": "tsx scripts/generate-spec-md.ts",
    "build": "tsdown && npm run build:dts",
    "build:dts": "tsc --emitDeclarationOnly --outDir dist --declaration --declarationMap",
    "dev": "tsdown --watch",
    "test": "NODE_OPTIONS=--experimental-vm-modules jest",
    "test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch",
    "test:cov": "NODE_OPTIONS=--experimental-vm-modules jest --coverage --silent",
    "lint:ci": "eslint . --max-warnings 0",
    "lint:fix": "eslint . --fix",
    "format": "prettier --write \"src/**/*.ts\"",
    "format:check": "prettier --check \"src/**/*.ts\"",
    "tsc": "tsc --noEmit",
    "prepublishOnly": "npm run generate:spec && npm run build && npm run tsc"
  },
  "devDependencies": {
    "@eslint/js": "^9.15.0",
    "@jest/globals": "^29.7.0",
    "@types/jest": "^29.5.14",
    "@types/node": "^24.10.7",
    "eslint": "^9.15.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-prettier": "^5.5.5",
    "eslint-plugin-sonarjs": "^3.0.5",
    "globals": "^15.12.0",
    "jest": "^29.7.0",
    "prettier": "^3.4.2",
    "ts-jest": "^29.2.5",
    "tsdown": "^0.20.1",
    "tsx": "^4.21.0",
    "typescript": "^5.7.2",
    "typescript-eslint": "^8.15.0"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "publishConfig": {
    "access": "public"
  },
  "dependencies": {
    "ohm-js": "^17.3.0"
  }
}
