mirror of
https://github.com/stolksdorf/homebrewery.git
synced 2025-12-13 05:25:58 +00:00
Newlines
This commit is contained in:
102
gulpfile.js
102
gulpfile.js
@@ -1,51 +1,51 @@
|
||||
"use strict";
|
||||
|
||||
var vitreumTasks = require("vitreum/tasks");
|
||||
var gulp = require("gulp");
|
||||
|
||||
|
||||
var gulp = vitreumTasks(gulp, {
|
||||
entryPoints: [
|
||||
'./client/main',
|
||||
'./client/homebrew',
|
||||
'./client/admin'
|
||||
],
|
||||
|
||||
DEV: true,
|
||||
buildPath: "./build/",
|
||||
pageTemplate: "./client/template.dot",
|
||||
projectModules: ["./shared/naturalcrit","./shared/codemirror"],
|
||||
additionalRequirePaths : ['./shared', './node_modules'],
|
||||
assetExts: ["*.svg", "*.png", "*.jpg", "*.pdf", "*.eot", "*.otf", "*.woff", "*.woff2", "*.ico", "*.ttf"],
|
||||
serverWatchPaths: ["server"],
|
||||
serverScript: "server.js",
|
||||
libs: [
|
||||
"react",
|
||||
"react-dom",
|
||||
"lodash",
|
||||
"classnames",
|
||||
|
||||
//From ./shared
|
||||
"codemirror",
|
||||
"codemirror/mode/gfm/gfm.js",
|
||||
'codemirror/mode/javascript/javascript.js',
|
||||
|
||||
"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('./'));
|
||||
})
|
||||
|
||||
"use strict";
|
||||
|
||||
var vitreumTasks = require("vitreum/tasks");
|
||||
var gulp = require("gulp");
|
||||
|
||||
|
||||
var gulp = vitreumTasks(gulp, {
|
||||
entryPoints: [
|
||||
'./client/main',
|
||||
'./client/homebrew',
|
||||
'./client/admin'
|
||||
],
|
||||
|
||||
DEV: true,
|
||||
buildPath: "./build/",
|
||||
pageTemplate: "./client/template.dot",
|
||||
projectModules: ["./shared/naturalcrit","./shared/codemirror"],
|
||||
additionalRequirePaths : ['./shared', './node_modules'],
|
||||
assetExts: ["*.svg", "*.png", "*.jpg", "*.pdf", "*.eot", "*.otf", "*.woff", "*.woff2", "*.ico", "*.ttf"],
|
||||
serverWatchPaths: ["server"],
|
||||
serverScript: "server.js",
|
||||
libs: [
|
||||
"react",
|
||||
"react-dom",
|
||||
"lodash",
|
||||
"classnames",
|
||||
|
||||
//From ./shared
|
||||
"codemirror",
|
||||
"codemirror/mode/gfm/gfm.js",
|
||||
'codemirror/mode/javascript/javascript.js',
|
||||
|
||||
"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('./'));
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user