7a660a1a by McLemore

feat: add questions for init

1 parent e54105e2
{
"name": "@zb100/${repository}",
"name": "@zb100/${projectName}",
"version": "1.0.0",
"description": "",
"description": "${description}",
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
......@@ -32,7 +32,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@gitlab.zb100.com:10022/mui/${repository}.git"
"url": "ssh://git@gitlab.zb100.com:10022/mui/${repo}.git"
},
"author": "${author}",
"license": "ISC",
......
module.exports = {
projectName: {
desc: '请输入工程名称',
default: 'my-awesome-project'
},
description: {
desc: '请输入工程描述',
default: 'my awesome project'
},
author: {
desc: '请输入开发者名称',
default: ''
},
repo: {
desc: '请输入 git 仓库名',
default: 'my-awesome-project'
}
}
\ No newline at end of file
......@@ -2,6 +2,7 @@
"name": "@zb100/mui-template",
"version": "1.1.0",
"description": "小程序组件模版",
"main": "index.js",
"scripts": {
"release": "standard-version",
"commit": "npx git-cz"
......