parent
acdf82e6b8
commit
bc6be0764e
6
index.js
6
index.js
|
@ -5,7 +5,7 @@
|
|||
* @date 2022/10/10 15:17:36
|
||||
*/
|
||||
|
||||
import { red, cyan, blue, grey } from 'kolorist'
|
||||
import { red, cyan, blue, gray } from 'kolorist'
|
||||
import prompts from 'prompts'
|
||||
import fs from 'iofs'
|
||||
import { resolve, join, dirname } from 'path'
|
||||
|
@ -143,8 +143,8 @@ function printHelp() {
|
|||
console.log('[oooooooooo]', '100%')
|
||||
console.log(cyan('初始化完成, 可依次执行以下命令启动项目: '))
|
||||
console.log(blue('npm i'))
|
||||
console.log(blue('pm2 start app.dev.yaml'), grey('# 开发模式'))
|
||||
console.log(blue('pm2 start app.yaml'), grey('# 生产模式'))
|
||||
console.log(blue('pm2 start app.dev.yaml'), gray('# 开发模式'))
|
||||
console.log(blue('pm2 start app.yaml'), gray('# 生产模式'))
|
||||
|
||||
break
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "create-five",
|
||||
"description": "一个快速创建Five.js项目的小工具",
|
||||
"type": "module",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"author": "yutent <yutent.io@gmail.com>",
|
||||
"bin": {
|
||||
"create-five": "index.js"
|
||||
|
|
Loading…
Reference in New Issue