Code Monkey home page Code Monkey logo

react-minimal-starter-kit's Introduction

react-minimal-starter-kit Build Status Renovate enabled

I've seen a lot of bootstrap or minimal React setups for developers. But they all seem kinda bloated. Even create-react-app is bloated as soon as you eject.

All I wanted is the minimal setup with:

  • React
  • Babel
  • webpack

No server side rendering, configuration frameworks, routers, stores or other libraries.

It'll just get you started. Everything else is up to you.

How to install

Execute git clone --depth=1 --branch=master https://github.com/dan-lee/react-minimal-starter-kit.git YOUR_PROJECT, and then run yarn.

You may now remove the following files in the new project directory, to 'eject' from the original repository:

cd YOUR_PROJECT
rm -rf .git/ README.md LICENSE .travis.yml

Information

  • Static HTML entry is in static/index.html
  • React entry point is src/App.jsx.
  • Built JS output file is static/js/bundle.js
  • Builds can be configured in webpack.config.js

Build

  • Run yarn build for a single build
  • Run yarn build:prod for a minified build (minified by UglifyJs provided by webpack)
  • Run yarn start/yarn build:watch for a continuous build while editing files

Tests

  • Run yarn test

react-minimal-starter-kit's People

Contributors

dan-lee avatar greenkeeper[bot] avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-minimal-starter-kit's Issues

Cannot run the tests

When running the tests with yarn test, an Unexpected token import error occurs, because import is not transpiled.

I have to run the tests in testing-environment.
so my package.json looks like:

scripts: {
    "test": "export NODE_ENV=testing && jest"
}

and the .babelrc is:

"env": {
    "testing": {
      "presets": ["env", "react"]
    }
  }

See also: jestjs/jest#3202

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: Preset name not found within published preset config (monorepo:angularmaterial). Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.


  • Check this box to trigger a request for Renovate to run again on this repository

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.