-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
152 lines (152 loc) · 5.16 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
148
149
150
151
152
{
"name": "pride-london-app",
"version": "2.0.3",
"license": "MIT",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"run-ios": "node node_modules/react-native/local-cli/cli.js run-ios",
"run-android": "node node_modules/react-native/local-cli/cli.js run-android --appId org.prideinlondon.festival.dev --variant devDebug",
"test": "TZ=UTC jest src --maxWorkers=2",
"test:e2e": "yarn test:e2e:build && yarn test:e2e:run",
"test:e2e:dev": "detox test -c ios.sim.debug --reuse --record-logs failing --take-screenshots failing",
"test:e2e:run": "detox test -c ios.sim.debug --record-logs failing --take-screenshots failing",
"test:e2e:build": "detox build -c ios.sim.debug",
"test:e2e:release": "detox build -c ios.sim.release && detox test -c ios.sim.release --record-logs failing --take-screenshots failing",
"precommit": "lint-staged",
"lint": "eslint src",
"flow": "flow src",
"fix-xcode": "react-native-schemes-manager all",
"postinstall": "yarn fix-xcode; ./scripts/google-maps-ios.sh",
"postversion": "react-native-version --reset-build"
},
"dependencies": {
"bugsnag-react-native": "^2.9.3",
"contentful": "^5.0.5",
"core-js": "^2.5.6",
"lottie-react-native": "2.3.2",
"luxon": "^1.2.0",
"ramda": "^0.25.0",
"react": "16.6.3",
"react-native": "0.57.8",
"react-native-accessible-selectable": "^0.1.0",
"react-native-calendars": "^1.17.4",
"react-native-communications": "^2.2.1",
"react-native-config": "^0.11.5",
"react-native-easy-markdown": "^1.1.9",
"react-native-haptic-feedback": "^1.1.0",
"react-native-linear-gradient": "^2.4.0",
"react-native-map-link": "^1.0.6",
"react-native-maps": "^0.21.0",
"react-native-permissions": "^1.1.1",
"react-native-safe-area-view": "0.11.0",
"react-native-splash-screen": "^3.0.6",
"react-navigation": "^2.0.1",
"react-redux": "^5.0.7",
"redux": "^3.7.2",
"redux-devtools-extension": "^2.13.2",
"redux-thunk": "^2.2.0",
"reselect": "^3.0.1",
"rxjs": "^6.2.1"
},
"devDependencies": {
"@babel/plugin-external-helpers": "^7.2.0",
"@rgbboy/testcheck": "^1.0.0-rc.3",
"babel-eslint": "^8.2.5",
"babel-jest": "23.2.0",
"babel-plugin-jest-hoist": "^23.2.0",
"bugsnag-sourcemaps": "^1.0.3",
"commander": "^2.16.0",
"contentful-management": "^5.1.4",
"detox": "^9.1.2",
"dotenv": "^6.0.0",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1",
"enzyme-to-json": "^3.3.5",
"eslint": "^4.17.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-import-resolver-react-native": "^0.1.0",
"eslint-plugin-detox": "^1.0.0",
"eslint-plugin-flowtype": "^2.48.0",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.9.1",
"eslint-plugin-react-native": "^3.2.1",
"flow-bin": "^0.78.0",
"flow-typed": "^2.5.1",
"glow": "^1.2.2",
"husky": "^0.14.3",
"jest": "23.2.0",
"jest-each": "^23.2.0",
"lint-staged": "^7.2.0",
"lorem-ipsum": "^1.0.5",
"markdown-toc": "^1.2.0",
"metro-react-native-babel-preset": "^0.48.5",
"prettier": "^1.13.7",
"react-dom": "^16.6.3",
"react-native-mock": "^0.3.1",
"react-native-schemes-manager": "^1.0.1",
"react-native-version": "^2.6.2",
"react-test-renderer": "16.6.3",
"redux-mock-store": "^1.5.3",
"schedule": "0.4.0"
},
"rnpm": {
"assets": [
"./assets/fonts/"
]
},
"jest": {
"preset": "react-native",
"setupTestFrameworkScriptFile": "<rootDir>src/setup-tests.js",
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"transform": {
"^.+\\.(js)$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
},
"transformIgnorePatterns": [
"node_modules/(?!(jest-)?react-native|react-navigation)"
],
"moduleNameMapper": {
"\\.(png|gif|jpeg|jpg)$": "RelativeImageStub"
},
"collectCoverage": true
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --write",
"git add"
],
"./README.md": [
"markdown-toc -i",
"git add"
]
},
"xcodeSchemes": {
"Debug": [],
"Release": [
"AdhocAlpha",
"AdhocBeta"
]
},
"detox": {
"test-runner": "jest",
"runner-config": "e2e/config.json",
"configurations": {
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/PrideLondonApp.app",
"build": "xcodebuild -project ios/PrideLondonApp.xcodeproj -scheme PrideLondonApp -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build -quiet UseNewBuildSystem=NO | xcpretty",
"type": "ios.simulator",
"name": "iPhone 7"
},
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/PrideLondonApp.app",
"build": "xcodebuild -project ios/PrideLondonApp.xcodeproj -scheme PrideLondonApp -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -quiet UseNewBuildSystem=NO | xcpretty",
"type": "ios.simulator",
"name": "iPhone 7"
}
}
}
}