openapi-typescript-codegen

v0.5.0-beta
NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification.
openapi swagger codegen generator client typescript javascript yaml json and 4 more...

clean

rimraf ./dist ./test/generated ./test/e2e/generated ./samples/generated ./coverage ./node_modules/.cache

build

rollup --config --environment NODE_ENV:development

build:watch

rollup --config --environment NODE_ENV:development --watch

release

rollup --config --environment NODE_ENV:production

start

nest start --path ./test/server/tsconfig.json

start:watch

nest start --path ./test/server/tsconfig.json --watch

run

node ./test/index.js

test

jest --selectProjects UNIT

test:update

jest --selectProjects UNIT --updateSnapshot

test:watch

jest --selectProjects UNIT --watch

test:coverage

jest --selectProjects UNIT --coverage

test:e2e

jest --selectProjects E2E --runInBand

eslint

eslint "./src/**/*.ts" "./bin/index.js"

eslint:fix

eslint "./src/**/*.ts" "./bin/index.js" --fix

prettier

prettier "./src/**/*.ts" "./bin/index.js" --check

prettier:fix

prettier "./src/**/*.ts" "./bin/index.js" --write

prepublish

yarn run clean && yarn run release

codecov

codecov --token=66c30c23-8954-4892-bef9-fbaed0a2e42b

Metadata

  • MIT
  • Whatever
  • Ferdi Koomen
  • released 9/27/2020

Downloads

Maintainers