diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index c34079a..0000000 Binary files a/.DS_Store and /dev/null differ 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: {