@jdcrensh/react-scripts
Configuration and scripts for Create React App.
Last updated 2 months ago by jdcrensh .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @jdcrensh/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:

Configuration & Plugin Support (unofficial)

This is an unofficial fork that extends Create React App with an interface for plugins and custom config.

If a cra.config.js plugin doesn't exist, there's no difference than if you were using the official package.

Configuration

An ES5 module exported by cra.config.js at the app's root is used for configuration. Each property is optional.

Property Type Description
[plugins] array plugin references or names. default: []
[apply] function webpack config. default: identity function
[babel] function babel config. default: identity function

Example

module.exports = {
  // Load plugins by name and/or by reference. Loading plugins by name is for
  // convenience, eg. `'css-modules'` is the same as `require('react-scripts-plugin-css-modules')`
  plugins: ['no-minify', require('./my-internal-plugin')],

  // Webpack configuration
  apply: (config, { env, paths }) => {
    return config;
  },

  // Babel configuration
  babel: (config, { env, paths }) => {
    return config;
  },
};

Plugins

A plugin is simply an exported custom config without the plugins property.

Available Plugins

Current Tags

  • 3.0.2-0                                ...           latest (2 months ago)
  • 2.1.4-next.0af5602b                                ...           next (6 months ago)

53 Versions

  • 3.0.2-0                                ...           2 months ago
  • 2.1.9-0                                ...           3 months ago
  • 2.1.6-0                                ...           4 months ago
  • 2.1.4-1                                ...           6 months ago
  • 2.1.4-0                                ...           6 months ago
  • 2.1.4-next.0af5602b                                ...           6 months ago
  • 2.1.4-next.5e633ce3                                ...           6 months ago
  • 2.1.2-next.63a4568b                                ...           6 months ago
  • 2.0.0-next.9e5a26f4                                ...           10 months ago
  • 1.1.5-0                                ...           a year ago
  • 1.1.2-0                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.18-1                                ...           2 years ago
  • 1.0.17                                ...           2 years ago
  • 1.0.15-1                                ...           2 years ago
  • 1.0.14-1                                ...           2 years ago
  • 1.0.13-1                                ...           2 years ago
  • 1.0.12-6                                ...           2 years ago
  • 1.0.12-5                                ...           2 years ago
  • 1.0.12-4                                ...           2 years ago
  • 1.0.12-3                                ...           2 years ago
  • 1.0.12-2                                ...           2 years ago
  • 1.0.12-1                                ...           2 years ago
  • 0.9.6-30                                ...           2 years ago
  • 0.9.6-29                                ...           2 years ago
  • 0.9.6-28                                ...           2 years ago
  • 0.9.6-27                                ...           2 years ago
  • 0.9.6-26                                ...           2 years ago
  • 0.9.6-25                                ...           2 years ago
  • 0.9.6-24                                ...           2 years ago
  • 0.9.6-23                                ...           2 years ago
  • 0.9.6-21                                ...           2 years ago
  • 0.9.6-20                                ...           2 years ago
  • 0.9.6-19                                ...           2 years ago
  • 0.9.6-18                                ...           2 years ago
  • 0.9.6-17                                ...           2 years ago
  • 0.9.6-16                                ...           2 years ago
  • 0.9.6-15                                ...           2 years ago
  • 0.9.6-14                                ...           2 years ago
  • 0.9.6-13                                ...           2 years ago
  • 0.9.6-12                                ...           2 years ago
  • 0.9.6-11                                ...           2 years ago
  • 0.9.6-10                                ...           2 years ago
  • 0.9.6-9                                ...           2 years ago
  • 0.9.6-8                                ...           2 years ago
  • 0.9.6-7                                ...           2 years ago
  • 0.9.6-6                                ...           2 years ago
  • 0.9.6-5                                ...           2 years ago
  • 0.9.6-4                                ...           2 years ago
  • 0.9.6-3                                ...           2 years ago
  • 0.9.6-2                                ...           2 years ago
  • 0.9.5-2                                ...           2 years ago
  • 0.9.5-1                                ...           2 years ago

Copyright 2014 - 2016 © taobao.org |