-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
101 lines (101 loc) · 2.87 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
{
"name": "reactNativeReduxStarterKit",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"lint": "standard src/**/*.js test/**/*.js --verbose | snazzy",
"clean": "rm -rf $TMPDIR/react-* && watchman watch-del-all && 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",
"tron": "node_modules/.bin/reactotron",
"test": "mocha --require tests/setup.js tests/**/*.spec.js",
"test:dev": "mocha --require tests/setup.js tests/**/*.spec.js --watch",
"android:build": "cd android && ./gradlew assembleRelease",
"android:install": "cd android && ./gradlew assembleRelease && ./gradlew installRelease",
"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"
},
"dependencies": {
"react": "15.2.1",
"react-native": "0.31.0",
"react-native-router-flux": "^3.33.2",
"react-redux": "^4.4.5",
"redux": "^3.5.2",
"redux-thunk": "^2.1.0"
},
"devDependencies": {
"assert": "^1.4.1",
"babel": "^6.5.2",
"babel-core": "^6.13.2",
"babel-eslint": "^6.1.2",
"babel-plugin-module-alias": "^1.6.0",
"babel-preset-react-native": "^1.9.0",
"chai": "^3.5.0",
"chai-as-promised": "^5.3.0",
"chai-immutable": "^1.6.0",
"enzyme": "^2.4.1",
"mocha": "^3.0.1",
"mockery": "^1.7.0",
"react-addons-test-utils": "^15.3.0",
"react-dom": "^15.3.0",
"react-native-mock": "^0.2.5",
"reactotron": "^0.8.0",
"sinon": "^1.17.5",
"snazzy": "^4.0.1",
"standard": "^7.1.2"
},
"ava": {
"files": [
"tests/**/*.js",
"!tests/setup.js"
],
"require": [
"babel-register",
"babel-polyfill",
"react-native-mock/mock",
"./tests/Setup"
],
"babel": {
"presets": [
"react-native"
],
"env": {
"development": {
"sourceMaps": "inline"
}
},
"plugins": [
[
"module-alias",
[
{
"src": "../src/styles",
"expose": "components"
},
{
"src": "./src/styles",
"expose": "styles"
},
{
"src": "./src/routes",
"expose": "routes"
}
]
]
]
}
},
"standard": {
"parser": "babel-eslint",
"globals": [
"describe",
"it",
"fetch",
"navigator",
"__DEV__",
"XMLHttpRequest",
"FormData"
]
}
}