https://github.com/spearwolf/react-skeleton-app
react skeleton app
https://github.com/spearwolf/react-skeleton-app
Last synced: over 1 year ago
JSON representation
react skeleton app
- Host: GitHub
- URL: https://github.com/spearwolf/react-skeleton-app
- Owner: spearwolf
- License: unlicense
- Created: 2015-12-06T09:59:52.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-18T12:15:35.000Z (over 10 years ago)
- Last Synced: 2025-01-22T08:13:43.040Z (over 1 year ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## react-skeleton-app
#### minimal version
Includes **gulp**, **babel** (_es2015_, _stage-1_, _runtime_, _react_), **browserify** (_commonjs_-style require), **react**, **postcss** and **css-modules** (_precss_, _autoprefixer_) .. and more!
All build artifacts goes into `./build/` directory.
Inside your javascripts the global var `DEBUG=(true||false)` is defined.
Babel config is inside `package.json`
### I. install
`npm install`
### II. usage
predefined `gulp` tasks are ..
- `gulp build` → build `index.html`, one big javascript bundle `app.js` and copy favicon from `src/`to `build/`
- `gulp release` → same as *build* but with `DEBUG=false`
- `gulp` → *build* and *watch* (watches only for `src/**/*.js` changes but ignores `src/index.html` or `src/favicon.ico`)
- `gulp serve` → to run a http server and serve the app at localhost
other sub tasks are ..
- `gulp html`
- `gulp favicon`
- `gulp bundle`
- `gulp bundle:watch`
- `gulp clean`
### III. create
.. and have fun :smiley: