reaction-build: React/React Native Build Tool

1.0.0-rc.104 · abandoned · verified Wed Apr 22

reaction-build is a command-line interface (CLI) tool designed as a build utility for React and React Native projects. It provides features like React Native compatibility and isomorphic bundling, aiming to produce code usable across various JavaScript environments. Originally associated with the broader "Reaction" ecosystem, potentially Reaction Commerce, its primary function is to abstract away complex build configurations, similar to tools like Create React App or Webpack. The package is currently at version `1.0.0-rc.104`, a release candidate, and has not been updated since late 2018. This indicates that the project is no longer actively maintained and would likely face compatibility issues with modern Node.js versions (it requires `>= 4.0.0`) or contemporary React development practices. It lacks current official usage documentation, requiring users to infer functionality from its source or general build tool patterns.

Common errors

Warnings

Install

Imports

Quickstart

Demonstrates how to set up `reaction-build` as a script in `package.json` for typical build, start, and test commands.

{
  "name": "my-react-app",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "start": "reaction-build start",
    "build": "reaction-build build --env production",
    "test": "reaction-build test"
  },
  "dependencies": {
    "react": "^16.0.0",
    "react-dom": "^16.0.0"
  }
}

// To use:
// 1. Install globally: npm install -g reaction-build
// 2. Navigate to your project directory.
// 3. Install local dependencies: npm install
// 4. Run the build command:
// npm run build
//
// This command would typically compile your React application for deployment.

view raw JSON →