@redocly/developer-portal
v1.1.0-beta.112.patch.1 gatsby starter
lint
tslint --project tsconfig.json "./engine/src/**/*.ts" "./engine/src/**/*.tsx"
test
npm run test:unit && percy exec -- ./node_modules/.bin/cypress run
build
node cli.js build
clean
node cli.js clean
start
node cli.js develop -p 3000
minify
babel-minify dist -d dist --sourceType module --builtIns=false
compile
tsc -p tsconfig.dist.json
cypress
cypress open
prepare
husky install
prettier
prettier --write "**/*.{js,jsx,ts,tsx,yml,yaml}"
ts-check
tsc --noEmit --skipLibCheck
copy-deps
cp engine/package.json dist/engine && find engine/plugins engine/images engine/src \( -name \*.json -o -name \*.svg -o -name \*.html \) -exec rsync -R {} dist \;
test:unit
jest --coverage
pre-commit
pretty-quick --staged --pattern "**/*.{js,jsx,ts,tsx,yml,yaml}"
apigee:build
REDOCLY_TEST_CONTENT_DIR=../tests/apigee node dist/cli.js build
build-docker
npm run prepublishOnly && docker build -t redocly-portal -f docker/Dockerfile .
simple:build
REDOCLY_TEST_CONTENT_DIR=../tests/simple node dist/cli.js build
update-types
graphql-codegen --config codegen.yml
license-check
license-checker --production --onlyAllow 'MIT;ISC;Apache-2.0;Apache;CC-BY-4.0;Unlicense;CC-BY-3.0;CC0-1.0;Public Domain;WTFPL;BSD;BSD-2-Clause;BSD-3-Clause;Custom: https://redoc.ly/subscription-agreement/;UNKNOWN' --summary
list-licenses
node ./scripts/list-licenses.js
minify-server
babel-minify portal-server/*.js -d portal-server/dist
starter:build
REDOCLY_TEST_CONTENT_DIR=../tests/starter node dist/cli.js build
starter:serve
node dist/cli.js serve -p 3000
prepublishOnly
rm -rf dist && npm run compile && npm run minify && npm run copy-deps
test:unit:watch
jest --watch
start-test-server
REDOCLY_TEST_CONTENT_DIR=tests/starter npm start
build-docker-server
npm run minify-server && docker build -t redocly/portal-server portal-server
multiversions:build
REDOCLY_TEST_CONTENT_DIR=../tests/multiversions node dist/cli.js build
test:update-snapshot
jest --updateSnapshot
start-test-server-apigee
REDOCLY_TEST_CONTENT_DIR=tests/apigee npm start
start-test-server-simple
REDOCLY_TEST_CONTENT_DIR=tests/simple npm start
start-test-server-catalog
REDOCLY_TEST_CONTENT_DIR=tests/catalog npm start
starter-prefix-path:build
REDOCLY_TEST_CONTENT_DIR=tests/starter REDOCLY_PREFIX_PATHS=/public npm run build
start-test-server-multiversions
REDOCLY_TEST_CONTENT_DIR=tests/multiversions npm start
npm i @redocly/[email protected]
Metadata
- SEE LICENSE IN LICENSE
- Whatever
- redoc.ly
- released 8/30/2022