-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 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
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
{
"name": "next-boilerplate",
"version": "0.1.0",
"private": true,
"license": "MIT",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "eslint '*/**/*.{js,ts,tsx}' --quiet --fix",
"test": "jest",
"codegen": "apollo client:codegen --target typescript"
},
"dependencies": {
"@apollo/client": "^3.2.0",
"@nexus/schema": "^0.15.0",
"@prisma/client": "^2.7.1",
"apollo-server-micro": "^2.17.0",
"graphql": "^14.7.0",
"graphql-tag": "^2.11.0",
"next": "^9.5.3",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"subscriptions-transport-ws": "^0.9.0"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@prisma-labs/prettier-config": "^0.1.0",
"@prisma/cli": "^2.7.1",
"@testing-library/react": "^11.0.4",
"@types/jest": "^26.0.14",
"@types/node": "^14.11.1",
"@types/react": "^16.9.48",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"apollo": "^2.30.2",
"babel-jest": "^26.3.0",
"eslint": "7.9.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.6",
"husky": ">=4.3.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.4.2",
"lint-staged": ">=10.4.0",
"prettier": "^2.1.2",
"typescript": "^4.0.3"
},
"babel": {
"presets": [
"next/babel"
]
},
"prettier": "@prisma-labs/prettier-config",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": "eslint --fix",
"*.{ts,tsx,css,md}": "prettier --write"
},
"jest": {
"roots": [
"<rootDir>"
],
"moduleFileExtensions": [
"js",
"ts",
"tsx",
"json"
],
"testPathIgnorePatterns": [
"<rootDir>[/\\\\](node_modules|.next)[/\\\\]"
],
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(ts|tsx)$"
],
"transform": {
"^.+\\.(ts|tsx)$": "babel-jest"
},
"moduleNameMapper": {
"\\.(css|less|sass|scss)$": "identity-obj-proxy",
"\\.(gif|ttf|eot|svg|png)$": "<rootDir>/test/__mocks__/fileMock.js",
"components(.*)$": "<rootDir>/components/$1"
}
}
}