@saasify/redoc
v2.0.2 OpenAPI OpenAPI Specification Swagger JSON-Schema API REST documentation React.js
start
webpack-dev-server --mode=development --env.playground --hot --config demo/webpack.config.ts
start:prod
webpack-dev-server --env.playground --mode=production --config demo/webpack.config.ts
start:benchmark
webpack-dev-server --mode=production --env.bench --config demo/webpack.config.ts
test
npm run lint && npm run unit && npm run license-check
unit
jest --coverage
e2e
cypress run
e2e-ci
cypress run --record
bundlesize
bundlesize
cy:open
cypress open
bundle:clean
rimraf bundles
bundle:standalone
webpack --env.standalone --mode=production
bundle:lib
webpack --mode=production && npm run declarations
bundle
npm run bundle:clean && npm run bundle:lib && npm run bundle:standalone
declarations
tsc --emitDeclarationOnly -p tsconfig.lib.json && cp -R src/types typings/
stats
webpack --env.standalone --json --profile --mode=production > stats.json
prettier
prettier --write "cli/index.ts" "src/**/*.{ts,tsx}"
changelog
conventional-changelog -p angular -i CHANGELOG.md -s -r 1
lint
tslint --project tsconfig.json
benchmark
node ./benchmark/benchmark.js
start:demo
webpack-dev-server --hot --config demo/webpack.config.ts --mode=development
compile:cli
tsc custom.d.ts cli/index.ts --target es6 --module commonjs --types yargs
build:demo
webpack --mode=production --config demo/webpack.config.ts
deploy:demo
npm run build:demo && deploy-to-gh-pages --update demo/dist
license-check
license-checker --production --onlyAllow 'MIT;ISC;Apache-2.0;BSD;BSD-2-Clause;BSD-3-Clause' --summary
docker:build
docker build -f config/docker/Dockerfile -t redoc .
dev
webpack --mode=development --watch
npm i @saasify/redoc
Source Code
github.com/Redocly/redocMetadata
- MIT
- >=6.9
- Roman Hotsiy
- released 2/10/2020