cra-template-3sc-typescript
v1.0.2
Published
3 Sided Cube's create react app typescript template
Readme
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-typescriptWhat's included?
tsandscssadded to the default cra templateeslint,prettierandstylelintconfigsreact-app-rewiredoverrides forreact-scripts- see
config-overrides.js
- see
- pre-commit hook added using
husky- see npm script
pre-commitin package.json
- see npm script
lint-stagedconfig for eslint, stylelint and type checking
Development
To test the template with yarn use:
yarn create react-app my-app --template file:../path/to/template/cra-template-tsc-typescript