Giter Site home page Giter Site logo

zihen / react-scripts-ts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jpavon/react-scripts-ts

0.0 1.0 0.0 1.17 MB

@jpavon/react-scripts-ts, react-scripts with ts-loader and type checker on a separate process.

Home Page: https://www.npmjs.com/package/@jpavon/react-scripts-ts

License: MIT License

JavaScript 90.31% HTML 1.42% TypeScript 7.11% CSS 1.16%

react-scripts-ts's Introduction

react-scripts-ts   +     

License NPM CircleCI Status

@jpavon/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.

Features

Check out the template files for usage examples.

Getting started

Create a new project:

npx create-react-app my-app --scripts-version=@jpavon/react-scripts-ts
cd my-app/
yarn start

(npx comes with npm 5.2+ and higher)

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

Install this package in yout project:

yarn add @jpavon/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 @jpavon/react-scripts-ts",
    "build": "react-app-rewired build --scripts-version @jpavon/react-scripts-ts",
    "test": "react-app-rewired test --scripts-version @jpavon/react-scripts-ts --env=jsdom"
  }
}

react-scripts-ts's People

Contributors

ctaque avatar jpavon avatar razzwan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.