Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 788 Bytes

README.md

File metadata and controls

55 lines (34 loc) · 788 Bytes

discord.js TypeScript テンプレート

Deploy to Heroku

Visual Studio Code を使用することを推奨します。

スクリプト

start

npm run compile を先に実行しないとエラーが出るよ!

npm start

start:dev

ts-nodeを使って実行します。(コンパイル不要)

npm run start:dev

compile

コンパイルします。

npm run compile

compile:test

コンパイルします。(ファイルを出力しない)

npm run compile:test

lint

静的検証ツール(ESLint)を使って問題を調べる。

npm run lint

lint:fix

問題を修正する。

npm run lint:fix