forked from artsy/eigen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
224 lines (224 loc) · 8.47 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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
{
"name": "eigen",
"version": "1.21.52",
"native-code-version": 44,
"description": "Artsy React(Native) components.",
"engines": {
"node": "12.x",
"npm": "6.1.x",
"yarn": "1.x"
},
"main": "index.ios.js",
"scripts": {
"bundle-for-native-ci": "yarn generate-graphql-query-map && react-native bundle --platform=ios --dev=false --entry-file=index.tests.ios.js --bundle-output emission/Pod/Assets/Emission.js --sourcemap-output emission/Pod/Assets/Emission.js.map --assets-dest emission/Pod/Assets && rm -rf emission/Pod/Assets/assets/node_modules",
"bundle": "react-native bundle --platform=ios --dev=false --entry-file=index.ios.js --bundle-output emission/Pod/Assets/Emission.js --sourcemap-output emission/Pod/Assets/Emission.js.map --assets-dest emission/Pod/Assets && rm -rf emission/Pod/Assets/assets/node_modules",
"ci:lint": "yarn lint --format json --out tslint-errors.json ",
"ci:skip-native-if-possible": "node scripts/ci-skip-native-if-possible.js",
"ci:test": "jest --outputFile test-results.json --json --ci --forceExit",
"ci:type-check": "tsc --pretty false | tee tsc_raw.log",
"ci": "yarn ci:type-check && yarn ci:lint && yarn prettier-project -l && rm -rf src/__generated__ && yarn relay && yarn ci:test",
"danger": "danger",
"find-unused-fields": "ts-node --compiler-options '{\"types\": [\"node\"]}' scripts/find-unused-fields",
"generate-cities-cache": "node scripts/generate-cities-cache.js",
"generate-cities-objc": "node scripts/generate-cities-objc.js",
"generate-graphql-query-map": "node scripts/generate-graphql-query-map.js > emission/Pod/Classes/GraphQL/ARGraphQLQueryMap.generated.objc",
"ios": "node node_modules/react-native/local-cli/cli.js run-ios",
"lint-fix": "yarn lint -- --fix",
"lint": "tslint 'src/**/*.{ts,tsx}'",
"open-sim": "open -a Simulator",
"postinstall": "prettier --write package.json",
"prepare": "patch-package",
"prettier-project": "yarn run prettier-write 'src/**/*.{ts,tsx}'",
"prettier-write": "prettier --write",
"relay": "echo '{}' > data/complete.queryMap.json && relay-compiler",
"start-packager": "./scripts/start_packager.sh",
"start-servers": "concurrently --kill-others 'yarn start-packager' 'yarn relay --watch'",
"start": "yarn start-servers",
"stylelint-project": " stylelint -- 'src/**/*.{ts,tsx}'",
"sync-cities": "curl https://raw.githubusercontent.com/artsy/metaphysics/master/src/schema/city/cityDataSortedByDisplayPreference.json -o data/cityDataSortedByDisplayPreference.json",
"sync-schema": "curl https://raw.githubusercontent.com/artsy/metaphysics/master/_schemaV2.graphql -o data/schema.graphql; yarn prettier --write --parser graphql data/schema.graphql",
"sync-schema:localhost": "cd ../metaphysics && yarn dump-schema v2 ../eigen/data/",
"test": "jest",
"test:debug": "node --inspect node_modules/.bin/jest --runInBand",
"testing": "jest --watch",
"type-check:offence-ranking": "yarn -s type-check:offence 'TS\\d+' -o | sort | uniq -c | sort -r",
"type-check:offence": "tsc --pretty false | grep -v __generated__ | grep -E",
"type-check": "tsc",
"update-metaphysics": "node scripts/update-metaphysics.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/artsy/eigen.git"
},
"keywords": [
"artsy",
"react",
"react-native"
],
"author": "Eloy Durán",
"license": "MIT",
"bugs": {
"url": "https://github.com/artsy/eigen/issues"
},
"homepage": "https://github.com/artsy/eigen#readme",
"files": [
"index.js",
"data",
"lib"
],
"resolutions": {
"cheerio": "0.22.0",
"@types/relay-runtime": "8.0.6",
"@types/react-relay": "7.0.3",
"@types/styled-components": "4.4.3",
"babel-core": "7.0.0-bridge.0"
},
"dependencies": {
"@artsy/cohesion": "1.4.0",
"@artsy/palette": "10.1.0",
"@mapbox/react-native-mapbox-gl": "6.1.3",
"@react-native-community/async-storage": "1.6.3",
"@react-native-community/cameraroll": "1.3.0",
"@react-native-community/geolocation": "2.0.2",
"@react-native-community/netinfo": "4.6.1",
"@react-native-community/picker": "1.3.0",
"@sentry/react-native": "1.3.2",
"events": "3.1.0",
"grapheme-splitter": "1.0.4",
"lodash": "4.17.15",
"moment": "2.24.0",
"moment-timezone": "0.5.25",
"prop-types": "15.7.2",
"query-string": "4.3.4",
"react": "16.11.0",
"react-native": "0.62.1",
"react-native-hyperlink": "0.0.11",
"react-native-linear-gradient": "2.5.6",
"react-native-modal": "11.5.6",
"react-native-navigator-ios": "https://github.com/ashfurrow/react-native-navigator-ios#license_podspec",
"react-native-parallax-scroll-view": "orta/react-native-parallax-scroll-view",
"react-native-reanimated": "1.4.0",
"react-native-scrollable-tab-view": "1.0.0",
"react-native-svg": "9.13.3",
"react-relay": "9.0.0",
"react-spring": "8.0.23",
"react-tracking": "7.2.1",
"relay-runtime": "9.0.0",
"remove-markdown": "0.1.0",
"simple-markdown": "0.7.2",
"styled-components": "4.2.0",
"supercluster": "6.0.1",
"tipsi-stripe": "https://github.com/ashfurrow/tipsi-stripe.git#fix-infinite-loop"
},
"devDependencies": {
"@artsy/auto-config": "1.0.2",
"@artsy/update-repo": "0.1.5",
"@babel/core": "7.1.2",
"@babel/plugin-proposal-class-properties": "7.4.0",
"@babel/plugin-proposal-decorators": "7.4.0",
"@babel/plugin-transform-runtime": "7.4.0",
"@babel/preset-typescript": "7.3.3",
"@babel/runtime": "7.4.2",
"@octokit/rest": "16.34.0",
"@omakase/cli": "0.0.10",
"@react-native-community/cli-platform-ios": "3.0.0",
"@types/chalk": "2.2.0",
"@types/dedent": "0.7.0",
"@types/jest": "25.1.5",
"@types/lodash": "4.14.149",
"@types/luxon": "1.15.2",
"@types/moment-timezone": "0.5.4",
"@types/node": "12.7.5",
"@types/qs": "6.9.1",
"@types/query-string": "5.0.1",
"@types/react": "16.9.22",
"@types/react-native": "0.62.5",
"@types/react-relay": "7.0.3",
"@types/react-test-renderer": "16.8.1",
"@types/react-tracking": "7.0.1",
"@types/relay-runtime": "8.0.6",
"@types/relay-test-utils": "6.0.1",
"@types/remove-markdown": "0.1.1",
"@types/styled-components": "4.0.2",
"@types/styled-system": "5.1.9",
"@types/supercluster": "5.0.0",
"auto": "7.12.3",
"awesome-typescript-loader": "3.4.1",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "25.2.6",
"babel-plugin-import-graphql": "2.7.0",
"babel-plugin-relay": "9.0.0",
"chalk": "2.4.2",
"concurrently": "2.2.0",
"danger": "6.1.1",
"danger-plugin-jest": "1.1.0",
"dedent": "0.7.0",
"enzyme": "3.9.0",
"enzyme-adapter-react-16": "1.13.0",
"glob": "7.1.6",
"graphql": "14.5.6",
"husky": "4.2.5",
"jest": "25.2.7",
"jest-raw-loader": "1.0.1",
"jest-styled-components": "7.0.0-2",
"json5": "2.1.0",
"klaw-sync": "6.0.0",
"lint-staged": "10.1.7",
"metro-react-native-babel-preset": "0.58.0",
"node-fetch": "2.6.0",
"patch-package": "6.2.1",
"postinstall-prepare": "1.0.1",
"prettier": "1.19.1",
"pull-lock": "1.0.0",
"react-dom": "16.8.3",
"react-relay-network-modern": "2.5.1",
"react-test-renderer": "16.11.0",
"recursive-readdir-sync": "1.0.6",
"relay-compiler": "9.0.0",
"relay-compiler-language-typescript": "12.0.0",
"relay-config": "6.0.0",
"relay-mock-network-layer": "3.0.0",
"relay-test-utils": "9.0.0",
"snapshot-diff": "0.2.2",
"stylelint": "9.8.0",
"stylelint-config-standard": "18.2.0",
"stylelint-config-styled-components": "0.1.1",
"stylelint-processor-styled-components": "1.5.1",
"tmp": "0.1.0",
"ts-node": "8.4.1",
"tslint": "5.14.0",
"tslint-config-prettier": "1.18.0",
"tslint-plugin-relay": "0.0.2",
"typescript": "3.9.5",
"typescript-styled-plugin": "0.13.0",
"vscode-apollo-relay": "1.5.0",
"yaml": "1.9.2"
},
"lint-staged": {
"*.@(ts|tsx)": [
"tslint -c tslint.json --fix",
"yarn prettier-write",
"node scripts/strictness-migration.js check-staged"
],
"*.@(json|md)": [
"yarn prettier-write"
]
},
"prettier": {
"printWidth": 120,
"semi": false,
"singleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true
},
"husky": {
"hooks": {
"post-merge": "pull-lock",
"pre-commit": "lint-staged",
"pre-push": "yarn run type-check"
}
},
"pull-lock": {
"yarn.lock": "yarn install"
}
}