Socket
Socket
Sign inDemoInstall

cra-template-typescript-blank

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cra-template-typescript-blank

A blank TypeScript template for Create React App. No spinning logo, no unnecessary boilerplate code.


Version published
Maintainers
1
Install size
30.5 kB
Created

Readme

Source

cra-template-typescript-blank

This is a TypeScript template for Create React App which is entirely blank.

No spinning logo, no unnecessary boilerplate code.

In addition to the official TypeScript template, the following dependencies are included by default:

Furthermore, there are the following additions:

  • HTTPS is enabled in development and test mode
  • Some additional npm scripts are available:
    • npm run lint-js to run ESLint
    • npm run lint-css to run Stylelint
    • npm run lint to run both ESLint and Stylelint
    • npm run prettier to run a Prettier check
  • A GitHub actions workflow is available that runs build, test, and linters on pull requests
  • ESLint configuration is extended to include recommended rules from:
    • eslint-plugin-jsx-a11y
    • eslint-plugin-sonarjs

To use this template, add --template typescript-blank when creating a new app.

For example:

npx create-react-app my-app --template typescript-blank

# or

yarn create react-app my-app --template typescript-blank

For more information, please refer to:

Keywords

FAQs

Last updated on 31 Jul 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc