• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "name": "@ohos/napi",
3    "description": "Node-API (formerly N-API) is an API for build native Addons",
4    "version": "3.1",
5    "license": "Apache 2.0",
6    "publishAs": "code-segment",
7    "segment": {
8        "destPath": "foundation/arkui/napi"
9    },
10    "dirs": {},
11    "scripts": {},
12    "component": {
13        "name": "napi",
14        "subsystem": "arkui",
15        "syscap": [
16            "SystemCapability.ArkUI.ArkUI.Napi",
17            "SystemCapability.ArkUI.ArkUI.Libuv"
18        ],
19        "features": ["napi_enable_container_scope"],
20        "adapted_system_type": [
21            "standard"
22        ],
23        "rom": "5120KB",
24        "ram": "10240KB",
25        "deps": {
26            "components": [
27                "hiviewdfx_hilog_native",
28                "hilog"
29            ],
30            "third_party": [
31                "jerryscript",
32                "libuv",
33                "node",
34                "bounds_checking_function",
35                "v8"
36            ]
37        },
38        "build": {
39            "group_type": {
40                "base_group": [
41                    "//foundation/arkui/napi:napi_packages",
42                    "//foundation/arkui/napi:napi_packages_ndk"
43                ],
44                "fwk_group": [],
45                "service_group": []
46            },
47            "inner_kits": [
48                {
49                    "header": {
50                      "header_base": "//foundation/arkui/napi/interfaces/kits",
51                      "header_files": [
52                          "napi/native_api.h"
53                      ]
54                    },
55                    "name": "//foundation/arkui/napi:ace_napi"
56                  },
57                  {
58                    "header": {
59                      "header_base": "//foundation/arkui/napi/interfaces/inner_api",
60                      "header_files": [
61                          "napi/native_common.h",
62                          "napi/native_node_api.h"
63                      ]
64                    },
65                    "name": "//foundation/arkui/napi:ace_napi"
66                  },
67                  {
68                    "header": {
69                      "header_base": "//foundation/arkui/ace_engine/frameworks/core/common/",
70                      "header_files": [
71                          "container_scope.h"
72                      ]
73                    },
74                    "name": "//foundation/arkui/napi:ace_container_scope"
75                  }
76            ],
77            "test": [
78                "//foundation/arkui/napi:napi_packages_test",
79                "//foundation/arkui/napi/sample/native_module_systemtest:systemtest",
80                "//foundation/arkui/napi/test/unittest:unittest"
81            ]
82        }
83    }
84}
85