-
Notifications
You must be signed in to change notification settings - Fork 198
/
package.json
64 lines (64 loc) · 2.21 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
{
"name": "snapshot-hub",
"version": "0.1.3",
"repository": "snapshot-labs/snapshot-hub",
"license": "MIT",
"scripts": {
"lint": "yarn lint:nofix --fix",
"lint:nofix": "eslint . --ext .ts",
"typecheck": "tsc --noEmit",
"dev": "nodemon src/index.ts",
"build": "tsc && copyfiles src/graphql/*.gql dist/",
"start": "node dist/src/index.js",
"start:test": "dotenv -e test/.env.test yarn dev",
"test:setup": "dotenv -e test/.env.test yarn ts-node ./test/setupDb.ts",
"test": "yarn test:setup; PORT=3030 start-server-and-test 'yarn start:test' http://localhost:3030 'dotenv -e test/.env.test jest --runInBand'",
"test:unit": "dotenv -e test/.env.test jest test/unit/",
"test:e2e": "PORT=3030 start-server-and-test 'yarn start:test' http://localhost:3030 'dotenv -e test/.env.test jest --runInBand --collectCoverage=false test/e2e/'"
},
"eslintConfig": {
"extends": "@snapshot-labs"
},
"prettier": "@snapshot-labs/prettier-config",
"dependencies": {
"@graphql-tools/schema": "^10.0.0",
"@snapshot-labs/keycard": "^0.5.1",
"@snapshot-labs/snapshot-metrics": "^1.4.1",
"@snapshot-labs/snapshot-sentry": "^1.5.5",
"@snapshot-labs/snapshot.js": "^0.12.32",
"bluebird": "^3.7.2",
"connection-string": "^1.0.1",
"cors": "^2.8.5",
"dotenv": "^16.0.2",
"express": "^4.18.1",
"express-graphql": "^0.12.0",
"express-rate-limit": "^6.9.0",
"graphql": "^15.8.0",
"graphql-depth-limit": "^1.1.0",
"graphql-fields": "^2.0.3",
"graphql-query-count-limit": "^1.0.0",
"lodash": "^4.17.21",
"mysql": "^2.18.1",
"node-fetch": "2",
"rate-limit-redis": "^3.1.0",
"redis": "^4.6.8",
"ts-node": "^10.9.1",
"typescript": "^4.7.4",
"winston": "^3.8.2"
},
"devDependencies": {
"@snapshot-labs/eslint-config": "^0.1.0-beta.18",
"@snapshot-labs/prettier-config": "^0.1.0-beta.18",
"@types/jest": "^29.5.3",
"@types/node": "^14.0.13",
"copyfiles": "^2.4.1",
"dotenv-cli": "^7.2.1",
"eslint": "^8.28.0",
"jest": "^29.6.1",
"jest-environment-node-single-context": "^29.1.0",
"nodemon": "^2.0.19",
"prettier": "^3.0.3",
"start-server-and-test": "^2.0.0",
"ts-jest": "^29.1.1"
}
}