1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-12 23:35:58 +00:00

Updating to user create-react-class

This commit is contained in:
Scott Tolksdorf
2018-04-08 23:52:35 -04:00
parent c4bff6afa0
commit f18a181e2e
35 changed files with 77 additions and 42 deletions

View File

@@ -11,10 +11,10 @@ const Proj = require('./project.json');
clean()
.then(lib(Proj.libs))
.then(()=>jsx('homebrew', './client/homebrew/homebrew.jsx', {libs: Proj.libs, shared : ['./shared']}))
.then((deps)=>less('homebrew', {shared: ['./shared']}, deps))
.then(()=>jsx('admin', './client/admin/admin.jsx', {libs: Proj.libs, shared: ['./shared']}))
.then((deps)=>less('admin', {shared: ['./shared']}, deps))
.then(()=>jsx('homebrew', './client/homebrew/homebrew.jsx', { libs: Proj.libs, shared: ['./shared'] }))
.then((deps)=>less('homebrew', { shared: ['./shared'] }, deps))
.then(()=>jsx('admin', './client/admin/admin.jsx', { libs: Proj.libs, shared: ['./shared'] }))
.then((deps)=>less('admin', { shared: ['./shared'] }, deps))
.then(()=>asset(Proj.assets, ['./shared', './client']))
.then(console.timeEnd.bind(console, label))
.catch(console.error);

View File

@@ -10,10 +10,10 @@ const livereload = require('vitreum/steps/livereload.js');
const Proj = require('./project.json');
Promise.resolve()
.then(()=>jsx('homebrew', './client/homebrew/homebrew.jsx', {libs: Proj.libs, shared : ['./shared']}))
.then((deps)=>less('homebrew', {shared: ['./shared']}, deps))
.then(()=>jsx('admin', './client/admin/admin.jsx', {libs: Proj.libs, shared: ['./shared']}))
.then((deps)=>less('admin', {shared: ['./shared']}, deps))
.then(()=>jsx('homebrew', './client/homebrew/homebrew.jsx', { libs: Proj.libs, shared: ['./shared'] }))
.then((deps)=>less('homebrew', { shared: ['./shared'] }, deps))
.then(()=>jsx('admin', './client/admin/admin.jsx', { libs: Proj.libs, shared: ['./shared'] }))
.then((deps)=>less('admin', { shared: ['./shared'] }, deps))
.then(()=>assets(Proj.assets, ['./shared', './client']))
.then(()=>livereload())

View File

@@ -5,6 +5,7 @@
"libs" : [
"react",
"react-dom",
"create-react-class",
"lodash",
"classnames",
"codemirror",