5.0.1 • Published 4 years ago

@nexbit.io/react-scripts-ts v5.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

react-scripts-ts

License NPM

@nexbit.io/react-scripts-ts

Modern build setup with no configuration for React + TypeScript projects.

Main differences with create react app:

Found any problem or bug? Please create a new issue || mailto : developer@nexbit.io

Features

Check out the template files for usage examples.

Getting started

Create a new project:

npx create-react-app my-app --scripts-version=@nexbit.io/react-scripts-ts
cd my-app/
yarn start

Already using create-react-app / react-scripts?

Install this package in yout project:

yarn add @nexbit.io/react-scripts-ts

Change your package.json configuration to use react-scripts-ts

{
  "scripts": {
    "start": "react-scripts-ts start",
    "build": "react-scripts-ts build",
    "test": "react-scripts-ts test --env=jsdom",
  }
}

Ejecting

Ejecting is not supported in this project, you have 2 options:

{
  "scripts": {
    "start": "react-app-rewired start --scripts-version @nexbit.io/react-scripts-ts",
    "build": "react-app-rewired build --scripts-version @nexbit.io/react-scripts-ts",
    "test": "react-app-rewired test --scripts-version @nexbit.io/react-scripts-ts --env=jsdom"
  }
}
                                                 2018-2020 | NEXBIT.IO Ltd.