forked from Symbitic/node-simpleble
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
95 lines (95 loc) · 2.75 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "simpleble",
"description": "Bluetooth LE library for Node, Deno, and Bun",
"license": "MIT",
"version": "1.2.0",
"type": "module",
"sideEffects": false,
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"bun": "./src/index.bun.ts"
},
"./ffi": {
"import": "./dist/ffi.js",
"bun": "./src/ffi.bun.ts"
}
},
"repository": {
"type": "git",
"url": "https://github.com/Symbitic/node-simpleble.git"
},
"contributors": [
{
"name": "Alex Shaw",
"email": "alex.shaw.as@gmail.com",
"url": "https://github.com/symbitic"
}
],
"keywords": [
"bindings",
"bluetooth",
"ble",
"napi",
"node-addon-api",
"simpleble"
],
"scripts": {
"build-cpp": "cmake-js compile",
"build-deno": "denoify",
"build-ts": "tsc",
"build": "concurrently \"npm:build-*\"",
"cross-build-arm64": "cmake-js compile --CDCMAKE_TOOLCHAIN_FILE=\"$PWD/cmake/zig-toolchain-aarch64.cmake\"",
"cross-build-armhf": "cmake-js compile --CDCMAKE_TOOLCHAIN_FILE=\"$PWD/cmake/zig-toolchain-arm.cmake\"",
"clean": "cmake-js clean",
"install": "prebuild-install --backend cmake-js --runtime napi || cmake-js rebuild",
"lint": "eslint ./src --ext .ts",
"prepublishOnly": "npm run build-ts",
"pre-build": "prebuild --backend cmake-js --runtime napi --all --strip --verbose",
"pre-build-arm64": "prebuild --backend cmake-js --runtime napi --all --verbose --arch arm64 -- --CDCMAKE_TOOLCHAIN_FILE=\"$PWD/cmake/zig-toolchain-aarch64.cmake\"",
"pre-build-armhf": "prebuild --backend cmake-js --runtime napi --all --verbose --arch arm -- --CDCMAKE_TOOLCHAIN_FILE=\"$PWD/cmake/zig-toolchain-arm.cmake\"",
"watch": "tsc -w --preserveWatchOutput"
},
"engines": {
"node": ">=14.0.0"
},
"binary": {
"module_name": "simpleble",
"module_path": "./build/Release/",
"remote_path": "v{version}",
"host": "https://github.com/Symbitic/node-simpleble/releases/download/",
"napi_versions": [
7
]
},
"denoify": {
"index": "./src/mod.deno.ts",
"includes": [
"examples/deno",
"LICENSE",
"README.md"
]
},
"dependencies": {
"cmake-js": "^6.3.2",
"node-addon-api": "^5.0.0",
"prebuild-install": "^7.1.1"
},
"devDependencies": {
"@types/node": "^18.8.5",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"concurrently": "^7.3.0",
"denoify": "^1.2.2",
"eslint": "^8.25.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^11.1.0",
"prebuild": "^11.0.4",
"prettier": "^2.7.1",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
}
}