This Repository is learning of TypeScript. Use This Tutorial
- node.js
- TypeScript
- Setup nodebrew:
curl -L git.io/nodebrew | perl - setup
- Activate nodebrew path:
- If you use bash:
echo 'export PATH=$HOME/.nodebrew/current/bin:$PATH' >> ~/.bash_profile
- If you use zsh:
echo 'export PATH=$HOME/.nodebrew/current/bin:$PATH' >> ~/.zshrc
- If you use bash:
- Read .bash_profile or .zshrc:
source ~/.bash_profile
orsource ~/.zshrc
- Install latest Node.js:
nodebrew install-binary stable
- Check the Node.js version:
nodebrew --help
,nodebrew ls
- Use Node Version v14.15.0:
nodebrew use v14.15.0
- Install TypeScript Compiler:
npm install -g typescript
- Check Your Version of TypeScript:
tsc -v
- We Use Version 4.0.5
- run TypeScript file on CommandLine:
tsc hoge.ts && node hoge.js
- This command is two consecutive processes described below.
- Compile TypeScript to JavaScript:
tsc hoge.ts
- Run JavaScript on CommandLine:
node hoge.js
- Chief Engineer: Kosuke Matsuyama
- Engineer: Yusuke Watanabe
- Business Owner: Hinata Nakatsu
Activate .gitmessage emoji prefix: git config --global commit.template .gitmessage.txt
# 🐛 :bug: バグ修正
# 👍 :+1: 機能改善
# ✨ :sparkles: 部分的な機能追加
# 🎨 :art: デザイン変更のみ
# 💢 :anger: コンフリクト
# 🚧 :construction: WIP
# 📝 :memo: 文言修正
# 🔧 :wrench: ツール(Tooling)
# 👕 :shirt: Lintエラーの修正やコードスタイルの修正
# 🆙 :up: 依存パッケージなどのアップデート
# ⚙ :gear: config変更
# 📚 :books: ドキュメント
# 🗑️ :wastebasket: 削除(Removal)