GitXplorerGitXplorer
v

react-scripts-packaged

public
2 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
7763f560e011e321b566adfef3b84b2bfd1912ac

fix package name in test

vviankakrisna committed 7 years ago
Unverified
76faca5db2aa97ee4fd3f607a4fbd3e53f94df4e

add readme + other stuff

vviankakrisna committed 7 years ago
Unverified
84746a45c3555d31a3722c237e4fd574fe68b359

initial commit

vviankakrisna committed 7 years ago

README

The README file for this repository.

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