forked from artsy/metaphysics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
171 lines (171 loc) · 5.59 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
{
"name": "metaphysics",
"version": "0.0.1",
"description": "",
"repository": "https://github.com/artsy/metaphysics",
"engines": {
"node": ">=12",
"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",
"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/dev/.env.metaphysics .env.shared && echo 'ENV sync complete.'",
"test": "yarn type-check && yarn lint && jest",
"test:jest": "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",
"dependencies": {
"@artsy/img": "1.0.3",
"@artsy/morgan": "^1.0.2",
"@artsy/multienv": "^1.2.0",
"@artsy/to-title-case": "^1.1.0",
"@artsy/xapp": "1.0.6",
"@graphql-tools/delegate": "6.0.10",
"@sentry/node": "5.18.1",
"accounting": "0.4.1",
"apollo-link": "1.2.1",
"apollo-link-context": "1.0.8",
"apollo-link-http": "1.5.4",
"basic-auth": "1.1.0",
"body-parser": "1.18.2",
"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.17.3",
"express-graphql": "0.9.0",
"express-ipfilter": "0.3.1",
"express-rate-limit": "3.2.0",
"form-data": "^4.0.0",
"google-libphonenumber": "^3.2.25",
"graphql": "14.5.4",
"graphql-depth-limit": "1.1.0",
"graphql-middleware": "1.2.6",
"graphql-parse-resolve-info": "^4.12.3",
"graphql-relay": "0.5.4",
"graphql-tools": "4.0.5",
"graphql-type-json": "0.1.4",
"graphql-upload": "^13.0.0",
"hot-shots": "5.6.1",
"http-shutdown": "1.2.1",
"i": "0.3.7",
"invariant": "2.2.4",
"ip": "1.1.5",
"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",
"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.14.8",
"@babel/core": "7.15.0",
"@babel/node": "7.14.9",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.14.5",
"@babel/plugin-proposal-optional-chaining": "7.14.5",
"@babel/preset-env": "7.15.0",
"@babel/preset-typescript": "7.15.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": "23.3.2",
"@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": "24.8.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": "24.9.0",
"jest-extended": "0.11.5",
"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"
},
"prettier": {
"semi": false,
"singleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true
},
"lint-staged": {
"*.@(json|md|ts|graphql)": [
"yarn prettier --write",
"git add"
],
"*.@(js)": [
"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"
}
}
}