{ "name": "@swagger-api/apidom-parser-adapter-asyncapi-json-2", "version": "1.0.0-beta.11", "description": "Parser adapter for parsing JSON documents into AsyncAPI 2.x.y namespace.", "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" }, "type": "module", "sideEffects": false, "unpkg": "./dist/apidom-parser-apdater-asyncapi-json-2.browser.min.js", "main": "./src/adapter.cjs", "exports": { "types": "./types/apidom-parser-adapter-asyncapi-json-2.d.ts", "import": "./src/adapter.mjs", "require": "./src/adapter.cjs" }, "types": "./types/apidom-parser-adapter-asyncapi-json-2.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": "cross-env BABEL_ENV=es babel src --out-dir src --extensions '.ts' --out-file-extension '.mjs' --root-mode 'upward'", "build:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir src --extensions '.ts' --out-file-extension '.cjs' --root-mode 'upward'", "build:umd:browser": "cross-env BABEL_ENV=browser webpack --config config/webpack/browser.config.js --progress", "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", "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 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:syntactic-analysis": "cross-env BABEL_ENV=es babel ./test/perf/syntactic-analysis.ts --out-file ./test/perf/syntactic-analysis.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/syntactic-analysis.mjs", "perf:refract": "cross-env BABEL_ENV=es babel ./test/perf/refract.ts --out-file ./test/perf/refract.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/refract.mjs", "perf:parse": "cross-env BABEL_ENV=es babel ./test/perf/parse.ts --out-file ./test/perf/parse.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/parse.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.20.7", "@swagger-api/apidom-core": "^1.0.0-beta.11", "@swagger-api/apidom-ns-asyncapi-2": "^1.0.0-beta.11", "@swagger-api/apidom-parser-adapter-json": "^1.0.0-beta.11", "@types/ramda": "~0.30.0", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0" }, "files": [ "src/**/*.mjs", "src/**/*.cjs", "dist/", "types/apidom-parser-adapter-asyncapi-json-2.d.ts", "LICENSES", "NOTICE", "README.md", "CHANGELOG.md" ], "gitHead": "2923c19f907b5d88a92eb3f297069dd3af78cd96" }