mirror of
https://github.com/aditama-labs/nest-autocrud.git
synced 2025-02-01 05:28: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
|
# watch mode
|
||||||
$ npm run start:dev
|
$ npm run start:dev
|
||||||
|
|
||||||
# production mode
|
# build package
|
||||||
$ npm run start:prod
|
$ 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
|
## Run tests
|
||||||
|
Loading…
Reference in New Issue
Block a user