@trxn/hapify-templates-models
v2.2.5
Published
Hapify templates for models class validators and types
Downloads
115
Readme
Hapify - Templates for models classes and types
This package contains the hapify templates to generate model classes and enums.
Installation
npm install @trxn/hapify-templates-models --save-dev
Usage
In your package.json
:
{
"name": "my-library",
"version": "0.0.1",
"hapify": { "extends": ["@trxn/hapify-templates-models"] }
}
If you would like to extend or modify these properties, create a .hapifyrc.js
file in your projects root directory and export your desired modifications.
module.exports = {
extends: ['hapify-templates-models'],
};
Or you can create a .hapifyrc.json
file in your projects root directory.
{ "extends": [ '@trxn/hapify-templates-models' ] }