{
  "name": "@swagger-api/apidom-parser-adapter-json",
  "version": "1.11.0",
  "description": "Parser adapter for parsing JSON documents into base namespace.",
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org"
  },
  "type": "module",
  "sideEffects": [
    "./src/lexical-analysis/browser-patch.ts",
    "./src/lexical-analysis/browser-patch.mjs",
    "./src/lexical-analysis/browser-patch.cjs"
  ],
  "unpkg": "./dist/apidom-parser-apdater-json.browser.min.js",
  "main": "./src/adapter-node.cjs",
  "exports": {
    "types": "./types/apidom-parser-adapter-json.d.ts",
    "node": {
      "import": "./src/adapter-node.mjs",
      "require": "./src/adapter-node.cjs"
    },
    "browser": {
      "import": "./src/adapter-browser.mjs"
    },
    "default": "./src/adapter-node.cjs"
  },
  "types": "./types/apidom-parser-adapter-json.d.ts",
  "scripts": {
    "prebuild": "npm run clean && npm run build:wasm && npm run build:wasm:copy",
    "build": "run-p --max-parallel ${CPU_CORES:-6} typescript:declaration build:es build:cjs build:umd:browser",
    "build:es": "cross-env BABEL_ENV=es babel src --out-dir src --extensions '.ts' --out-file-extension '.mjs' --root-mode 'upward'",
    "build:cjs": "BABEL_ENV=cjs babel src --out-dir src --extensions '.ts' --out-file-extension '.cjs' --root-mode 'upward'",
    "build:umd:browser": "vite build",
    "build:wasm": "node ../../scripts/file-exists.js ../../node_modules/tree-sitter-json/tree-sitter-json.wasm && exit 0 || cd ../../node_modules/tree-sitter-json && tree-sitter generate ./grammar.js && tree-sitter build --wasm && node-gyp rebuild",
    "build:wasm:copy": "copyfiles -u 4 ../../node_modules/tree-sitter-json/tree-sitter-json.wasm wasm",
    "lint": "eslint ./",
    "lint:fix": "eslint ./ --fix",
    "clean": "rimraf --glob 'src/**/*.mjs' 'src/**/*.cjs' 'test/**/*.mjs' ./dist ./types",
    "typescript:check-types": "tsc --noEmit && tsc -p ./test/tsconfig.json --noEmit",
    "typescript:declaration": "tsc -p tsconfig.declaration.json && api-extractor run -l -c ./config/api-extractor/api-extractor.json",
    "pretest": "npm run build:wasm && npm run build:wasm:copy",
    "test": "npm run build:es && cross-env BABEL_ENV=es babel test --out-dir test --extensions '.ts' --out-file-extension '.mjs' --root-mode 'upward' && cross-env NODE_ENV=test NODE_NO_WARNINGS=1 mocha",
    "perf": "cross-env BABEL_ENV=es babel ./test/perf/index.ts --out-file ./test/perf/index.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/index.mjs",
    "perf:lexical-analysis": "cross-env BABEL_ENV=es babel ./test/perf/lexical-analysis.ts --out-file ./test/perf/lexical-analysis.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/lexical-analysis.mjs",
    "perf:parse-syntactic-analysis-direct": "cross-env BABEL_ENV=es babel ./test/perf/parse-syntactic-analysis-direct.ts --out-file ./test/perf/parse-syntactic-analysis-direct.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/parse-syntactic-analysis-direct.mjs",
    "perf:parse-syntactic-analysis-indirect": "cross-env BABEL_ENV=es babel ./test/perf/parse-syntactic-analysis-indirect.ts --out-file ./test/perf/parse-syntactic-analysis-indirect.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/parse-syntactic-analysis-indirect.mjs",
    "prepack": "copyfiles -u 3 ../../LICENSES/* LICENSES && copyfiles -u 2 ../../NOTICE .",
    "postpack": "rimraf NOTICE LICENSES"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/swagger-api/apidom.git"
  },
  "author": "Vladimir Gorej",
  "license": "Apache-2.0",
  "dependencies": {
    "@babel/runtime-corejs3": "^7.26.10",
    "@swagger-api/apidom-ast": "^1.11.0",
    "@swagger-api/apidom-core": "^1.11.0",
    "@swagger-api/apidom-error": "^1.11.0",
    "@types/ramda": "~0.30.0",
    "ramda": "~0.30.0",
    "ramda-adjunct": "^5.0.0",
    "tree-sitter": "=0.21.1",
    "tree-sitter-json": "=0.24.8",
    "web-tree-sitter": "=0.24.5"
  },
  "devDependencies": {
    "tree-sitter-cli": "=0.24.5"
  },
  "files": [
    "src/**/*.mjs",
    "src/**/*.cjs",
    "dist/",
    "types/apidom-parser-adapter-json.d.ts",
    "wasm/",
    "LICENSES",
    "NOTICE",
    "README.md",
    "CHANGELOG.md"
  ],
  "gitHead": "38799adc3fe2c9f744fab9a9a6e1f89e4e07800b"
}
