AllinOne Gulp Server
This is a full Gulp live server, Sass processor and css minifier in one.
The Folder structure is auto-generated upon download from npm.
Prerequisites
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of
npm
- You have installed the latest version of
node.js
Install
To install, type this in your terminal:
$ npm init
$ npx allinone-gulp-server
or
var allInGulp = require ("https://unpkg.com/allinone-gulp-server");
Run this command in terminal to use the server:
- npm start
(make sure your index.html is being exported to the dist folder)
To import/access them in another file:
var gulpLiveServer = require("allinone-gulp-server");
And then you can call each function by calling:
myFunction.processHtml
myFunction.processSass
myFunction.watch
myFunction.server
Potentials in the future:
Babel support (soon)
User Requests
Feel free to contribute to this open-source project or use it under the MIT license.
thanks to @BrianEmilius for guidance
Made with ♡ in Roskilde, Denmark