/
package.json
74 lines (74 loc) · 2.38 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
{
"name": "@topmonks/postcube",
"version": "3.2.5-fixmepls",
"description": "PostCube public SDK",
"author": "TopMonks <info@topmonks.com>",
"license": "EPL-2.0",
"keywords": [
"PostCube"
],
"repository": {
"type": "git",
"url": "https://github.com/topmonks/postcube-sdk.git"
},
"publishConfig": {
"access": "public"
},
"main": "cjs/index.js",
"module": "esm/index.js",
"browser": "umd/index.js",
"scripts": {
"visualize": "node scripts/visualize-state-machine.js && dot fsm.dot -Tpng -o fsm.png && rm fsm.dot",
"protocol:generate:typescript": "pbjs protocol.proto --ts lib/protocol.pb.ts",
"build:browser:cjs": "tsc -p tsconfig.json",
"build:browser:esm": "tsc -p tsconfig-esm.json",
"build:browser:umd": "tsc -p tsconfig-umd.json",
"prebuild:browser": "npm run protocol:generate:typescript",
"build:browser": "npm run build:browser:cjs && npm run build:browser:esm && npm run build:browser:umd",
"prebuild:node": "npm run protocol:generate:typescript",
"build:node": "tsc -p tsconfig.json",
"watch": "npm run protocol:generate:typescript && tsc --watch",
"pretest:mocha": "npm run protocol:generate:typescript",
"test:mocha": "nyc mocha --reporter $MOCHA_REPORTER --reporter-options mochaFile=results/test.xml",
"test": "npm run test:mocha",
"test:spec": "MOCHA_REPORTER=spec npm run test:mocha"
},
"dependencies": {
"@abandonware/noble": "^1.9.2-15",
"@capacitor-community/bluetooth-le": "^1.6.0",
"@capacitor/core": "^3.3.2",
"buffer": "^6.0.3",
"chacha": "^2.1.0",
"cordova-plugin-ble-central": "^1.4.4",
"events": "^3.3.0",
"javascript-state-machine": "^3.1.0",
"joi": "^17.4.0",
"jsignal": "^2.5.0",
"lodash": "^4.17.21",
"node-fetch": "^3.1.0",
"npm": "^8.5.5",
"pbjs": "0.0.14"
},
"devDependencies": {
"@peculiar/webcrypto": "^1.3.1",
"@types/chai": "^4.3.0",
"@types/lodash": "^4.14.177",
"@types/mocha": "^9.1.0",
"@types/noble": "0.0.40",
"@types/node-fetch": "^3.0.3",
"@types/react": "^17.0.43",
"@types/web-bluetooth": "0.0.11",
"chai": "^4.3.6",
"jsdom": "^19.0.0",
"jsdom-global": "^3.0.2",
"mocha": "^9.2.1",
"mocha-junit-reporter": "^2.0.2",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"ts-node": "^10.6.0",
"typescript": "^4.5.2"
},
"peerDependencies": {
"react": "^17.0.2"
}
}