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/ace/napi" 9 }, 10 "dirs": {}, 11 "scripts": {}, 12 "component": { 13 "name": "napi", 14 "subsystem": "ace", 15 "syscap": [], 16 "features": [], 17 "adapted_system_type": [ 18 "standard" 19 ], 20 "rom": "5120KB", 21 "ram": "10240KB", 22 "deps": { 23 "components": [ 24 "hiviewdfx_hilog_native", 25 "hilog" 26 ], 27 "third_party": [ 28 "jerryscript", 29 "libuv", 30 "node", 31 "bounds_checking_function", 32 "quickjs", 33 "v8" 34 ] 35 }, 36 "build": { 37 "sub_component": [ 38 "//foundation/ace/napi:napi_packages", 39 "//foundation/ace/napi:napi_packages_ndk" 40 ], 41 "inner_kits": [ 42 { 43 "header": { 44 "header_base": "//foundation/ace/napi/interfaces/kits", 45 "header_files": [ 46 "napi/native_api.h" 47 ] 48 }, 49 "name": "//foundation/ace/napi:ace_napi" 50 }, 51 { 52 "header": { 53 "header_base": "//foundation/ace/napi/interfaces/innerkits", 54 "header_files": [ 55 "napi/native_common.h", 56 "napi/native_node_api.h" 57 ] 58 }, 59 "name": "//foundation/ace/napi:ace_napi" 60 } 61 ], 62 "test": [ 63 "//foundation/ace/napi:napi_packages_test", 64 "//foundation/ace/napi/sample/native_module_systemtest:systemtest", 65 "//foundation/ace/napi/test/unittest:unittest" 66 ] 67 } 68 } 69}