-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
93 lines (93 loc) · 2.18 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
{
"name": "graphql-yup-middleware",
"version": "1.0.0",
"description": "GraphQL middleware to validate mutations arguments using yup",
"repository": "https://github.com/JCMais/graphql-yup-middleware",
"license": "MIT",
"author": "Jonathan Cardoso Machado",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "yarn clean && tsc",
"clean": "rimraf dist",
"lint": "eslint src/**/*.ts",
"prepublishOnly": "yarn lint && yarn test && yarn build",
"prettier:all": "prettier --write src/**/*.ts",
"test": "jest",
"test:watch": "jest --watchAll"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{ts,js,tsx,jsx}": [
"prettier --write",
"eslint --fix"
],
"**/*.{json,css,md,yaml,yml,html,graphql}": [
"prettier --write"
],
"**/package.json": [
"sort-package-json"
]
},
"jest": {
"globals": {
"ts-jest": {
"babelConfig": false
}
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"transform": {
"^.+\\.tsx?$": "ts-jest"
}
},
"dependencies": {
"@types/lodash.groupby": "^4.6.6",
"@types/yup": "^0.29.11",
"lodash.groupby": "^4.6.0"
},
"devDependencies": {
"@jcm/eslint-config": "^0.0.2",
"@types/jest": "^26.0.20",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
"eslint": "^7.18.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
"graphql": "^15.4.0",
"graphql-middleware": "^6.0.2",
"graphql-tools": "^7.0.2",
"husky": "^4.3.8",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"np": "^7.2.0",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"sort-package-json": "^1.48.1",
"ts-jest": "^26.4.4",
"typescript": "^4.1.3",
"yup": "^0.32.8"
},
"peerDependencies": {
"graphql": "^15.0.0",
"graphql-middleware": ">= 6.0.2",
"yup": ">= 0.25 < 1"
},
"engines": {
"node": ">= 12"
}
}