Skip to content

Pavel-Durov/games.scraper.bot.ts

Repository files navigation

TypeScript Template

Getting started

$ npm install

Env

Make sure to set up ARSENAL_GAMES_TELEGRAM_BOT_TOKEN in the runtime environment, or via the .envrc file.

Run

$ npm run start

Build

$ npm run build

Test

$ npm run test

Lint

$ npm run lint # lint check
$ npm run lint:fix # lint write

Git hooks

Tests

npx husky add .husky/pre-commit "npm test" 
npx husky add .husky/pre-commit "npm run lint" 
git add .husky/pre-commit

Commit message

npx husky add .husky/commit-msg  'npx --no -- commitlint --edit ${1}'
npm pkg set scripts.commitlint="commitlint --edit"
npx husky add .husky/commit-msg 'npm run commitlint ${1}'

About

Arsenal Stadium games scraper and telegram bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published