marcopeg-react-scripts
Configuration and scripts for Create React App.
Last updated 10 months ago by marcopeg .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install marcopeg-react-scripts 
SYNC missed versions from official npm registry.

react-scripts

This package includes scripts and configuration used by Create React App.
Please refer to its documentation:


About @marcopeg fork

This fork exists to bring back the basic functionality of react-app-rewired in a simple and non intrusive way. I do my best to keep this fork up-to-date and to inject as little custom code as possible.

Quick Start

create-react-app project-name --scripts-version marcopeg-react-scripts

Extend Webpack config

In your project's root you'll find webpack.config.extend.js which contains a simple function that could mutate the webpack configuration that is provided by create-react-app.

Extend Webpack DevServer config

The very same concept is applied to the webpackDevServer.config.extend.js.

Custom App Template

You can create your own app template as .cra-template/ and place it in the folder in which you are going to create your new app.

If you want to specify a custom template folder to use, there is what I believe to be a temporary CLI option that will make CRA to use a local template:

create-react-app \
    project-name \
    --scripts-version marcopeg-react-scripts \
    --internal-testing-template my-custom-template

Shipped Templates

This custom fork of react-scripts comes with a couple of specific templates that might come in handy to bootstrap a new project:

  • bare: there is literally nothig to it
  • mobile: redux, react-router, graphql client, radium, some extensions as well (under construction)

Current Tags

  • 2.0.4-23                                ...           latest (10 months ago)

29 Versions

  • 2.0.4-23                                ...           10 months ago
  • 2.0.4-22                                ...           10 months ago
  • 2.0.4-21                                ...           10 months ago
  • 2.0.4-20                                ...           10 months ago
  • 2.0.4-19                                ...           10 months ago
  • 2.0.4-18                                ...           10 months ago
  • 2.0.4-16                                ...           10 months ago
  • 2.0.4-15                                ...           10 months ago
  • 2.0.4-14                                ...           10 months ago
  • 2.0.4-13                                ...           10 months ago
  • 2.0.4-12                                ...           10 months ago
  • 2.0.4-11                                ...           10 months ago
  • 2.0.4-10                                ...           10 months ago
  • 2.0.4-9                                ...           10 months ago
  • 2.0.4-8                                ...           10 months ago
  • 2.0.4-7                                ...           10 months ago
  • 2.0.4-6                                ...           10 months ago
  • 2.0.4-5                                ...           10 months ago
  • 2.0.4-4                                ...           10 months ago
  • 2.0.4-3                                ...           10 months ago
  • 2.0.4-2                                ...           10 months ago
  • 2.0.4-1                                ...           10 months ago
  • 2.0.4-0.0.6                                ...           10 months ago
  • 2.0.4-0.0.5                                ...           10 months ago
  • 2.0.4-0.0.4                                ...           10 months ago
  • 2.0.4-0.0.3                                ...           10 months ago
  • 2.0.4-0.0.2                                ...           10 months ago
  • 2.0.4-0.0.1                                ...           10 months ago
  • 2.0.4                                ...           10 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 29
Last Day 0
Last Week 0
Last Month 2
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |