1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-24 22:46:41 +07:00

added tests and fixed errors

This commit is contained in:
Fedor Katurov 2024-01-11 19:22:03 +07:00
parent 6e34090f8f
commit 88c1a41b2f
13 changed files with 2297 additions and 91 deletions

View file

@ -7,7 +7,8 @@
"scripts": {
"start": "node ./dist/index.js",
"dev": "NODE_ENV=dev node -r ts-node/register ./src/index.ts --config=./config.yml",
"build": "rm -rf ./dist && tsc && copyfiles -f ./config*.yml ./dist && copyfiles ./templates/*.md ./dist"
"build": "rm -rf ./dist && tsc && copyfiles -f ./config*.yml ./dist && copyfiles ./templates/*.md ./dist",
"test": "jest"
},
"dependencies": {
"axios": "^0.21.1",
@ -55,6 +56,8 @@
"@types/yargs": "^16.0.1",
"@types/yup": "^0.29.11",
"copyfiles": "^2.4.1",
"prettier": "^2.2.1"
"jest": "^29.7.0",
"prettier": "^2.2.1",
"ts-jest": "^29.1.1"
}
}