未验证 提交 14684ec3 编写于 作者: O openharmony_ci 提交者: Gitee

!9368 【轻量级 PR】:【OpenHarmony开源贡献者计划2022】update zh-cn/device-dev/hpm-part/hpm-part-development.md.

Merge pull request !9368 from 章伟/N/A
...@@ -180,36 +180,36 @@ hpm init ...@@ -180,36 +180,36 @@ hpm init
``` ```
{ {
"name": "@your/dist_name", "name": "@your/dist_name",
"version": "2.2.0", "version": "2.2.0",
"publishAs": "distribution", "publishAs": "distribution",
"description": "describe it", "description": "describe it",
"scripts": { "scripts": {
"config_hb": "hb set -root $DEP_BUNDLE_BASE", "config_hb": "hb set -root $DEP_BUNDLE_BASE",
"dist": "PATH=/root/.local/bin:${DEP_OHOS_gn}:${DEP_OHOS_ninja}/ninja:${DEP_OHOS_llvm}/llvm/bin:${DEP_OHOS_hc_gen}/hc-gen:${PATH} && ./scripts/dist.sh" "dist": "PATH=/root/.local/bin:${DEP_OHOS_gn}:${DEP_OHOS_ninja}/ninja:${DEP_OHOS_llvm}/llvm/bin:${DEP_OHOS_hc_gen}/hc-gen:${PATH} && ./scripts/dist.sh"
}, },
"envs": { "envs": {
"debug": false "debug": false
}, },
"dirs": { "dirs": {
"scripts": "scripts/*" "scripts": "scripts/*"
}, },
"dependencies": { "dependencies": {
"@ohos/build_lite": "2.2.0", "@ohos/build_lite": "2.2.0",
"@ohos/gn": "1.1.1", "@ohos/gn": "1.1.1",
"@ohos/llvm": "1.1.1", "@ohos/llvm": "1.1.1",
"@ohos/hc_gen": "1.1.0", "@ohos/hc_gen": "1.1.0",
"@ohos/ninja": "1.1.0", "@ohos/ninja": "1.1.0",
...... ......
}, },
"ohos": { "ohos": {
"os": "2.2-Beta", "os": "2.2-Beta",
"board": "hi3516", "board": "hi3516",
"kernel": "liteos-a" "kernel": "liteos-a"
}, },
"keywords": [ "hispark", "hi3516" ], "keywords": ["hispark", "hi3516"],
"repository": "https://gitee.com/openharmony/your-project", "repository": "https://gitee.com/openharmony/your-project",
"license": "Apache V2" "license": "Apache V2"
} }
``` ```
...@@ -371,7 +371,7 @@ project ...@@ -371,7 +371,7 @@ project
``` ```
{ {
"dependencies": { "dependencies": {
"@scope/the_bundle": "^1.0.0" "@scope/the_bundle": "^1.0.0"
} }
} }
...@@ -382,7 +382,7 @@ project ...@@ -382,7 +382,7 @@ project
``` ```
{ {
"dependencies": { "dependencies": {
"@scope/the_bundle1": "^1.0.0", "@scope/the_bundle1": "^1.0.0",
"@scope/the_bundle2": "^2.0.0", "@scope/the_bundle2": "^2.0.0",
"@scope/the_bundle3": "^3.0.0", "@scope/the_bundle3": "^3.0.0",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册