add light-chat as default example

This commit is contained in:
weboko 2022-12-13 15:09:42 +01:00
parent 644e8ff703
commit 5da4ca1751
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@ const execSync = require("child_process").execSync;
const { Command } = require("commander");
const validateProjectName = require("validate-npm-package-name");
const DEFAULT_TEMPLATE = "web-chat";
const DEFAULT_TEMPLATE = "light-chat";
const supportedExamplesDir = path.resolve(__dirname, "./examples");
const init = (name, description, version, supportedExamples) => {

View File

@ -44,7 +44,8 @@
"rln-js": "../../rln-js",
"store-js": "../../store-js",
"store-reactjs-chat": "../../store-reactjs-chat",
"web-chat": "../../web-chat"
"web-chat": "../../web-chat",
"light-chat": "../../light-chat"
},
"dependencies": {
"commander": "^9.4.1",