This repository was archived by the owner on Mar 9, 2023. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork0
lukasschwab/gts-react-template
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A template repo for writing a React app inGoogle Typescript Style withESLint.
This is roughly equivalent to runningcreate-react-app
and addinggts
. When in conflict, I've preferredgts
-recommended settings tocreate-react-app
's defaults.
Provide an opinionated React template, with the dev tool niceties that come with opinionation. Make Typescript feel like Go.
- HitUse this template to create a new project repository.
- Rename the app; use
ag gts-react-template
. - Check on the
typescript
,gts
,eslint
versions pinned inpackage.json; update them as appropriate.
To bulk-update all dependencies to their latest versions:
$npx npm-check-updates -u$npm install
This template is based on another unpublished project, in which I initialized a React app withgts
(loosely trackingthese instructions):
$npx create-react-app --template=typescript YOUR-APP-NAME$cd YOUR-APP-NAME$npx gts init$npm install eslint-plugin-react --save-dev$npm install eslint-plugin-node@latest --save-dev$npm install eslint-plugin-prettier@latest --save-dev$npx gts check$npx gts fix
About
A template repo for writing a React app in Google Typescript Style (gts).
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published