From 826b07b083024cc342bdb2230743f2030c72c5b5 Mon Sep 17 00:00:00 2001 From: "lcxfs1991@gmail.com" Date: Sun, 10 Jul 2016 19:50:29 +0800 Subject: [PATCH] change template/steamer-config.js path --- .DS_Store | Bin 6148 -> 0 bytes libs/SteamerInit.js | 2 +- libs/SteamerRepos.js | 12 +++++++++++- 3 files changed, 12 insertions(+), 2 deletions(-) delete mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index c34079aa2cebdcf6cc05c2f568dc648ac4dc479c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHKQA^`M5T32QGu4BO=z(xA`zrLICM`;5VcY!T{o#Y!19f259d-L85mpn%chzvS66?f;bH@=RWAgD$8rNJ5gFFfB3lQ zRF;6&i#ClHU0jP9;q-2tl#qU?xVk-rt!r0g98-}JMP+#G|7FHMExhF z$A>Bj(_u3mBw=>kHuD{-FzqcXH?`LoP=ltUDzssxZ|2Jk^1TjIfYG7h-CmuV@05iZ0 z%nJkd#B-MCWkI|SW`G%ZH3sN>kf?;7#loOII?(7A0I`f=E$CA(K{e8%XR$DdZ%~9O zMKqcV_e!i&thTFl!LI%hp=B3wnGv6>o~vE=^#9VY?%ROV48siGj!?x-+j6N zpDyANGr$bY6$7HY)81*~lI-0&vpBkICF(C!63QzKPD;?xS25<&RlJU>1>=$&M9*Sj R5F;r3BcN$u!wkGB0}oF|U+4e; diff --git a/libs/SteamerInit.js b/libs/SteamerInit.js index 04e5bee..db4bf43 100644 --- a/libs/SteamerInit.js +++ b/libs/SteamerInit.js @@ -11,7 +11,7 @@ const path = require('path'), function initSteamerConfig() { // avoid overriding - let configSrcPath = "./node_modules/steamer/template/steamer.config.js", + let configSrcPath = path.resolve('../template/steamer.config.js'), configDestPath = path.resolve('steamer.config.js'); if (fs.existsSync(configDestPath)) { throw new Warning.FileExistErr("steamer.config.js"); diff --git a/libs/SteamerRepos.js b/libs/SteamerRepos.js index 6669321..3faa4ea 100644 --- a/libs/SteamerRepos.js +++ b/libs/SteamerRepos.js @@ -5,7 +5,7 @@ module.exports = { 'steamer-react': { - git: 'https://github.com/lcxfs1991/steamer-react.git', + git: 'https://github.com/lcxfs1991/steamer-react.git -b react', config: { src: "./react/", cmds: { @@ -14,6 +14,16 @@ module.exports = { }, }, }, + 'steamer-react-isomorphic': { + git: 'https://github.com/lcxfs1991/steamer-react.git -b react-isomorphic', + config: { + src: "./react/", + cmds: { + dev: "npm run dev", + pub: "npm run pub", + }, + }, + }, 'steamer-koa': { git: 'https://github.com/lcxfs1991/steamer-koa.git', config: {