@rodjers/only-components
v0.1.0
Published
Extract only the components part from an OpenApi spec
Maintainers
Readme
@dtsgenerator/only-components
This is the dtsgenerator plugin.
This plugin's description is here.
Install
npm install @dtsgenerator/only-componentsUsage
dtsgen.json
{
"plugins": {
"@dtsgenerator/only-components": true,
}
}Configuration
No configuration needed
Development
npm install
npm run build
npm testStacks
- TypeScript
- eslint
- prettier
Files
index.ts: plugin main filetest/snapshot_test.ts: test main file. should not edit this file.test/pre_snapshots/: pre process test patterns. Please add folder if you need.
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.npm run test:update-snapshot: update snapshot files for unit test.npm run coverage: report to coveralls. Need coveralls configuration file.
