This repository has been archived by the owner on Nov 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 89
/
Copy pathpackage.json
147 lines (147 loc) · 4.71 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "react-native-starter",
"version": "3.0.0-alpha.0",
"private": true,
"scripts": {
"start": "react-native start",
"rename": "sh ./scripts/rename.sh",
"prettier": "prettier --list-different 'src/**/*.{ts,tsx,json,md}'",
"test": "jest",
"build:e2e:ios": "detox build --configuration ios.sim.release",
"build:e2e:android": "detox build --configuration android.emu.release",
"test:e2e:ios": "detox test --configuration ios.sim.release",
"test:e2e:android": "detox test --configuration android.emu.release",
"e2e:ios": "yarn build:e2e:ios && yarn test:e2e:ios",
"e2e:android": "yarn build:e2e:android && yarn test:e2e:android",
"lint": "yarn tslint && yarn stylelint",
"tslint": "tsc -p . --noEmit --skipLibCheck; tslint --fix 'src/**/*.{ts,tsx}' -p .",
"stylelint": "stylelint 'src/**/*.{ts,tsx}'",
"prepare": "patch-package && sh ./scripts/postinstall.sh",
"clean": "rm -rf {yarn.lock,node_modules} **/{node_modules,coverage,build,Pods,Podfile.lock,yarn.lock}",
"ios": "react-native run-ios --simulator='iPhone 11'",
"android": "react-native run-android"
},
"contributors": [
"Jérémy Barbet <jeremgraph@gmail.com>",
"Birkir Gudjonsson <birkir.gudjonsson@gmail.com>"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,js,jsx,json,md}": [
"prettier --write"
],
"*.{ts,tsx}": [
"tslint --fix"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
},
"jest": {
"preset": "react-native",
"setupFiles": [
"<rootDir>/scripts/jest-setup.js"
],
"transform": {
"^.+\\.tsx?$": "ts-jest",
"^.+\\.jsx?$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
},
"modulePaths": [
"<rootDir>"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/e2e/"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"stylelint": {
"processors": [
"stylelint-processor-styled-components"
],
"extends": [
"stylelint-config-recommended",
"stylelint-config-styled-components"
]
},
"detox": {
"test-runner": "jest",
"specs": "e2e",
"configurations": {
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/react-native-starter.app",
"build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace ios/react-native-starter.xcworkspace -scheme react-native-starter -configuration Release -sdk iphonesimulator -derivedDataPath ios/build ONLY_ACTIVE_ARCH=YES -quiet -UseModernBuildSystem=NO",
"type": "ios.simulator",
"name": "iPhone 11"
},
"android.emu.release": {
"binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
"build": "pushd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && popd",
"type": "android.emulator",
"name": "Pixel_3a_XL_API_29"
}
}
},
"dependencies": {
"@react-native-community/async-storage": "1.8.1",
"@react-native-firebase/analytics": "6.3.4",
"@react-native-firebase/app": "6.3.4",
"jsc-android": "245459.0.0",
"lodash": "4.17.15",
"polished": "3.5.1",
"react": "16.13.1",
"react-native": "0.62.0",
"react-native-code-push": "6.2.0",
"react-native-config": "1.0.0",
"react-native-navigation": "6.3.3",
"react-native-version-number": "0.3.6",
"styled-components": "5.0.1"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-decorators": "^7.8.3",
"@types/enzyme": "^3.10.5",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/jest": "^25.1.4",
"@types/lodash": "^4.14.0",
"@types/react": "^16.9.27",
"@types/react-native": "^0.62.0",
"@types/react-test-renderer": "^16.9.2",
"@types/styled-components": "^5.0.1",
"babel-jest": "^25.2.4",
"detox": "^16.0.2",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"husky": "^4.2.3",
"jest": "^25.2.4",
"jetifier": "^1.6.5",
"lint-staged": "^10.1.0",
"patch-package": "6.2.0",
"postinstall-prepare": "^1.0.0",
"prettier": "^2.0.2",
"react-dom": "^16.13.1",
"react-native-rename": "^2.4.0",
"react-test-renderer": "^16.13.1",
"stylelint": "^13.2.1",
"stylelint-config-recommended": "^3.0.0",
"stylelint-config-styled-components": "^0.1.0",
"stylelint-processor-styled-components": "^1.10.0",
"ts-jest": "^25.3.0",
"tslint": "^6.1.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.8.3"
}
}