-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathpackage.json
121 lines (121 loc) · 3.91 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "eslint-plugin-jest-dom",
"version": "0.0.0-semantically-released",
"description": "ESLint plugin to follow best practices and anticipate common mistakes when writing tests with jest-dom",
"keywords": [
"eslint",
"eslintplugin",
"eslint-plugin",
"jest-dom",
"testing-library",
"react-testing-library",
"dom-testing-library",
"RTL",
"DTL",
"tests"
],
"homepage": "https://github.com/testing-library/eslint-plugin-jest-dom#readme",
"bugs": {
"url": "https://github.com/testing-library/eslint-plugin-jest-dom/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/testing-library/eslint-plugin-jest-dom"
},
"license": "MIT",
"author": "Ben Monro",
"main": "dist/index.js",
"types": "index.d.ts",
"files": [
"dist",
"index.d.ts"
],
"scripts": {
"build": "kcd-scripts build",
"pregenerate-readme-table": "npm run build",
"generate-readme-table": "eslint-doc-generator",
"lint": "kcd-scripts lint",
"lint:generate-readme-table": "npm run generate-readme-table -- --check",
"setup": "npm install && npm run validate -s",
"test": "kcd-scripts test",
"test:coverage": "npm test -- --coverage",
"test:update": "npm test:coverage -- --updateSnapshot",
"validate": "kcd-scripts validate"
},
"eslintConfig": {
"extends": "./node_modules/kcd-scripts/eslint.js",
"rules": {
"consistent-return": "off",
"max-lines-per-function": "off",
"testing-library/no-dom-import": "off"
},
"overrides": [
{
"files": [
"**/*.ts"
],
"rules": {
"@typescript-eslint/await-thenable": "off",
"@typescript-eslint/dot-notation": "off",
"@typescript-eslint/no-base-to-string": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-implied-eval": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-throw-literal": "off",
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
"@typescript-eslint/no-unnecessary-condition": "off",
"@typescript-eslint/no-unnecessary-qualifier": "off",
"@typescript-eslint/no-unnecessary-type-assertion": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/prefer-includes": "off",
"@typescript-eslint/prefer-nullish-coalescing": "off",
"@typescript-eslint/prefer-reduce-type-parameter": "off",
"@typescript-eslint/prefer-string-starts-ends-with": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"@typescript-eslint/return-await": "off",
"@typescript-eslint/switch-exhaustiveness-check": "off",
"@typescript-eslint/unbound-method": "off"
}
}
]
},
"eslintIgnore": [
"node_modules",
"coverage",
"dist",
"eslint-remote-tester-results"
],
"dependencies": {
"@babel/runtime": "^7.16.3",
"requireindex": "^1.2.0"
},
"devDependencies": {
"@testing-library/dom": "^8.20.0",
"@typescript-eslint/parser": "^5.9.1",
"eslint": "^8.7.0",
"eslint-doc-generator": "^1.0.0",
"eslint-remote-tester": "^3.0.0",
"eslint-remote-tester-repositories": "^1.0.1",
"kcd-scripts": "^12.0.0",
"semver": "^7.6.0",
"typescript": "^5.1.3"
},
"peerDependencies": {
"@testing-library/dom": "^8.0.0 || ^9.0.0 || ^10.0.0",
"eslint": "^6.8.0 || ^7.0.0 || ^8.0.0 || ^9.0.0"
},
"peerDependenciesMeta": {
"@testing-library/dom": {
"optional": true
}
},
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0",
"npm": ">=6",
"yarn": ">=1"
}
}