1.0.2 • Published 3 years ago

cra-template-3sc-typescript v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

cra-template-3sc-typescript

3 Sided Cude's typescript template for Create React App.

Usage

Add --template 3sc-typescript when creating a new app.

npx create-react-app my-app --template 3sc-typescript

# or

yarn create react-app my-app --template 3sc-typescript

What's included?

  • ts and scss added to the default cra template
  • eslint, prettier and stylelint configs
  • react-app-rewired overrides for react-scripts
    • see config-overrides.js
  • pre-commit hook added using husky
    • see npm script pre-commit in package.json
  • lint-staged config for eslint, stylelint and type checking

Development

Official Docs

To test the template with yarn use:

yarn create react-app my-app --template file:../path/to/template/cra-template-tsc-typescript
1.0.2

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago