core
Core component for JavaScript/TypeScript
Leyyo > Core
TODO
Install
npm i @leyyo/core
Standards
- [x] Language:
TS
- [x] Eslint:
Yes
- [x] Static Code Analysis:
Yes
IntelliJ Code Inspections - [x] DDD - Document Driven:
No
- [x] EDD - Exception Driven:
Yes
- [ ] TDD - Test Driven:
No
Commands
-
npm run clear
// clears "dist" folder -
npm run lint
// runs eslint for static code analysis -
npm run build
// builds JS files at "dist" folder -
npm run test
// runs test files in "test" folder -
npm run test:watch
*// runs test with watch option -
npm run test:coverage
*// runs test with coverage
#Used Environments
-
NODE_ENV
environment, prod|staging|dev|test|local -
LEYYO_DEBUG
=boolean -
LEYYO_REQ_RES
=custom, ie: express.request.custom
Author
-
Date
2020-11-15 -
Name
Mustafa Yelmer -
Repo
github.com/leyyonet/core