@steal-like-a-dev/create-react-app

1.1.2 • Public • Published

create-react-app | steal-like-a-dev

Minimalist implementation of create-react-app. Primarily for teaching purposes in my StealLikeADev.com tutorial series, BUT since it's actually very usable, I decided to publish it as a NPM package as well.

These docs are "stolen" from create-react-app, but I've left only the parts I've actually implemented. Happy stealing!

Installation & usage

Install the package globally so that it is available from everywhere in your device:

$ npm install -g @steal-like-a-dev/create-react-app

and then run the following command to create a new app called my-app in the current folder.

stolen-create-react-app my-app
cd my-app
npm start

Then open http://localhost:8080/ to see your app. When you’re ready to deploy to production, create a minified bundle with npm run build.

What's included

Your environment will have everything you need to build a modern single-page React app:

  • React, JSX, & ES6
  • Language extras beyond ES6 like the object spread operator.
  • Autoprefixed CSS, so you don’t need -webkit- or other prefixes.
  • A fast interactive unit test runner with built-in support for coverage reporting.
  • A live development server that warns about common mistakes.
  • A build script to bundle JS, CSS, and images for production, with hashes and sourcemaps.
  • An offline-first service worker and a web app manifest, meeting all the Progressive Web App criteria. (Note: Using the service worker is opt-in).

Further development & bugfixing

I'll try and keep the code and React dependencies up-to-date, so I'll have a look on this package once in a while. However, I won't be adding any new features because, well... there's already the original out there. But I'll be fixing bugs regarding features already implemented.


Made with by Pava

Package Sidebar

Install

npm i @steal-like-a-dev/create-react-app

Weekly Downloads

0

Version

1.1.2

License

MIT

Unpacked Size

45.9 kB

Total Files

23

Last publish

Collaborators

  • iampava