{
  "name": "@nlabs/lex",
  "version": "1.59.0",
  "description": "Lex",
  "license": "MIT",
  "type": "module",
  "bin": {
    "lex": "lib/lex.js"
  },
  "main": "./lib/index.js",
  "exports": {
    ".": {
      "import": "./lib/index.js",
      "require": "./index.cjs"
    },
    "./test-react": {
      "types": "./lib/test-react/index.d.ts",
      "import": "./lib/test-react/index.js",
      "require": "./lib/test-react/index.js"
    },
    "./storybook": {
      "types": "./lib/storybook/index.d.ts",
      "import": "./lib/storybook/index.js",
      "require": "./lib/storybook/index.js"
    },
    "./eslint.config.mjs": "./eslint.config.mjs"
  },
  "types": "./lib/index.d.ts",
  "keywords": [
    "arkhamjs",
    "lex",
    "nitrogenlabs",
    "webpack"
  ],
  "author": {
    "name": "Giraldo Rosales",
    "email": "giraldo@nitrogenlabs.com",
    "url": "http://nitrogenlabs.com"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/nitrogenlabs/lex.git"
  },
  "homepage": "https://github.com/nitrogenlabs/lex",
  "bugs": {
    "url": "https://github.com/nitrogenlabs/lex/issues"
  },
  "engines": {
    "node": ">=22"
  },
  "scripts": {
    "build": "NODE_ENV=production && rm -rf lib && npx swc src --out-dir ./lib --source-maps inline --strip-leading-paths --extensions .ts,.tsx --ignore '**/*.test.ts' --ignore '**/*.test.tsx' --ignore '**/*.spec.ts' --ignore '**/*.spec.tsx' --ignore '**/*.integration.ts' --ignore '**/*.integration.tsx' --ignore '**/*.e2e.ts' --ignore '**/*.e2e.tsx' && npm run declarations",
    "build:all": "npm run build && npm run build:ai",
    "build:ai": "NODE_ENV=production && npx swc 'src/commands/ai/**/*.{ts,tsx}' --out-dir ./lib/commands/ai --source-maps inline",
    "declarations": "tsc -p tsconfig.build.json",
    "clean": "rm -rf lib node_modules package-lock.json *.log coverage",
    "compile": "tsc -p tsconfig.build.json",
    "env": "LEX_CONFIG='{\"useTypescript\":true}'",
    "lint": "eslint ./src --fix --no-warn-ignored --ignore-pattern '**/*.js' --ignore-pattern '**/*.md'",
    "lint:ai": "node ./lib/lex.js lint --fix",
    "lint:rebuild": "npm run build && npm run lint:ai",
    "prepublishOnly": "npm run build",
    "publish:major": "npm version major && npm publish",
    "publish:minor": "npm version minor && npm publish",
    "publish:patch": "npm version patch && npm publish",
    "test": "NODE_ENV=test && (npm run lint || true) && npm run test:unit",
    "test:unit": "NODE_ENV=test && npm run env && npx vitest run",
    "test:e2e": "NODE_ENV=test && npx playwright test",
    "test:all": "NODE_ENV=test && npm run test:unit && npm run test:e2e",
    "test:integration": "NODE_ENV=test && npx vitest run \"src/**/*.integration.*\"",
    "test:cli": "NODE_ENV=test && npx vitest run \"src/**/*.cli.*\"",
    "test:commands": "NODE_ENV=test && npm run test:cli && npm run test:integration",
    "test:coverage": "NODE_ENV=test && npx vitest run --coverage",
    "test:coverage:upload": "codecov",
    "test:webpack": "node scripts/test-webpack.js",
    "type-check": "tsc --noEmit --project tsconfig.lint.json",
    "type-check:build": "tsc --noEmit --project tsconfig.build.json",
    "type-check:test": "tsc --noEmit --project tsconfig.test.json",
    "package": "npm run build && npm pack",
    "ci:install": "npm ci",
    "ci:test": "npm run lint && npm run type-check && npm run test:unit",
    "ci:build": "npm run build && npm run package",
    "ci:deploy": "npm run prepublishOnly",
    "update": "npm-check-updates -i",
    "watch": "NODE_ENV=development rm -rf lib && npx swc src --out-dir ./lib --source-maps inline --strip-leading-paths --extensions .ts,.tsx --ignore '**/*.test.ts' --ignore '**/*.test.tsx' --ignore '**/*.spec.ts' --ignore '**/*.spec.tsx' --ignore '**/*.integration.ts' --ignore '**/*.integration.tsx' --ignore '**/*.e2e.ts' --ignore '**/*.e2e.tsx' --watch"
  },
  "dependencies": {
    "@mdx-js/loader": "^3.1.1",
    "@nlabs/webpack-plugin-static-site": "*",
    "@playwright/test": "^1.60.0",
    "@storybook/addon-docs": "^10.4.1",
    "@storybook/addon-links": "^10.4.1",
    "@storybook/addon-styling-webpack": "^3.0.2",
    "@storybook/addon-themes": "^10.4.1",
    "@storybook/cli": "^10.4.1",
    "@storybook/react": "^10.4.1",
    "@storybook/react-webpack5": "^10.4.1",
    "@swc/cli": "^0.8.1",
    "@swc/core": "^1.15.40",
    "@swc/react-compiler": "^1.15.40",
    "@tailwindcss/forms": "^0.5.11",
    "@tailwindcss/nesting": "^0.0.0-insiders.565cd3e",
    "@tailwindcss/postcss": "4.3.0",
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/react": "^16.3.2",
    "@vitest/coverage-v8": "^4.1.7",
    "assert": "^2.1.0",
    "autoprefixer": "^10.5.0",
    "boxen": "8.0.1",
    "buffer": "^6.0.3",
    "caniuse-lite": "1.0.30001793",
    "chalk": "^5.6.2",
    "commander": "^14.0.3",
    "compare-versions": "^6.1.1",
    "compression-webpack-plugin": "^12.0.0",
    "copy-webpack-plugin": "^14.0.0",
    "core-js": "^3.49.0",
    "crypto-js": "^4.2.0",
    "css-loader": "^7.1.4",
    "css-minimizer-webpack-plugin": "^8.0.0",
    "cssnano": "^8.0.1",
    "dotenv-webpack": "^9.0.0",
    "download-npm-package": "^3.1.12",
    "esbuild": "^0.28.0",
    "eslint": "^10.4.0",
    "eslint-config-styleguidejs": "^5.0.4",
    "execa": "9.6.1",
    "expect": "^30.4.1",
    "express": "^5.2.1",
    "favicons-webpack-plugin": "^6.0.1",
    "find-file-up": "^2.0.1",
    "glob": "^13.0.6",
    "global": "^4.4.0",
    "graphql": "^16.14.0",
    "graphql-tag": "^2.12.6",
    "html-loader": "^5.1.0",
    "html-webpack-plugin": "^5.6.7",
    "https-browserify": "^1.0.0",
    "image-webpack-loader": "^8.1.0",
    "jsdom": "^29.1.1",
    "latest-version": "9.0.0",
    "lodash": "^4.18.1",
    "luxon": "^3.7.2",
    "math-expression-evaluator": "^2.0.7",
    "mini-css-extract-plugin": "^2.10.2",
    "npm-check-updates": "^22.2.1",
    "openai": "^6.39.1",
    "ora": "9.4.0",
    "os-browserify": "^0.3.0",
    "path-browserify": "^1.0.1",
    "postcss": "^8.5.15",
    "postcss-browser-reporter": "^0.7.0",
    "postcss-cli": "^11.0.1",
    "postcss-custom-properties": "^15.0.1",
    "postcss-flexbugs-fixes": "^5.0.2",
    "postcss-hash": "^3.0.0",
    "postcss-import": "16.1.1",
    "postcss-loader": "^8.2.1",
    "postcss-nesting": "^14.0.0",
    "postcss-preset-env": "^11.3.0",
    "postcss-simple-vars": "^7.0.1",
    "postcss-svgo": "8.0.0",
    "postcss-url": "10.1.4",
    "postcss-value-parser": "^4.2.0",
    "process": "^0.11.10",
    "randombytes": "^2.1.0",
    "react": "^19.2.6",
    "react-dom": "^19.2.6",
    "regenerator-runtime": "^0.14.1",
    "resolve": "^1.22.12",
    "rimraf": "^6.1.3",
    "semver": "^7.8.1",
    "source-map-loader": "^5.0.0",
    "storybook": "^10.4.1",
    "stream-browserify": "^3.0.0",
    "stream-http": "^3.2.0",
    "style-loader": "^4.0.0",
    "svgo": "4.0.1",
    "swc-loader": "^0.2.7",
    "tailwindcss": "^4.3.0",
    "ts-node": "^10.9.2",
    "tsconfig-paths-webpack-plugin": "^4.2.0",
    "typescript": "^6.0.3",
    "util": "^0.12.5",
    "vitest": "^4.1.7",
    "vm-browserify": "^1.1.2",
    "webpack": "5.107.2",
    "webpack-bundle-analyzer": "^5.3.0",
    "webpack-cli": "^7.0.3",
    "webpack-merge": "^6.0.1",
    "webpack-plugin-serve": "^1.6.0",
    "ws": "^8.21.0"
  },
  "devDependencies": {
    "@types/express": "^5.0.6",
    "@types/luxon": "^3.7.1",
    "@types/node": "^25.9.1",
    "@types/ora": "^3.2.0",
    "@types/react": "^19.2.15",
    "@types/webpack": "^5.28.5"
  },
  "overrides": {
    "cross-spawn": "^7.0.6",
    "fast-uri": "^3.1.2",
    "fast-xml-builder": "^1.2.0",
    "fast-xml-parser": "^5.8.0",
    "got": "^14.6.6",
    "follow-redirects": "^1.16.0",
    "http-proxy-middleware": "^3.0.5",
    "minimatch": ">=10.2.4",
    "postcss": "^8.5.15",
    "semver-regex": "^4.0.5",
    "tmp": "^0.2.5",
    "file-type": "^21.3.1"
  },
  "gitHead": "0f5fb22fc0f0ab1abab5adf62afed24c7c87e4a8"
}
