Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
templates
/
mui-template
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
7a660a1a
authored
2019-12-17 10:52:13 +0800
by
McLemore
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: add questions for init
1 parent
e54105e2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
3 deletions
boilerplate/package.json
index.js
package.json
boilerplate/package.json
View file @
7a660a1
{
"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/${repo
sitory
}.git"
"url"
:
"ssh://git@gitlab.zb100.com:10022/mui/${repo}.git"
},
"author"
:
"${author}"
,
"license"
:
"ISC"
,
...
...
index.js
0 → 100644
View file @
7a660a1
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
package.json
View file @
7a660a1
...
...
@@ -2,6 +2,7 @@
"name"
:
"@zb100/mui-template"
,
"version"
:
"1.1.0"
,
"description"
:
"小程序组件模版"
,
"main"
:
"index.js"
,
"scripts"
:
{
"release"
:
"standard-version"
,
"commit"
:
"npx git-cz"
...
...
Please
register
or
sign in
to post a comment