Created
February 3, 2016 15:23
-
-
Save karataev/3d94d623dfff5a5938fe to your computer and use it in GitHub Desktop.
Gulp4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Уже сегодня можно активно использовать Gulp 4 | |
// Установка через npm: | |
npm install gulpjs/gulp#4.0 | |
//Скорей всего глобально установлен gulp 3.x, но это не беда, gulp4 можно запускать и через npm. Для этого в package.json прописываем: | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1", | |
"gulp": "./node_modules/.bin/gulp" | |
}, | |
// и запускаем любой gulp таск: | |
npm run gulp hello | |
// Готово. Вы восхитительны! | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment