Cdn system for monsters
- TypeScript 72.3%
- JavaScript 26.4%
- Makefile 0.5%
- Dockerfile 0.5%
- Shell 0.3%
|
|
||
|---|---|---|
| .github | ||
| __tests__ | ||
| config | ||
| src | ||
| .dockerignore | ||
| .editorconfig | ||
| .gitignore | ||
| .prettierrc | ||
| Dockerfile | ||
| eslint.config.mjs | ||
| licence.md | ||
| makefile | ||
| package.json | ||
| README.md | ||
| start.sh | ||
| tsconfig.json | ||
Monsters - cdn
1. How to start
Install dependencies
npm install / yarn
Prepare environment
2. How to build
npm run build / yarn build
If you even encounter strange build behavior, tsconfig is set to create build with cache. Set option incremental in
tsConfig to false
3. Useful information
3.1 Logs folder
Linux
~/.cache/"package.json -> productName"/logs
Windows
~/AppData/Roaming/"package.json -> productName"/logs
3.2 Testing
All test currently are written using jest. You can run all tests or just type specific tests
Available targets
yarn tests = run all tests
yarn tests:e2e = run 'end to end' tests
yarn tests:db = run 'database' tests
yarn tests:unit = run 'unit' tests
yarn test:watch = run tests in 'watch' mode