-
Notifications
You must be signed in to change notification settings - Fork 89
/
package.json
181 lines (181 loc) · 6.05 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
{
"name": "metaphysics",
"version": "0.0.1",
"description": "",
"repository": "https://github.com/artsy/metaphysics",
"engines": {
"node": ">=18",
"npm": "5.6.0",
"yarn": "1.*"
},
"scripts": {
"build:fixtures": "cp src/lib/*.json build/src/lib/",
"build:index": "babel index.js -s inline -d build",
"build:lib": "babel src --copy-files --extensions '.ts,.js' --ignore src/test,src/integration,src/**/__tests__ -s inline -d build/src",
"build:remote-schemas": "cp src/data/*.graphql build/src/data/",
"build": "yarn build:lib && yarn build:index && yarn build:fixtures && yarn build:remote-schemas",
"ci": "yarn test",
"deploy-cloudflare-workers:staging": "yarn wrangler deploy --keep-vars --config=workers/caching/metaphysics-cdn.toml --env staging",
"deploy-cloudflare-workers": "yarn wrangler deploy --keep-vars --config=workers/caching/metaphysics-cdn.toml --env production",
"dev": "DEBUG=info,warn,error babel-node --extensions '.ts,.js' --inspect index.js",
"dump-schema": "babel-node --extensions '.ts,.js' ./scripts/dump-schema.ts",
"dump:local": "yarn dump-schema _schemaV2.graphql & wait",
"dump:staging": "node scripts/dump-staging-schema.js",
"lint": "eslint . --ext ts",
"lint:fix": "eslint . --fix --ext ts",
"prepare": "patch-package",
"prettier-project": "prettier --write 'src/**/*.{js,ts,tsx,md,graphql}'",
"schema-drift": "babel-node --no-warnings --extensions '.ts,.js' ./scripts/schema-drift.ts",
"start": "yarn run dev",
"sync-env": "aws s3 cp s3://artsy-citadel/metaphysics/.env.shared ./ && echo 'ENV sync complete.'",
"test": "yarn jest --config jest.config.js --maxWorkers 3",
"test:debug": "node --inspect node_modules/.bin/jest --runInBand",
"test:validQueries": "babel-node --extensions '.ts,.js' src/integration/__tests__/runStoredQueryTests.ts",
"type-check": "tsc --noEmit --pretty",
"verbose-dev": "DEBUG=verbose,info,error babel-node --extensions '.ts,.js' --inspect index.js",
"watch": "jest --watch"
},
"author": "Art.sy Inc",
"license": "MIT",
"resolutions": {
"string-width": "4.2.3"
},
"dependencies": {
"@artsy/cohesion": "^4.213.0",
"@artsy/img": "1.0.3",
"@artsy/morgan": "^1.0.2",
"@artsy/multienv": "^1.2.0",
"@artsy/to-title-case": "^1.1.0",
"@artsy/xapp": "2.0.0",
"@graphql-tools/delegate": "6.0.10",
"@sentry/node": "5.18.1",
"accounting": "0.4.1",
"apollo-link": "1.2.14",
"apollo-link-context": "^1.0.20",
"apollo-link-http": "^1.5.17",
"base64-arraybuffer": "^1.0.2",
"basic-auth": "1.1.0",
"blurhash": "^2.0.5",
"body-parser": "1.20.3",
"chalk": "^4.1.2",
"compression": "1.7.2",
"core-js": "2.6.12",
"cors": "2.8.4",
"dataloader": "1.3.0",
"dd-trace": "0.36.2",
"debug": "2.6.9",
"dotenv": "10.0.0",
"express": "4.20.0",
"express-graphql": "0.12.0",
"express-ipfilter": "0.3.1",
"express-rate-limit": "3.2.0",
"google-libphonenumber": "^3.2.25",
"graphql": "15.8.0",
"graphql-depth-limit": "1.1.0",
"graphql-middleware": "4.0.3",
"graphql-parse-resolve-info": "^4.12.3",
"graphql-relay": "0.7.0",
"graphql-tools": "5.0.0",
"graphql-type-json": "0.1.4",
"hot-shots": "5.6.1",
"http-shutdown": "1.2.1",
"i": "0.3.7",
"invariant": "2.2.4",
"ip": "1.1.9",
"jwt-simple": "0.5.6",
"lodash": "4.17.21",
"longjohn": "0.2.12",
"marked": "2.0.1",
"memcached": "2.2.2",
"moment": "2.29.4",
"moment-timezone": "0.5.37",
"node-fetch": "2.6.7",
"numeral": "1.5.6",
"opentracing": "0.14.1",
"patch-package": "6.2.2",
"postinstall-prepare": "1.0.1",
"proportional-scale": "4.0.0",
"qs": "6.9.7",
"rate-limit-memcached": "0.6.0",
"react-relay-network-modern": "4.7.7",
"relay-cursor-paging": "0.2.0",
"relay-runtime": "10.0.1",
"request": "2.88.2",
"runtypes": "4.2.0",
"unleash-client": "^5.5.2",
"upng-js": "^2.1.0",
"url-join": "4.0.0",
"uuid": "3.1.0"
},
"devDependencies": {
"@artsy/express-reloadable": "1.7.0",
"@artsy/update-repo": "0.6.0",
"@babel/cli": "^7.25.9",
"@babel/core": "^7.25.9",
"@babel/node": "^7.25.9",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/preset-env": "^7.25.9",
"@babel/preset-typescript": "^7.25.9",
"@cloudflare/workers-types": "^4.20240909.0",
"@graphql-inspector/core": "1.27.0",
"@types/express-rate-limit": "2.9.3",
"@types/google-libphonenumber": "^7.4.22",
"@types/graphql-relay": "0.4.9",
"@types/graphql-upload": "^8.0.11",
"@types/invariant": "2.2.29",
"@types/jest": "^29.5.14",
"@types/lodash": "4.14.86",
"@types/node": "14.17.0",
"@types/node-fetch": "2.1.7",
"@types/qs": "6.5.1",
"@types/request": "2.0.8",
"@typescript-eslint/eslint-plugin": "4.8.1",
"@typescript-eslint/parser": "4.8.1",
"babel-jest": "^29.7.0",
"babel-plugin-module-resolver": "4.1.0",
"danger": "^11.2.1",
"deep-equal": "1.0.1",
"diff": "4.0.1",
"eslint": "6.7.2",
"eslint-import-resolver-typescript": "2.0.0",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-jest": "24.1.3",
"eslint-plugin-promise": "4.0.1",
"expect.js": "0.3.1",
"husky": "3.1.0",
"jest": "^29.7.0",
"jest-extended": "0.11.5",
"jest-junit": "^16.0.0",
"lint-staged": "7.3.0",
"prettier": "2.0.5",
"sinon": "1.17.7",
"superagent": "3.8.3",
"supertest": "3.1.0",
"typescript": "4.6.4",
"wrangler": "^3.78.2"
},
"prettier": {
"semi": false,
"singleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true
},
"lint-staged": {
"*.@(json|md|ts|graphql)": [
"yarn prettier --write",
"git add"
],
"*.@(js|ts)": [
"eslint --fix",
"yarn prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged; yarn dump:staging; git add _schemaV2.graphql",
"pre-push": "yarn run type-check"
}
}
}