{
  "name": "@swagger-api/apidom-parser-adapter-yaml-1-2",
  "version": "1.0.0-alpha.1",
  "description": "Parser adapter for parsing YAML documents into base namespace.",
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org"
  },
  "type": "module",
  "sideEffects": [
    "./es/lexical-analysis/browser-patch.mjs",
    "./cjs/lexical-analysis/browser-patch.cjs"
  ],
  "unpkg": "./dist/apidom-parser-apdater-yaml-1-2.browser.min.js",
  "main": "./cjs/adapter-node.cjs",
  "exports": {
    "types": "./types/dist.d.ts",
    "node": {
      "import": "./es/adapter-node.mjs",
      "require": "./cjs/adapter-node.cjs"
    },
    "browser": {
      "import": "./es/adapter-browser.mjs"
    },
    "default": "./cjs/adapter-node.cjs"
  },
  "types": "./types/dist.d.ts",
  "scripts": {
    "build": "npm run clean && run-p --max-parallel ${CPU_CORES:-2} typescript:declaration build:es build:cjs build:umd:browser",
    "build:es": "npm run build:wasm && npm run build:wasm:copy && cross-env BABEL_ENV=es babel src --out-dir es --extensions '.ts' --out-file-extension '.mjs' --root-mode 'upward'",
    "build:cjs": "npm run build:wasm && npm run build:wasm:copy && BABEL_ENV=cjs babel src --out-dir cjs --extensions '.ts' --out-file-extension '.cjs' --root-mode 'upward'",
    "build:umd:browser": "npm run build:wasm && npm run build:wasm:copy && cross-env BABEL_ENV=browser webpack --config config/webpack/browser.config.js --progress",
    "build:wasm": "node ../../scripts/file-exists.js ../../node_modules/tree-sitter-yaml/tree-sitter-yaml.wasm && exit 0 || cd ../../node_modules/tree-sitter-yaml && cross-env BABEL_ENV=cjs NODE_OPTIONS='-r core-js/stable @babel/register' tree-sitter generate --abi=13 ./grammar.js && tree-sitter build-wasm && node-gyp rebuild",
    "build:wasm:copy": "copyfiles -u 4 ../../node_modules/tree-sitter-yaml/tree-sitter-yaml.wasm wasm",
    "lint": "eslint ./",
    "lint:fix": "eslint ./ --fix",
    "clean": "rimraf ./es ./cjs ./dist ./types",
    "typescript:check-types": "tsc --noEmit",
    "typescript:declaration": "tsc -p declaration.tsconfig.json && rollup -c config/rollup/types.dist.js",
    "test": "cross-env NODE_ENV=test BABEL_ENV=cjs mocha",
    "perf": "cross-env NODE_ENV=test BABEL_ENV=cjs node ./test/perf/index.cjs",
    "perf:lexical-analysis": "cross-env NODE_ENV=test BABEL_ENV=cjs node ./test/perf/lexical-analysis.cjs",
    "perf:parse-syntactic-analysis-indirect": "cross-env NODE_ENV=test BABEL_ENV=cjs node ./test/perf/parse-syntactic-analysis-indirect.cjs",
    "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.20.7",
    "@swagger-api/apidom-ast": "^1.0.0-alpha.1",
    "@swagger-api/apidom-core": "^1.0.0-alpha.1",
    "@swagger-api/apidom-error": "^1.0.0-alpha.1",
    "@types/ramda": "~0.30.0",
    "ramda": "~0.30.0",
    "ramda-adjunct": "^5.0.0",
    "tree-sitter": "=0.20.4",
    "tree-sitter-yaml": "=0.5.0",
    "web-tree-sitter": "=0.20.3"
  },
  "devDependencies": {
    "tree-sitter-cli": "=0.20.4"
  },
  "files": [
    "cjs/",
    "dist/",
    "es/",
    "types/dist.d.ts",
    "wasm/",
    "LICENSES",
    "NOTICE",
    "README.md",
    "CHANGELOG.md"
  ],
  "gitHead": "88bfd76beb31327396133bf52076d9c89e0c99b9"
}
