This file contains 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
{ | |
"name": "starting-project", | |
"version": "1.0.0", | |
"description": "базовый шаблон проекта сайта на PHP", | |
"main": "gulpfile.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"repository": { | |
"type": "git", |
This file contains 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
{ | |
"name": "starting-project", | |
"version": "1.0.0", | |
"description": "базовый шаблон проекта сайта на PHP", | |
"main": "gulpfile.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"repository": { | |
"type": "git", |
This file contains 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
/** | |
подключаемые плагины: | |
npm i | |
gulp | |
browser-sync | |
gulp-load-plugins | |
gulp-plumber | |
gulp-notify | |
gulp-sourcemaps |
This file contains 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
/** | |
подключаемые плагины: | |
npm i | |
gulp | |
browser-sync | |
gulp-load-plugins | |
gulp-plumber | |
gulp-notify | |
gulp-sourcemaps |
This file contains 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
var g = require("gulp"), | |
p = require("gulp-load-plugins")(), | |
b = require("browser-sync").create(), | |
u = { | |
scss: "app/scss/main.scss", | |
css: "./app/css", | |
map_css: "../css", | |
app: "app/**/*.*", | |
proxy: "basic-project-template" | |
}; |
This file contains 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
/** | |
подключаемые плагины: | |
npm i | |
gulp | |
gulp-load-plugins | |
gulp-plumber | |
gulp-notify | |
gulp-sourcemaps | |
gulp-sass |
This file contains 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
var g=require("gulp"), | |
w=require("wiredep").stream; | |
g.task("wd", function(){ | |
g.src('app/index.html') | |
.pipe(w()) | |
.pipe(g.dest(app)); | |
}); |