forked from kind3r/ttlock-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 3.17 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
{
"name": "ttlock-sdk-js",
"version": "0.3.14",
"description": "JavaScript port of the TTLock Android SDK",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/*"
],
"scripts": {
"build": "rm -rf ./dist && tsc",
"prepare": "npm run build",
"init": "npm run build && node ./examples/init.js",
"reset": "npm run build && node ./examples/reset.js",
"unlock": "npm run build && node ./examples/unlock.js",
"lock": "npm run build && node ./examples/lock.js",
"status": "npm run build && node ./examples/status.js",
"set-passage": "npm run build && node ./examples/setPassageMode.js",
"get-passage": "npm run build && node ./examples/getPassageMode.js",
"delete-passage": "npm run build && node ./examples/deletePassageMode.js",
"clear-passage": "npm run build && node ./examples/clearPassageMode.js",
"add-passcode": "npm run build && node ./examples/addPassCode.js",
"update-passcode": "npm run build && node ./examples/updatePassCode.js",
"delete-passcode": "npm run build && node ./examples/deletePassCode.js",
"clear-passcodes": "npm run build && node ./examples/clearPassCodes.js",
"get-passcodes": "npm run build && node ./examples/getPassCodes.js",
"add-card": "npm run build && node ./examples/addICCard.js",
"add-card-batch": "npm run build && node ./examples/addICCardBatch.js",
"get-cards": "npm run build && node ./examples/getICCards.js",
"clear-cards": "npm run build && node ./examples/clearICCards.js",
"add-fingerprint": "npm run build && node ./examples/addFR.js",
"get-fingerprints": "npm run build && node ./examples/getFR.js",
"clear-fingerprints": "npm run build && node ./examples/clearFR.js",
"set-autolock": "npm run build && node ./examples/setAutoLock.js",
"listen": "npm run build && node --trace-warnings ./examples/listen.js",
"set-remoteunlock": "npm run build && node ./examples/setRemoteUnlock.js",
"delete-locksound": "npm run build && node ./examples/deleteLockSound.js",
"get-operations": "npm run build && node ./examples/getOperations.js",
"debug-tool": "npm run build && NOBLE_REPORT_ALL_HCI_EVENTS=1 node ./tools/debug.js",
"server-tool": "NOBLE_REPORT_ALL_HCI_EVENTS=1 node ./tools/server.js",
"dump-tool": "npm run build && node ./tools/dumpCapture.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kind3r/ttlock-sdk-js.git"
},
"keywords": [
"ttlock",
"sdk",
"library",
"javascript",
"smartlock",
"smart-lock",
"iot",
"unofficial"
],
"author": "Emanuel Posescu <[email protected]>",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/kind3r/ttlock-sdk-js/issues"
},
"homepage": "https://github.com/kind3r/ttlock-sdk-js#readme",
"devDependencies": {
"@tsconfig/node12": "^1.0.7",
"@types/crypto-js": "^4.0.1",
"@types/node": "^14.14.8",
"@types/ws": "^7.4.0",
"node-csv": "^0.1.2",
"tslint": "^6.1.3",
"typescript": "^4.0.5"
},
"dependencies": {
"@abandonware/noble": "^1.9.2-13",
"chalk": "^4.1.0",
"crypto-js": "^4.0.0",
"moment": "^2.29.1",
"reconnecting-websocket": "^4.4.0",
"ws": "^7.4.2"
}
}