-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
150 lines (150 loc) · 4.49 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "@openhps/react-native",
"version": "0.1.8",
"description": "Open Hybrid Positioning System",
"author": "Maxim Van de Wynckel",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/OpenHPS/openhps-react-native.git"
},
"publishConfig": {
"access": "public"
},
"main": "./dist/cjs/index.js",
"types": "./dist/cjs/index.d.ts",
"module": "./dist/esm/index.js",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts"
},
"./imu": {
"require": "./dist/cjs/nodes/IMUSourceNode.js",
"import": "./dist/esm/nodes/IMUSourceNode.js",
"types": "./dist/esm/nodes/IMUSourceNode.d.ts"
},
"./geolocation": {
"require": "./dist/cjs/nodes/GeolocationSourceNode.js",
"import": "./dist/esm/nodes/GeolocationSourceNode.js",
"types": "./dist/esm/nodes/GeolocationSourceNode.d.ts"
},
"./wlan": {
"require": "./dist/cjs/nodes/WLANSourceNode.js",
"import": "./dist/esm/nodes/WLANSourceNode.js",
"types": "./dist/esm/nodes/WLANSourceNode.d.ts"
},
"./ble": {
"require": "./dist/cjs/nodes/BLESourceNode.js",
"import": "./dist/esm/nodes/BLESourceNode.js",
"types": "./dist/esm/nodes/BLESourceNode.d.ts"
}
},
"files": [
"dist/**/*",
"src/**/*"
],
"scripts": {
"test": "mocha --config test/.mocharc.json",
"cover": "nyc mocha --config test/.mocharc.json && nyc report --reporter=cobertura",
"cover:ci": "nyc mocha --config test/.mocharc.json --reporter mocha-junit-reporter && nyc report --reporter=cobertura",
"lint": "eslint src/**",
"clean": "shx rm -rf ./dist && shx rm -rf ./docs/out",
"build": "npm run clean && npm-run-all --parallel build:esm build:cjs build:typedoc",
"build:esm": "tsc --module es2015 --outDir dist/esm",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"build:typedoc": "typedoc --options docs/typedoc.json",
"bump:development": "standard-version --prerelease alpha -m 'chore(alpha): %s' --skip.changelog",
"bump:beta": "standard-version --prerelease beta -m 'chore(beta): %s' --skip.changelog",
"bump:release": "standard-version -m 'chore(release): %s' --skip.changelog"
},
"keywords": [
"openhps",
"react-native"
],
"dependencies": {},
"peerDependencies": {
"@openhps/core": ">=0.4.11",
"reflect-metadata": ">=0.1.13",
"react-native": ">=0.71.3",
"@openhps/rf": ">=0.1.17"
},
"optionalDependencies": {
"react-native-ble-plx": ">=2.0.3",
"react-native-geolocation-service": ">=5.3.1",
"react-native-wifi-reborn": ">=4.7.0",
"react-native-sensors": ">=7.3.6",
"react-native-device-info": ">=10.4.0"
},
"devDependencies": {
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@openhps/core": ">=0.4.11",
"@openhps/rf": "^0.1.17",
"@types/chai": "^4.3.4",
"@types/mocha": "^10.0.1",
"@types/node": "^18.14.1",
"@types/react-native": "^0.71.3",
"@typescript-eslint/eslint-plugin": ">=5.53.0",
"@typescript-eslint/parser": ">=5.53.0",
"chai": "^4.3.7",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-deprecation": "^1.3.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsdoc": "^40.0.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"mocha": "^10.2.0",
"mocha-junit-reporter": "^2.2.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.8.4",
"react-native": "^0.71.3",
"react-native-ble-plx": "^2.0.3",
"react-native-device-info": "^10.4.0",
"react-native-geolocation-service": "^5.3.1",
"react-native-sensors": "^7.3.6",
"react-native-wifi-reborn": "^4.7.0",
"reflect-metadata": ">=0.1.13",
"shx": "^0.3.4",
"standard-version": "^9.5.0",
"ts-node": ">=10.9.1",
"typedoc": ">=0.23.25",
"typescript": ">=4.9.5"
},
"nyc": {
"branches": 0,
"lines": 20,
"functions": 17,
"statements": 20,
"include": [
"src"
],
"exclude": [
"test"
],
"extension": [
".ts"
],
"reporter": [
"lcov",
"text-summary"
],
"cache": true,
"all": true,
"check-coverage": true,
"report-dir": "./coverage"
},
"engines": {
"node": ">=12.0.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"pre-push": "npm run test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}