-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 4.51 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
{
"name": "ReactNativeLiftitBoilerplate",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"lint": "standard --verbose | snazzy",
"lintdiff": "git diff --name-only --cached --relative | grep '\\.js$' | xargs standard | snazzy",
"superlint": "eslint **/*.js",
"install:eslint": "npm i --save-dev babel-eslint eslint eslint-config-standard eslint-config-standard-react-native eslint-plugin-babel eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-react eslint-plugin-react-native eslint-plugin-standard",
"fixcode": "standard --fix",
"clean:windows": "rmdir /S node_modules && watchman watch-del-all && npm cache clean --force && npm install",
"test": "jest --coverage --updateSnapshot",
"gulp": "gulp",
"clean": "rm -rf $TMPDIR/react-* && watchman watch-del-all && npm cache clean",
"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 && 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",
"precommit": "npm run git-hook",
"prepush": "npm run git-hook",
"git-hook": "npm test -s",
"storybook": "adb reverse tcp:7007 tcp:7007 && storybook start -p 7007",
"flow": "flowcheck",
"flow:restart": "flow stop && flow start && flowcheck",
"reactotron:server": "adb reverse tcp:9090 tcp:9090"
},
"dependencies": {
"apisauce": "^0.10.0",
"format-json": "^1.0.3",
"lodash": "^4.17.2",
"querystringify": "0.0.4",
"ramda": "^0.23.0",
"react": "~15.4.1",
"react-native": "^0.42.3",
"react-native-config": "^0.2.5",
"react-native-device-info": "^0.10.0",
"react-native-drawer": "^2.3.0",
"react-native-i18n": "^1.0.0",
"react-native-newrelic": "^1.0.18",
"react-native-sentry": "^0.14.0",
"react-navigation": "^1.0.0-beta.7",
"react-redux": "^5.0.2",
"redux": "^3.6.0",
"redux-persist": "^4.1.0",
"redux-saga": "^0.14.3",
"reduxsauce": "0.4.1",
"seamless-immutable": "^7.0.1"
},
"devDependencies": {
"@storybook/react-native": "^3.1.5",
"babel-eslint": "^7.2.3",
"babel-jest": "20.0.3",
"babel-plugin-module-resolver": "^2.7.1",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react-native": "1.9.2",
"dotenv": "^4.0.0",
"enzyme": "^2.6.0",
"eslint": "^3.19.0",
"eslint-config-standard": "^10.2.1",
"eslint-config-standard-react-native": "^1.0.0",
"eslint-plugin-babel": "^4.1.1",
"eslint-plugin-import": "^2.3.0",
"eslint-plugin-node": "^5.0.0",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-react": "^7.0.1",
"eslint-plugin-react-native": "^2.3.2",
"eslint-plugin-standard": "^3.0.1",
"flow-bin": "^0.48.0",
"flow-check": "^0.3.0",
"gulp": "^3.9.1",
"gulp-codacy": "^1.0.0",
"husky": "^0.13.1",
"ignite-i18n": "^1.0.0",
"ignite-ir-boilerplate": "^2.0.0-rc.6",
"jest": "20.0.4",
"mockery": "^2.0.0",
"react-addons-test-utils": "^15.3.1",
"react-dom": "^15.4.0",
"react-test-renderer": "~15.4.1",
"reactotron-react-native": "^1.11.1",
"reactotron-redux": "^1.11.1",
"reactotron-redux-saga": "^1.11.1"
},
"jest": {
"testMatch": [
"**/tests/**/*.js",
"**/?(*.)(spec|test).js?(x)"
],
"testPathIgnorePatterns": [
"/node_modules/",
"tests/setup.js"
],
"setupFiles": [
"./tests/setup"
],
"preset": "react-native",
"collectCoverage": true,
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
}
},
"config": {}
}