Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 9, 2023. It is now read-only.

A template repo for writing a React app in Google Typescript Style (gts).

NotificationsYou must be signed in to change notification settings

lukasschwab/gts-react-template

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.

Why?

Provide an opinionated React template, with the dev tool niceties that come with opinionation. Make Typescript feel like Go.

Usage

  1. HitUse this template to create a new project repository.
  2. Rename the app; useag gts-react-template.
  3. Check on thetypescript,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

Notes

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp