mirror of
https://github.com/sern-handler/create-bot
synced 2026-06-06 01:16:53 +00:00
better config, remove console.log
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@sern/create-bot",
|
||||
"version": "1.4.1",
|
||||
"version": "1.4.2",
|
||||
"main": "./dist/index.js",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
|
||||
@@ -85,7 +85,6 @@ async function runInteractive() {
|
||||
'../..',
|
||||
result.template
|
||||
);
|
||||
console.log(selectedTemplate);
|
||||
if (argv.overwrite) {
|
||||
emptyDir(root);
|
||||
} else if (!fs.existsSync(root)) {
|
||||
|
||||
@@ -3,11 +3,9 @@
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"main": "dist/index.js",
|
||||
"main": "src/index.js",
|
||||
"scripts": {
|
||||
"build": "sern build",
|
||||
"start": "node .",
|
||||
"install": "sern build",
|
||||
"commands:publish": "sern commands publish"
|
||||
},
|
||||
"keywords": [
|
||||
@@ -21,7 +19,7 @@
|
||||
"dotenv": "^16.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^17.0.25"
|
||||
"@types/node": "^18.0.25"
|
||||
},
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user