#How to use
Clone this repo and then in command line type:
npm install
oryarn
- install all dependenciesgulp
- run dev-server and let magic happen, orgulp build
- build project from sourcesgulp clean
- clean build folder
--
To run separate task type in command line gulp [task_name]
.
Almost all tasks also have watch mode - gulp [task_name]:watch
, but you don't need to use it directly.
Task name | Description |
---|---|
default |
will start all tasks required by project in dev mode: initial build, watch files, run server with livereload |
build:dev |
build dev version of project (without code optimizations) |
build |
build production-ready project (with code optimizations) |
##Other You can also use npm scripts:
npm run start
- same asgulp default
.npm run build
- same asgulp build
.