-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.95 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 1.95 KB
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
{
"name": "pokedex",
"version": "1.3.0",
"description": "GraphQL Pokedex",
"main": "src/server.js",
"scripts": {
"precompile": "mkdir -p dist/src",
"compile": "tsc",
"test": "npm run lint && jest src/",
"test:coverage": "jest src/ --coverage",
"test:only": "jest",
"compile:watch": "tsc -w",
"lint": "eslint '*/**/*.{js,ts,tsx}' --max-warnings=0",
"lint:fix": "eslint '*/**/*.{js,ts,tsx}' --fix --max-warnings=0",
"generate": "graphql-codegen --config codegen.yml",
"generate:watch": "graphql-codegen --watch src/**/*.graphql --config codegen.yml",
"dev": "export NODE_ENV=\"development\" && rm -rf dist/ && concurrently \"npm run generate:watch\" \"npm run precompile\" \"npm run compile:watch\" \"nodemon --inspect --enable-source-maps dist/src/server.js\""
},
"author": "Michael Maysonet",
"license": "MIT",
"dependencies": {
"apollo-datasource-rest": "^3.1.1",
"apollo-server": ">=3.4.1",
"dataloader": "^2.0.0",
"graphql": "^15.5.1",
"graphql-depth-limit": "^1.1.0"
},
"devDependencies": {
"@graphql-codegen/cli": "2.6.2",
"@graphql-codegen/typescript": "2.4.8",
"@types/express": "^4.17.13",
"@types/graphql-depth-limit": "^1.1.2",
"@types/jest": "^26.0.14",
"@types/node": "^14.11.10",
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^4.5.0",
"apollo-graphql": "^0.9.3",
"apollo-server-core": "^3.1.2",
"apollo-server-env": "^4.0.3",
"concurrently": "^5.3.0",
"eslint": "^7.11.0",
"eslint-config-prettier": "^6.13.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.3.0",
"jest": "^26.6.0",
"ncp": "^2.0.0",
"nodemon": "^2.0.4",
"prettier": "^2.1.2",
"ts-jest": "^26.4.1",
"typescript": "4.0.3"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm run generate",
"pre-push": "npm test"
}
},
"engines": {
"node": ">=16",
"npm": ">=7.20.x"
}
}