-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
130 lines (130 loc) · 4.63 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
{
"name": "SegmentMobileDemoReactNative",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"clean": "rm -rf $TMPDIR/react-* && watchman watch-del-all && npm cache clean --force",
"clean:android": "cd android/ && ./gradlew clean && cd .. && react-native run-android",
"newclear": "rm -rf $TMPDIR/react-* && watchman watch-del-all && rm -rf ios/build && rm -rf node_modules/ && npm cache clean --force && npm i",
"test:watch": "jest --watch",
"updateSnapshot": "jest --updateSnapshot",
"coverage": "jest --coverage && open coverage/lcov-report/index.html || xdg-open coverage/lcov-report/index.html",
"android:build": "cd android && ./gradlew assembleRelease",
"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",
"storybook": "storybook start -p 7007",
"lint": "standard --verbose | snazzy",
"lintdiff": "git diff --name-only --cached --relative | grep '\\.js$' | xargs standard | snazzy",
"fixcode": "standard --fix",
"git-hook": "npm run lint -s && npm run test -s"
},
"dependencies": {
"@segment/analytics-react-native": "^0.0.1-alpha.7",
"@segment/analytics-react-native-appboy": "^0.0.1-alpha.0",
"apisauce": "^0.14.2",
"apollo-cache-inmemory": "^1.2.5",
"apollo-client": "^2.3.5",
"apollo-link": "^1.2.2",
"apollo-link-context": "^1.0.8",
"apollo-link-error": "^1.1.0",
"apollo-link-http": "^1.5.4",
"format-json": "^1.0.3",
"graphql": "^0.13.2",
"graphql-tag": "^2.9.2",
"identity-obj-proxy": "^3.0.0",
"lodash": "^4.17.4",
"prop-types": "15.6.0",
"querystringify": "1.0.0",
"ramda": "^0.25.0",
"react": "16.6.0-alpha.8af6728",
"react-apollo": "^2.1.6",
"react-native": "0.57.3",
"react-native-animatable": "^1.3.0",
"react-native-config": "^0.11.5",
"react-native-device-info": "^0.22.6",
"react-native-i18n": "^2.0.15",
"react-native-vector-icons": "4.3.0",
"react-navigation": "1.0.0-beta.11",
"react-navigation-redux-helpers": "^1.0.4",
"react-redux": "^5.0.6",
"redux": "^3.7.2",
"redux-logger": "^3.0.6",
"redux-persist": "^5.4.0",
"redux-saga": "^0.16.0",
"reduxsauce": "0.7.0",
"seamless-immutable": "^7.1.3",
"subscriptions-transport-ws": "^0.9.12",
"whatwg-fetch": "^2.0.4"
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@babel/preset-env": "^7.1.0",
"@storybook/addon-storyshots": "^3.4.0",
"@storybook/addons": "^3.4.0",
"@storybook/channels": "^3.4.0",
"@storybook/react-native": "^3.4.0",
"babel-preset-react-native": "^4.0.1",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.0",
"gulp-babel": "^8.0.0",
"husky": "^0.14.3",
"ignite-animatable": "^1.0.0",
"ignite-dev-screens": "^2.3.0",
"ignite-i18n": "^1.1.1",
"ignite-ir-boilerplate-andross": "^2.3.3",
"ignite-redux-persist": "^1.1.0",
"ignite-standard": "^1.0.0",
"ignite-vector-icons": "^1.1.0",
"jest": "23.2.0",
"metro-react-native-babel-preset": "^0.48.1",
"mockery": "^2.1.0",
"react-dom": "16.5.0",
"react-test-renderer": "^16.5.2",
"reactotron-react-native": "^2.0.0-alpha.3",
"reactotron-redux": "^2.0.0-alpha.3",
"reactotron-redux-saga": "^2.0.0-alpha.3",
"snazzy": "^7.1.1",
"standard": "10.0.2"
},
"jest": {
"testMatch": [
"<rootDir>/Tests/**/*.js",
"**/?(*.)(spec|test).js?(x)"
],
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/Tests/Setup.js"
],
"moduleNameMapper": {
"^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "identity-obj-proxy"
},
"setupFiles": [
"<rootDir>/Tests/Setup"
],
"preset": "react-native",
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
}
},
"config": {},
"standard": {
"parser": "babel-eslint",
"globals": [
"describe",
"test",
"jest",
"expect",
"fetch",
"navigator",
"__DEV__",
"XMLHttpRequest",
"FormData",
"React$Element"
]
}
}