-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
77 lines (77 loc) · 3 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
{
"name": "RecordingSample",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"ios:bundle": "react-native bundle --platform ios --dev false --entry-file index.ios.js --bundle-output iOS/main.jsbundle",
"android:build": "cd android && ./gradlew assembleRelease",
"lint": "eslint src",
"clean": "rm -rf $TMPDIR/react-* && watchman watch-del-all && npm cache clean",
"clean:android": "cd android/ && ./gradlew clean && cd .. && react-native run-android",
"clean:npm": "npm cache clean",
"newclear": "rm -rf $TMPDIR/react-* && watchman watch-del-all && rm -rf ios/build/ModuleCache/* && rm -rf node_modules/ && npm cache clean && npm i",
"test": "NODE_ENV=production ava",
"test:watch": "ava --watch",
"coverage": "NODE_ENV=production nyc ava && nyc report --reporter=html && open coverage/index.html || xdg-open coverage/index.html",
"android:install": "cd android && ./gradlew assembleRelease && ./gradlew installRelease",
"android:hockeyapp": "cd android && ./gradlew assembleRelease && puck -submit=auto app/build/outputs/apk/app-release.apk",
"android:devices": "$ANDROID_HOME/platform-tools/adb devices",
"android:logcat": "$ANDROID_HOME/platform-tools/adb logcat *:S ReactNative:V ReactNativeJS:V",
"android:shake": "$ANDROID_HOME/platform-tools/adb devices | grep '\\t' | awk '{print $1}' | sed 's/\\s//g' | xargs -I {} $ANDROID_HOME/platform-tools/adb -s {} shell input keyevent 82",
"build:alpha:ios": "cd fastlane && fastlane ios alpha",
"build:alpha:android": "cd fastlane && fastlane android alpha",
"flow": "flow --show-all-errors"
},
"dependencies": {
"moment": "^2.17.1",
"react": "~15.4.0",
"react-native": "^0.42.0",
"react-native-fs": "^2.1.0-rc.1",
"react-native-router-flux": "^3.37.0",
"react-native-sound": "^0.8.3",
"react-native-swipeable": "^0.4.0",
"react-native-vector-icons": "^4.0.0",
"react-redux": "^5.0.2",
"redux": "^3.6.0",
"redux-persist": "^4.4.0"
},
"devDependencies": {
"ava": "^0.18.2",
"babel-cli": "^6.23.0",
"babel-eslint": "^7.1.1",
"babel-jest": "18.0.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-preset-react-native": "1.9.1",
"enzyme": "^2.7.1",
"eslint": "^3.15.0",
"eslint-config-airbnb": "^14.1.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-react": "^6.10.0",
"jest": "18.1.0",
"mockery": "^2.0.0",
"nyc": "^10.1.2",
"react-addons-test-utils": "^15.4.2",
"react-native-mock": "^0.3.1",
"react-test-renderer": "~15.4.0",
"redux-ava": "^2.2.0",
"remote-redux-devtools": "^0.5.7"
},
"ava": {
"babel": "inherit",
"files": [
"__tests__/**/*.js",
"!__tests__/setup.js"
],
"require": [
"babel-register",
"babel-polyfill",
"react-native-mock/mock",
"./__tests__/setup"
]
},
"jest": {
"preset": "react-native"
}
}