1.0.2 • Published 8 months ago

dtsgenerator-nullable v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

dtsgenerator-nullable

This is a dtsgenerator preProcess plugin.

Recursively removes from the schema properties whose names match the regular expression.

Install

npm install dtsgenerator-nullable

Usage

dtsgen.json

{
  "plugins": {
    "dtsgenerator-nullable": "^maxItems$|^description$|^example$"
  }
}

Development

npm run build
npm test

Stacks

  • TypeScript
  • eslint
  • prettier

Files

  • index.ts: plugin main file

npm scripts

main scripts

  • npm run build: transpile this plugin. This command need before publishing this plugin.
  • npm test: test this plugin with coverage.
  • npm run clean: remove all compiled files.

sub scripts

  • npm run watch: watch editing files for compile.
  • npm run lint:fix: fix lint error automatically.
1.0.2

8 months ago

1.0.1

3 years ago

1.0.0

3 years ago