俺の「gulpfile.js」に対応。備忘録的な感じで作成。都度変更していく。
npm i でインストール。
json
package.json
{
"name": "project-name",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"browser-sync": "^2.18.8",
"gulp": "^3.9.1",
"gulp-autoprefixer": "^3.1.1",
"gulp-data": "^1.2.1",
"gulp-debug": "^3.1.0",
"gulp-ejs": "^3.0.1",
"gulp-imagemin": "^3.2.0",
"gulp-minify-css": "^1.2.4",
"gulp-minify-ejs": "^1.0.3",
"gulp-notify": "^3.0.0",
"gulp-plumber": "^1.1.0",
"gulp-postcss": "^6.3.0",
"gulp-pug": "^3.3.0",
"gulp-rename": "^1.2.2",
"gulp-sass": "^3.1.0",
"gulp-uglify": "^2.0.1",
"postcss-cssnext": "^2.9.0"
}
}