This plugin requires
mac
$ npm install -g gulp
$ npm install -g bower
$ brew install jpeg
$ brew install python
$ pip install glue
$ git clone https://github.com/urakey/gulp-my-project.git
$ cd gulp-my-project
$ npm install
$ gulp
$ gulp --env prod
$ gulp watch
$ gulp watch:css
$ gulp watch:js
Task | Run |
---|---|
watch | build |
watch:css | build:css |
watch:js | build:js |
$ gulp build
$ gulp build:css
$ gulp build:js
Task | Run |
---|---|
build | glue build:css build:js |
build:styleguide | sass kss autoprefixer format:css move:style clean |
build:css | sass autoprefixer ( format:css clean ) |
build:js | webpack ( uglify ) |
In () , it is in production mode.
- PC / SP にわけるとか
- 2015.03.17 gulp-kss 導入
- 2015.03.16 タスクの名前を変更
- 2015.03.16 bower と webpadk のところをアップデート
- 2015.03.15 最初の一歩