npm init
npm i gts --save-dev
npx gts init
result: https://github.com/JayZhou-1/typescript-learning
tsconfig.json
has lot of available settingpackage.json
don't have much, don't havelint, clean, fix ...
- generated index.js is in
build/src/index.js
- gts means: Google TypeScript Style