@swagger-api/apidom-ns-json-schema-draft-6

v0.81.0
JSON Schema Draft 6 namespace for ApiDOM.

lint

eslint ./

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' --out-file-extension '.mjs' --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'

build:umd:browser

cross-env BABEL_ENV=browser webpack --config config/webpack/browser.config.js --progress

test:update-snapshots

cross-env UPDATE_SNAPSHOT=1 BABEL_ENV=cjs mocha

typescript:check-types

tsc --noEmit

typescript:declaration

tsc -p declaration.tsconfig.json && rollup -c config/rollup/types.dist.js
npm i @swagger-api/[email protected]

Metadata

Downloads

Maintainers