add readme 和注释
This commit is contained in:
parent
5e79ba416a
commit
f23b41ffa1
@ -1,6 +1,9 @@
|
|||||||
{
|
{
|
||||||
|
// app的构建配置
|
||||||
"app": {
|
"app": {
|
||||||
|
//签名配置
|
||||||
"signingConfigs": [],
|
"signingConfigs": [],
|
||||||
|
//产品配置
|
||||||
"products": [
|
"products": [
|
||||||
{
|
{
|
||||||
"name": "default",
|
"name": "default",
|
||||||
@ -10,6 +13,7 @@
|
|||||||
"runtimeOS": "HarmonyOS",
|
"runtimeOS": "HarmonyOS",
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
//构建类型集合
|
||||||
"buildModeSet": [
|
"buildModeSet": [
|
||||||
{
|
{
|
||||||
"name": "debug",
|
"name": "debug",
|
||||||
@ -19,10 +23,15 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
//组件集合
|
||||||
"modules": [
|
"modules": [
|
||||||
|
// app组件
|
||||||
{
|
{
|
||||||
|
// 组件名称
|
||||||
"name": "app",
|
"name": "app",
|
||||||
|
// 组件源码位置
|
||||||
"srcPath": "./app",
|
"srcPath": "./app",
|
||||||
|
// 构建目标
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"name": "default",
|
"name": "default",
|
||||||
@ -32,9 +41,10 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
//shareLib组件
|
||||||
{
|
{
|
||||||
"name": "shareLib",
|
"name": "common_ui",
|
||||||
"srcPath": "./shareLib",
|
"srcPath": "./common_ui",
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"name": "default",
|
"name": "default",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "sharelib",
|
"name": "common_ui",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "Please describe the basic information.",
|
"description": "Please describe the basic information.",
|
||||||
"main": "Index.ets",
|
"main": "Index.ets",
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"module": {
|
"module": {
|
||||||
"name": "shareLib",
|
"name": "common_ui",
|
||||||
"type": "shared",
|
"type": "shared",
|
||||||
"description": "$string:shared_desc",
|
"description": "$string:shared_desc",
|
||||||
"deviceTypes": [
|
"deviceTypes": [
|
@ -1,12 +1,20 @@
|
|||||||
{
|
{
|
||||||
|
//项目名称
|
||||||
"name": "hm4demo",
|
"name": "hm4demo",
|
||||||
|
//项目版本号
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
|
//项目描述
|
||||||
"description": "Please describe the basic information.",
|
"description": "Please describe the basic information.",
|
||||||
|
//
|
||||||
"main": "",
|
"main": "",
|
||||||
|
//作者信息
|
||||||
"author": "",
|
"author": "",
|
||||||
|
//
|
||||||
"license": "",
|
"license": "",
|
||||||
|
//依赖配置
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
},
|
},
|
||||||
|
//开发依赖配置
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@ohos/hypium": "1.0.15",
|
"@ohos/hypium": "1.0.15",
|
||||||
"@ohos/hamock": "1.0.0-rc"
|
"@ohos/hamock": "1.0.0-rc"
|
||||||
|
Loading…
Reference in New Issue
Block a user