-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
92 lines (92 loc) · 3.57 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
{
"name": "stress-detection-kit",
"version": "0.0.1",
"description": "Stress monitoring app for Android and iOS.",
"author": "Alexander Baygeldin",
"license": "GPL-3.0",
"scripts": {
"start": "haul start --platform all",
"test": "jest",
"postinstall": "pipenv install --dev && npm run inject-device-kit",
"inject-device-kit": "inject-device-kit --android MedMDeviceKit/MedMDeviceKit.aar --ios MedMDeviceKit/MedMDeviceKit.framework",
"release-workaround": "node ./workaround/android-release-gradle-fix.js",
"clean": "rimraf build",
"build": "npm run clean && npm run tsc --",
"lint": "tslint src/**/*.ts",
"prettier": "prettier --write 'src/**/*.{ts,tsx,js,jsx}'",
"android": "haul start --platform android",
"ios": "haul start --platform ios",
"reload": "haul reload",
"reverse": "adb reverse tcp:8081 tcp:8081",
"bundle": "haul bundle --dev true --platform android --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res",
"bundle-prod": "haul bundle --dev false --platform android --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res",
"train-model": "pipenv run python src/ml/train-model.py",
"port-model": "pipenv run python -m sklearn_porter -i src/ml/model.pkl --js --pipe",
"serialize-model": "pipenv run python src/ml/serialize-model.py",
"pull-samples": "adb pull /sdcard/Stress\\ Detection\\ Kit src/ml/samples",
"regenerate-samples": "npm run ts-node -- src/ml/regenerate-samples.ts",
"calc-features-meta": "npm run ts-node -- src/ml/features-meta.ts",
"train-shortcut": "src/ml/train-shortcut.sh",
"ts-node": "ts-node -r tsconfig-paths/register -O '{\"module\": \"commonjs\"}'"
},
"dependencies": {
"@types/react-native-permissions": "^1.1.1",
"d3": "^5.0.0",
"denque": "^1.2.3",
"mathjs": "^4.0.1",
"mobx": "^4.1.0",
"mobx-react": "^5.0.0",
"moment": "^2.21.0",
"native-base": "^2.3.10",
"react": "^16.0.0",
"react-native": "^0.55.4",
"react-native-background-timer": "^2.0.1",
"react-native-bluetooth-status": "^1.1.3",
"react-native-device-kit": "^0.1.1",
"react-native-elements": "^0.18.5",
"react-native-fs": "^2.9.11",
"react-native-progress": "^3.4.0",
"react-native-sensors": "3.0.0",
"react-native-splash-screen": "^3.0.6",
"react-native-svg": "^6.3.1",
"react-native-swift": "^1.2.1",
"react-native-vector-icons": "^4.4.2",
"react-navigation": "^1.0.0-beta.21",
"xmldom": "^0.1.27"
},
"devDependencies": {
"@types/d3": "^5.0.0",
"@types/jest": "^21.1.9",
"@types/mathjs": "0.0.38",
"@types/node": "^8.5.7",
"@types/react": "^16.0.31",
"@types/react-native": "^0.55.4",
"@types/react-native-fs": "^2.8.1",
"@types/react-native-vector-icons": "^4.4.2",
"@types/react-navigation": "^1.0.30",
"@types/rx": "^4.1.1",
"@types/xmldom": "^0.1.29",
"awesome-typescript-loader": "^3.4.1",
"babel-jest": "21.2.0",
"babel-loader": "^7.1.2",
"babel-plugin-transform-inline-environment-variables": "^0.3.0",
"babel-preset-react-native": "4.0.0",
"commander": "^2.15.1",
"haul": "^1.0.0-rc.1",
"jest": "21.2.1",
"prettier": "^1.10.2",
"react-test-renderer": "16.0.0",
"rx": "^4.1.0",
"ts-loader": "^4.1.0",
"ts-node": "^6.0.0",
"tsconfig-paths": "^3.3.0",
"tslint": "^5.8.0",
"tslint-config-prettier": "^1.13.0",
"tslint-react": "^3.2.0",
"typescript": "^2.6.2"
},
"jest": {
"preset": "react-native"
},
"isSwift": true
}