monkeytype/backend/package.json
Rizwan Mustafa 020ac5cb24
Add logging support from Winston with colored output (#2774)
* Converted initial outputs to color outputs

* Some more coloring

* Colored all error outputs

* Completed coloring of outputs

* Created basic logger instance

* Moved over to Winston for logging

* Remove unnnecessary stuff

* Added max file size

* Renamed log to logToDb

* minor refactor and added tab separation with timestamps

* Some changes. Thanks Bruception

* Created wrapper for logger

* Tiny refactor

* Some fixes

* Some fixes

* Update example env

* Remove general

* using default yellow, making colors bold

* removed square brackets

* removed square brackets

* using logger instead of console log

* updated timestamp format

* moved comment up

* Fixed typo

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-03-27 11:29:11 -04:00

59 lines
1.5 KiB
JSON

{
"name": "monkeytype-backend",
"version": "1.0.0",
"license": "GPL-3.0",
"private": true,
"scripts": {
"build": "tsc --build",
"watch": "tsc --build --watch",
"clean": "tsc --build --clean",
"start": "npm run build && node ./build/server.js",
"dev": "concurrently \"npm run watch\" \"nodemon --watch build/server.js ./build/server.js\""
},
"engines": {
"node": "16.13.2",
"npm": "8.1.2"
},
"dependencies": {
"bcrypt": "5.0.1",
"bullmq": "1.78.1",
"chalk": "4.1.2",
"cors": "2.8.5",
"cron": "1.8.2",
"dotenv": "10.0.0",
"express": "4.17.1",
"express-rate-limit": "6.2.1",
"firebase-admin": "10.0.2",
"helmet": "4.6.0",
"ioredis": "4.28.5",
"joi": "17.6.0",
"lodash": "4.17.21",
"mongodb": "4.4.0",
"node-fetch": "2.6.7",
"nodemon": "2.0.7",
"object-hash": "3.0.0",
"path": "0.12.7",
"prom-client": "14.0.1",
"simple-git": "2.45.1",
"string-similarity": "4.0.4",
"swagger-stats": "0.99.2",
"swagger-ui-express": "4.3.0",
"ua-parser-js": "0.7.28",
"uuid": "8.3.2",
"winston": "3.6.0"
},
"devDependencies": {
"@types/bcrypt": "5.0.0",
"@types/cors": "2.8.12",
"@types/cron": "1.7.3",
"@types/ioredis": "4.28.10",
"@types/lodash": "4.14.178",
"@types/node": "17.0.18",
"@types/node-fetch": "2.6.1",
"@types/object-hash": "2.2.1",
"@types/swagger-stats": "0.95.4",
"@types/swagger-ui-express": "4.1.3",
"@types/ua-parser-js": "0.7.36",
"@types/uuid": "8.3.4"
}
}