1.2.8 • Published 5 years ago
entity-project v1.2.8
Entity project
The Entity project is a UrbanIt service.
Main missions is to group all the typeorm entity.
Installation
npm install entity-project --save
Tutorial
If you change this project you have to update the version with npm version
Then you should publish the package with npm publish
Available Scripts
In the project directory, you can run:
npm run build
Build the service
npm run test:unit
Launches the unit tests
npm run test:integration
Launches the integration tests
npm run test:system
Launches the system tests
npm run test
Launches the tests in the following order :
- unit
- integration
- system
npm run test:coverage
Launches the tests coverage using nyc
npm run format
Format the files using Prettier. For now the targeted files are:
- JavaScript
- JSON
- Markdown
- YAML
npm run lint
Check the files using Prettier. For now the targeted files are:
- JavaScript
- JSON
- Markdown
- YAML
Also check the files syntax & issues using ESLint on JavaScript files.