openapi-typescript-codegen

v0.12.0-alpha
Library that generates Typescript clients based on the OpenAPI specification.
openapi swagger codegen generator client typescript yaml json fetch and 3 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

run

NODE_ENV=production 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" "./types/index.d.ts"

eslint:fix

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

prettier

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

prettier:fix

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

prepublishOnly

yarn run clean && yarn run release

codecov

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

Metadata

  • MIT
  • Whatever
  • Ferdi Koomen
  • released 11/10/2021

Downloads

Maintainers