Gulp-pack
Gulp-pack ist a task runner setup with PostCSS and es6 compiler.
Installation
Download or clone this repository. Install the dependencies You need also gulp global installed
$ npm install
$ npm install -g gulp
Requirements
Requires Node.js and Gulp global
Usage
build:
$ npm run build
dev mode:
$ npm run dev
dev mode + dev Server:
$ npm run dev:serve || $ npm run serve
Optional
You can change some settings in the gulp-pack.json file.
{
"title": "Page Title",
"author": "John Doe",
"description": "Lorem ipsum dolor sit amet, consectetur adipisicing elit.",
"keywords": "HTML,CSS,XML,JavaScript",
"lang": "en",
"port": "4000",
"dest": "build",
"css": {
"src": "src/css/*.css",
"dest": "/css",
"bundle": "/bundle.css"
},
"js": {
"src": "src/js/*.js",
"dest": "/js",
"bundle": "/bundle.js"
},
"html": {
"src": "src/index.html",
"dest": "build"
}
}
Version: 0.1.0
todo
- fix html save reload bug