JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q55555F
  • License MIT

The base TypeScript template for DeveloperTown.

Package Exports

  • @developertown/cra-template

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@developertown/cra-template) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@developertown/cra-template

Version Downloads/week License

This is the official DeveloperTown TypeScript template for Create React App.

To use this template, add --template @developertown when creating a new app.

For example:

npx create-react-app my-app --template @developertown

# or

yarn create react-app my-app --template @developertown

For more information, please refer to:

Note for Windows Users

The template linter rules in this template are opinionated to support cross-platform development teams. We would suggest setting core.autocrlf=false in your git configuration, which will avoid having git convert line endings to crlf during local development.

Additionally, react-scripts generates a file during installation that will automatically have Windows-style line-endings, and will cause the build to fail due to linter failure. After initial install, you will need to edit src/react-app-env.d.ts and change the line endings to be Unix-style (\n).