@swagger-api/apidom-parser-adapter-openapi-yaml-3-1
v0.69.0lint
eslint ./
perf
cross-env NODE_ENV=test BABEL_ENV=cjs node ./test/perf/index.cjs
test
cross-env NODE_ENV=test BABEL_ENV=cjs mocha
build
npm run clean && run-p --max-parallel ${CPU_CORES:-2} typescript:declaration build:es build:cjs build:umd:browser
clean
rimraf ./es ./cjs ./dist ./types
prepack
copyfiles -u 3 ../../LICENSES/* LICENSES && copyfiles -u 2 ../../NOTICE .
build:es
cross-env BABEL_ENV=es babel src --out-dir es --extensions '.ts' --root-mode 'upward'
lint:fix
eslint ./ --fix
postpack
rimraf NOTICE LICENSES
build:cjs
cross-env BABEL_ENV=cjs babel src --out-dir cjs --extensions '.ts' --out-file-extension '.cjs' --root-mode 'upward'
perf:parse
cross-env NODE_ENV=test BABEL_ENV=cjs node ./test/perf/parse.cjs
perf:refract
cross-env NODE_ENV=test BABEL_ENV=cjs node ./test/perf/refract.cjs
build:umd:browser
cross-env BABEL_ENV=browser BROWSERSLIST_ENV=production webpack --config config/webpack/browser.config.js --progress
perf:lexical-analysis
cross-env NODE_ENV=test BABEL_ENV=cjs node ./test/perf/lexical-analysis.cjs
typescript:check-types
tsc --noEmit
typescript:declaration
tsc -p declaration.tsconfig.json && rollup -c config/rollup/types.dist.js
perf:syntactic-analysis
cross-env NODE_ENV=test BABEL_ENV=cjs node ./test/perf/syntactic-analysis.cjs
npm i @swagger-api/[email protected]
Metadata
- Apache-2.0
- Whatever
- Vladimir Gorej
- released 2/28/2023