Fork of create-react-app-typescript with added support for placing modules that can be imported using absolute paths into a node_modules directory that is a sub directory of the src folder. To support this it is necessary to tell jest to NOT ignore src/node_modules folder when transpiling and running tests.
Create React apps (with Typescript) with no build configuration.
Do you know react and want to try out typescript? Or do you know typescript and want to try out react? Get all the benefits from create-react-app
but you use typescript! 🚀
npm install -g create-react-app
create-react-app my-app --scripts-version=react-scripts-ts
cd my-app/
npm start
When you run npm run build
the terminal will output the error, including the highlighted sourecode (like babel)!
- Update to
[email protected]
- thanks to @mindjuice - Fix test setup issue - thanks to @jonmpqts
- Add
source-map-loader
- thanks to @Place1 - Update to
[email protected]
- thanks to @sjdweb
- Fix issue with jest finding test files
- Upgrade to
[email protected]
- Upgrade to [email protected] - thanks to @patrick91
- Add tests around react-scripts-ts - thanks to @migerh
- Upgrade to [email protected] - thanks to @jeremistadler
- Fix regression where no
@types
were being installed on init
- Merge facebookincubator/[email protected] into react-scripts-ts
- Merge facebookincubator/[email protected] into react-scripts-ts
- Merge facebookincubator/[email protected] into react-scripts-ts
- Merge facebookincubator/[email protected] into react-scripts-ts
- Merge facebookincubator/[email protected] into react-scripts-ts
- Merge facebookincubator/[email protected] into react-scripts-ts
- Add missing
cli-highlight
dependency
- Print file names when running
npm run build
- Add support for
setupTest.ts
- Highlight source code when erroring in
npm run build
- Change mentions of
eslint
totslint
- Remove hidden character from
tsconfig.json
- Copy
typescriptTransform.js
when runningnpm run eject