New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

atomic-reactor

Package Overview
Dependencies
Maintainers
4
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atomic-reactor

Atomic Jolt's React build tool

latest
Source
npmnpm
Version
3.2.3
Version published
Weekly downloads
63
3.28%
Maintainers
4
Weekly downloads
 
Created
Source

Atomic Reactor

This package contains all of the development and production build code and should be treated as the core of the front-end applications.

Installation

This package should be installed into the client node_modules folder as a dev-dependency.

yarn add --dev atomic-reactor

This gives you access to all of build processes that were previously in the client folder. You will need to reference the from the node_modules in any scripts that used the build process. For example (in root package.json)

{
  "scripts": {
    "hot": "./client/webpack.hot.js"
  }
}

becomes

{
  "scripts": {
    "hot": "atomic-webpack-hot --configDir=client/config"
  }
}

Atomic Reactor Modes

Atomic Reactor supports multiple Javascript applications along with a templating engine that can built your html and assets.

  • Running multiple servers - one per application. Just run yarn hot and each application will be served independently on it's own port starting with the 'hotPort'

  • Running a single app at a time. Run yarn hot --app [application name] and only a single application will be started.

  • Only outputting Javascript and assets while ignoring all html. Running yarn hot --onlyPack will ignore all html files and start a server that will output assets. This is useful when used in conjunction with another application framework like Ruby on Rails.

  • Outputting a single site that contains html to support the other applications. Build your html in one application and the in all other applications set options.json to: { "rootOutput": true, "onlyPack": true }

Keywords

react

FAQs

Package last updated on 22 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts