🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

react-scripts-packaged

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-scripts-packaged

Packaged react-scripts

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

An experiment to package https://github.com/facebookincubator/create-react-app react-scripts to an executable package using https://github.com/zeit/pkg to ensure that the setup always works regardless of your environment. Right now it only supports 64-bit machines and packages node 8 inside it.

How to use:

  • download the executable for your os
  • put the file at the root of your create-react-app generated project
  • update your package.json scripts section (this is for macos, update the name of the package according your machine):
    • react-scripts start to ./react-scripts-packaged-macos start
    • react-scripts build to ./react-scripts-packaged-macos build
    • react-scripts test --env=jsdom to ./react-scripts-packaged-macos test --env=jsdom

Feel free to report any bugs or pr for improvements!

the npm package exists solely for placeholder, I need to figure out how to publish this to npm correctly :D

FAQs

Package last updated on 08 Jan 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