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
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 @developertownFor more information, please refer to:
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.
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).