mirror of
https://github.com/aditama-labs/nest-autocrud.git
synced 2025-01-31 21:18:36 +00:00
chore: guidelines
This commit is contained in:
parent
cd19e4228c
commit
191b69ad46
14
README.md
14
README.md
@ -41,8 +41,18 @@ $ npm run start
|
||||
# watch mode
|
||||
$ npm run start:dev
|
||||
|
||||
# production mode
|
||||
$ npm run start:prod
|
||||
# build package
|
||||
$ npm run build:lib:autocrud
|
||||
```
|
||||
|
||||
## Generate new library
|
||||
|
||||
```bash
|
||||
# 1. Generate new libs
|
||||
$ nest g lib <name>
|
||||
# 2. Modify the generated library tsconfig.lib.json like existing one
|
||||
# 3. Add the build tools to the package.json following the existing one
|
||||
# 4. Register dist to index.js
|
||||
```
|
||||
|
||||
## Run tests
|
||||
|
Loading…
Reference in New Issue
Block a user