This repository has been archived by the owner on Jan 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
65 lines (65 loc) · 2.36 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
{
"name": "covid19-graphql-api",
"version": "1.1.0",
"description": "COVID-19 GraphQL API server",
"main": "index.ts",
"author": "Jerry Ng",
"license": "MIT",
"private": false,
"scripts": {
"start": "nodemon -e ts -x ts-node -r tsconfig-paths/register src/index.ts",
"start:dev": "NODE_ENV=development nodemon -e ts -x ts-node -r tsconfig-paths/register src/index.ts",
"build": "tsc --p tsconfig.json && tscpaths -p tsconfig.json -s ./src -o ./functions/bundle",
"eslint": "eslint . --ext ts,gql --ignore-path .eslintignore",
"eslint:fix": "eslint --fix . --ext ts,gql --ignore-path .eslintignore",
"prettier": "prettier \"./**/*.{ts,yml,yaml}\" -l --ignore-path .eslintignore",
"prettier:fix": "prettier \"./**/*.{ts,yml,yaml}\" --write --ignore-path .eslintignore",
"test": "jest --detectOpenHandles --testTimeout 60000"
},
"prettier": {
"trailingComma": "all",
"tabWidth": 4,
"singleQuote": true
},
"dependencies": {
"@sentry/node": "^6.16.1",
"@sentry/tracing": "^6.16.1",
"apollo-datasource-rest": "^3.5.0",
"apollo-server": "^2.25.3",
"apollo-server-lambda": "^2.25.1",
"class-validator": "^0.13.2",
"graphql": "^15.6.1",
"graphql-middleware": "^6.1.13",
"graphql-rate-limit": "^3.3.0",
"novelcovid": "^3.0.2",
"reflect-metadata": "^0.1.13",
"type-graphql": "^1.1.1"
},
"devDependencies": {
"@types/graphql": "^14.5.0",
"@types/jest": "^27.4.0",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"apollo-boost": "^0.4.9",
"cross-fetch": "^3.1.4",
"eslint": "^8.6.0",
"eslint-plugin-graphql": "^4.0.0",
"jest": "^27.4.7",
"nodemon": "^2.0.15",
"prettier": "^2.5.1",
"ts-jest": "^27.1.3",
"ts-node": "^10.4.0",
"tsconfig-paths": "^3.12.0",
"tscpaths": "^0.0.9",
"typescript": "^4.5.4"
},
"jest": {
"preset": "ts-jest",
"moduleNameMapper": {
"^@src/(.*)$": "<rootDir>/src/$1",
"^@utils/(.*)$": "<rootDir>/src/utils/$1",
"^@entities/(.*)$": "<rootDir>/src/entities/$1",
"^@resolvers/(.*)$": "<rootDir>/src/resolvers/$1"
}
}
}