GServe
A gulp workflow for web app
Installation
$ npm install gserve --dev
# or yarn
$ yarn add gserve --dev
Usage
- Default Project Framework
. ├── src | ├── public | ├── assets | | ├── styles ··················· Sass Stylesheet | | ├── images | | ├── fonts | | └── scripts ·················· Javascript File | └── index.html ├── pages.config.js ····················· Gserve Config └── package.json
- pages.config.js
// default config module.exports = { output: 'dist', temp: 'dist/temp', src: 'src', path: { style: 'assets/styles/*.scss', script: 'assets/scripts/*.js', image: 'assets/images/**', font: 'assets/fonts/**', html: '*.html' }, public: 'public', data: {} }
- pages.config.js
- Usage
Start develop server: yarn gserve develop Build for prouduction: yarn gserve build
Related
- zce/caz - A simple yet powerful template-based Scaffolding tools.
Contributing
- Fork it on GitHub!
- Clone the fork to your own machine.
-
Checkout your feature branch:
git checkout -b my-awesome-feature
-
Commit your changes to your own branch:
git commit -am 'Add some feature'
-
Push your work back up to your fork:
git push -u origin my-awesome-feature
- Submit a Pull Request so that we can review your changes.
NOTE: Be sure to merge the latest from "upstream" before making a pull request!