"lib/index.js" is more portable -- even if you're in windows, you'll typically want to generate a project that will work in both unix and windows.
(This also fixes the fact that "lib\index.js" was improperly escaped.)
@@ -79,7 +79,7 @@ export default async function wizard(pwd, name, toolchain) {
}
},
{ type: 'input', name: 'description', message: "description" },
- { type: 'input', name: 'node', message: "node entry point", default: "lib" + path.sep + "index.js" },
+ { type: 'input', name: 'node', message: "node entry point", default: "lib/index.js" },
{ type: 'input', name: 'git', message: "git repository" },
{ type: 'input', name: 'author', message: "author", default: guess.name },
{ type: 'input', name: 'email', message: "email", default: guess.email },
