2019年07月01日
概要 | コマンド |
---|---|
TypeScript 本体 | yarn add typescript tslint @miharu/tslint-contrib --dev |
Jest | yarn add jest @types/jest ts-jest --dev |
React (Redux 無し) | yarn add react react-dom @types/react @types/react-dom --dev |
React | yarn add react react-dom react-redux redux @types/react @types/react-dom @types/react-redux redux-nara --dev |
Vue | yarn add vue vue-class-component vue-property-decorator --dev |
webpack | yarn add webpack webpack-cli ts-loader sass-loader node-sass css-loader style-loader mini-css-extract-plugin extract-text-webpack-plugin@next --dev |
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_size = 4
indent_style = space
trim_trailing_whitespace = true
[*.{js,ts}]
indent_size = 4
[*.md]
indent_size = 2
trim_trailing_whitespace = false
[Makefile]
indent_style = tab
[*.{less,css,scala,html,jade,scss,yml,json,tsx,conf,sbt,xml}]
indent_size = 2