@digitalify/reactify
v0.2.2
Published
Create react app made easy!
Downloads
20
Maintainers
Readme
⧉ Reactify
Create react app made easy! (React v16.x, React router v4.x, Webpack v4.x, Redux, Redux thunk, SCSS, Autoprefixer, React error overlay).
It should works on macOS, Windows, and Linux.
If something doesn’t work, please file an issue.
Installation
$ npm install @digitalify/reactify -g
Usage
reactify create my-app
(You don’t need to install or configure tools like Webpack or Babel, they are preconfigured for you, but they are not hidden!.)
It will create a directory called my-app inside the current folder, contains following files and directories.
my-app
|---.babelrc
|---index.html
|---package.json
|---postcss.config.js
|---webpack.config.js
|---node_modules
\---src
|---index.jsx
|---store.jsx
|
+---actions
|---|---a.post.jsx
|
+---components
| |---app.jsx
| |---app.scss
| |
| +---about
| | |---about.jsx
| |
| \---home
| |---home.jsx
|
\---reducers
|---r.index.jsx
|---r.post.jsx
Let Reactify do its job, then open http://localhost:8080/ to see your app. (the port number can be different in your machine, used port number will be printed on command-line)
When you’re ready to deploy to production, create a minified bundle with npm run build.
For re-starting the server you can use npm start
or reactify start
.
What’s Included?
- React, JSX and ES6 syntax support.
- Language extras beyond ES6 like the object spread operator.
- SCSS and Autoprefixed CSS, so you don’t need
-webkit-
or other prefixes. - A live development server that warns about common mistakes.
- A build script to bundle JS, CSS for production, with sourcemaps.
What's not Included?
- Unit test (and won't be added)
- An offline-first service worker and a web app manifest (adding this one depends on user requests)
Prerequisites
You need to have Node.js and npm installed.
Why?
We have great Create React App, so why another one?
Well, create react app is great, but it's not good for simple projects with no unit test or offline support (it's my opinion). also I don't like hidden configurations, I like to know and configure the tools myself, it makes my life easier, so I created Reactify and decided to publish it, hope it helps someone.
License
Reactify is open source software licensed as MIT.
Made with ♥ by people @ Digitalify