forked from runforesight-demo/jest-extended
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
126 lines (126 loc) · 2.9 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
122
123
124
125
126
{
"name": "jest-extended",
"version": "3.0.1",
"description": "Additional Jest matchers",
"main": "dist/index.js",
"types": "types/index.d.ts",
"files": [
"dist",
"types/index.d.ts",
"all.js"
],
"scripts": {
"build": "babel src -d dist --ignore \"**/*.test.js\"",
"lint": "eslint .",
"lint:fix": "yarn lint --fix",
"prepare": "husky install",
"prepublishOnly": "yarn build",
"precommit": "lint-staged",
"test": "jest --color=true",
"test:coverage": "yarn test --coverage",
"test:watch": "yarn test --watch",
"typecheck": "tsc --noEmit types/index.d.ts"
},
"keywords": [
"jest",
"matchers",
"extend",
"extended",
"test",
"testing",
"assertions"
],
"author": "Matt Phillips <[email protected]> (mattphillips.io)",
"license": "MIT",
"repository": "jest-community/jest-extended",
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.14.7",
"@jest/expect-utils": "^28.0.0",
"@types/jest": "^28.0.0",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"babel-jest": "^28.0.0",
"babel-jest-assertions": "^0.1.0",
"eslint": "^8.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^3.2.5",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jest": "^26.0.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^8.0.0",
"jest": "^28.0.0",
"jest-serializer-ansi-escapes": "^2.0.1",
"jest-watch-typeahead": "^2.0.0",
"lint-staged": "^13.0.0",
"prettier": "^2.3.2",
"typescript": "^4.4.3"
},
"dependencies": {
"jest-diff": "^28.0.0",
"jest-get-type": "^28.0.0"
},
"engines": {
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
},
"lint-staged": {
"*.js": "eslint --fix",
"*.md": "prettier --write"
},
"jest": {
"testEnvironment": "node",
"testPathIgnorePatterns": [
".idea",
"examples",
"/node_modules/",
"/fixtures/",
"/dist/"
],
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"snapshotSerializers": [
"jest-serializer-ansi-escapes"
],
"moduleNameMapper": {
"src/(.*)": "<rootDir>/src/$1"
},
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"watchPlugins": [
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname"
]
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "12"
}
}
]
],
"plugins": [
"module:babel-jest-assertions"
]
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 120,
"singleQuote": true,
"trailingComma": "all"
},
"peerDependencies": {
"jest": ">=27.2.5"
}
}