forked from tomegz/ReactNativeTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.62 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
{
"name": "TemplateProject",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "yarn react-native run-android",
"ios": "yarn react-native run-ios --simulator='iPhone 8'",
"bootstrap": "./scripts/bootstrap.sh",
"clean:all": "yarn clean:watchman && yarn clean:builds && yarn clean:cache && yarn clean:packages",
"clean:builds": "rm -rf ios/build android/build android/app/build",
"clean:cache": "rm -fr $TMPDIR/react-* $TMPDIR/haste-map-react-native-packager-* ~/.rncache",
"clean:packages": "rm -rf node_modules && yarn install",
"clean:watchman": "watchman watch-del-all",
"coverage": "open coverage/lcov-report/index.html",
"generate-apk": "cd android && ./gradlew assembleRelease",
"lint": "flow check && eslint ./ --ext .js",
"start": "react-native start",
"test": "jest -u",
"test:ci": "jest --coverage --runInBand --detectOpenHandles",
"test:watch": "jest --watch"
},
"dependencies": {
"color": "3.1.2",
"lodash": "4.17.15",
"prop-types": "15.7.2",
"react": "16.8.6",
"react-native": "0.60.4",
"react-native-gesture-handler": "1.3.0",
"react-native-reanimated": "1.1.0",
"react-native-screens": "1.0.0-alpha.23",
"react-native-vector-icons": "6.6.0",
"react-navigation": "3.11.1"
},
"devDependencies": {
"@babel/core": "7.5.5",
"@babel/runtime": "7.5.5",
"babel-eslint": "10.0.2",
"babel-jest": "24.8.0",
"babel-plugin-lodash": "3.3.4",
"eslint": "6.1.0",
"eslint-config-prettier": "6.0.0",
"eslint-plugin-flowtype": "3.12.2",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-jest": "22.14.1",
"eslint-plugin-prettier": "3.1.0",
"eslint-plugin-react": "7.14.3",
"eslint-plugin-react-native": "3.7.0",
"eslint-plugin-sort-imports-es6-autofix": "0.4.0",
"flow-bin": "0.104.0",
"husky": "3.0.2",
"jest": "24.8.0",
"lint-staged": "9.2.1",
"metro-react-native-babel-preset": "0.55.0",
"prettier": "1.18.2",
"react-test-renderer": "16.8.6"
},
"jest": {
"preset": "react-native",
"testEnvironment": "node",
"setupFiles": [
"<rootDir>/jest/setup.js",
"<rootDir>/node_modules/react-native-gesture-handler/jestSetup.js",
"<rootDir>/jest/__mocks__/react-native-reanimated.mock.js"
],
"transformIgnorePatterns": [
"node_modules/(?!(jest-)?react-native|react-navigation)"
],
"testPathIgnorePatterns": [
"__e2e__",
"node_modules"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn flow check && lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint",
"git add"
]
}
}