$ npm install
Make sure to set up ARSENAL_GAMES_TELEGRAM_BOT_TOKEN
in the runtime environment, or via the .envrc
file.
$ npm run start
$ npm run build
$ npm run test
$ npm run lint # lint check
$ npm run lint:fix # lint write
npx husky add .husky/pre-commit "npm test"
npx husky add .husky/pre-commit "npm run lint"
git add .husky/pre-commit
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}'