Code Monkey home page Code Monkey logo

simple-react-starterkit's Introduction

simple-react-starterkit

A simple react starter-kit that bundles some great tools to get started.

  • (obviously) React
  • webpack : to build your app
  • eslint : to lint your code
  • less : to extends css capabilities
  • babel : to use some of the latest js features
  • react-i18next : for internationalization
  • redux : to improve app state management
  • redux-thunk : to allow asynchronous reducers

Get started

First of all you need Node.js and optionnaly yarn.

NB if you didn't get yarn replace all following yarn occurences by npm

To setup the project (retrieve dependencies) run yarn install (or npm install)

Scripts

There are some ready to use scripts define in package.json

To build the with uncompressed sources

yarn run build

To build the app ready for release with minified and compressed sources

yarn run release

To lint your code

yarn run lint

To run your code locally with uncompressed sources (on port 3000) :

yarn run-dev

To run your code locally like in relase with minified and compressed sources (on port 3001) :

yarn run-prod

Info

  • webpack will lint your code before building, build will fails on warning and errors, you can edit webpack.config.js to remove this behavior.

  • Commit will fails if yarn run release fails.

  • This sample is inspired from this tutorial.

  • You can use this extension to ease React development in Google Chrome/Chromium.

License: MIT license

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.