forked from naturalcrit/homebrewery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgulpfile.js
50 lines (35 loc) · 950 Bytes
/
gulpfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
"use strict";
var vitreumTasks = require("vitreum/tasks");
var gulp = require("gulp");
var gulp = vitreumTasks(gulp, {
entryPoints: ["./client/naturalCrit", "./client/homebrew", "./client/admin"],
DEV: true,
buildPath: "./build/",
pageTemplate: "./client/template.dot",
projectModules: ["./shared/naturalCrit"],
additionalRequirePaths : ['./shared'],
assetExts: ["*.svg", "*.png", "*.jpg", "*.pdf", "*.eot", "*.otf", "*.woff", "*.woff2", "*.ico", "*.ttf"],
serverWatchPaths: ["server"],
serverScript: "server.js",
libs: [
"react",
"react-dom",
"lodash",
"classnames",
"jsoneditor",
"moment",
"superagent",
"marked",
"pico-router",
"pico-flux"
],
clientLibs: [],
});
var rename = require('gulp-rename');
var less = require('gulp-less');
gulp.task('phb', function(){
gulp.src('./client/homebrew/phbStyle/phb.style.less')
.pipe(less())
.pipe(rename('phb.standalone.css'))
.pipe(gulp.dest('./'));
})