-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
83 lines (83 loc) · 2.85 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
{
"name": "jest-mock-console",
"version": "1.3.0",
"description": "Jest utility to mock the console",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"build": "babel src -d dist",
"jest26": "node ./node_modules/jest26/bin/jest --config=jest26.config.js",
"jest27": "node ./node_modules/jest27/bin/jest --config=jest27.config.js",
"jest": "node ./node_modules/jest/bin/jest --config=jest28.config.js",
"test:no-mock-console": "node ./node_modules/jest/bin/jest --testPathPattern=noMockConsole",
"test": "npm run jest --coverage --collectCoverageFrom=src/index.js",
"test:watch": "npm run jest --watch",
"test:setupfile-with-circus": "npm run jest27 -- --setupTestFrameworkScriptFile=./src/setupTestFramework.js --coverage --collectCoverageFrom=src/**.js",
"test:setupfile-with-jasmine": "npm run jest27 --setupTestFrameworkScriptFile=./src/setupTestFramework.js --coverage --collectCoverageFrom=src/**.js --testRunner=jest-jasmine2",
"test26": "npm run jest26 -- --coverage --collectCoverageFrom=src/index.js",
"test26:with-setup": "npm run jest26 -- --setupTestFrameworkScriptFile=./src/setupTestFramework.js --coverage --collectCoverageFrom=src/**.js",
"test27": "npm run jest27 -- --coverage --collectCoverageFrom=src/index.js",
"test27:with-setup": "npm run jest27 -- --setupTestFrameworkScriptFile=./src/setupTestFramework.js --coverage --collectCoverageFrom=src/**.js"
},
"files": [
"dist",
"index.d.ts",
"index.js"
],
"author": "Brian H Pedersen",
"contributors": [
"Quentin Golsteyn",
"NoriSte"
],
"license": "MIT",
"peerDependencies": {
"jest": ">= 22.4.2"
},
"devDependencies": {
"@babel/cli": "^7.13.16",
"@babel/core": "^7.13.16",
"@babel/preset-env": "^7.13.15",
"@types/jest": "^26.0.22",
"babel-jest": "^26.6.3",
"codecov": "^3.0.0",
"jest": "^28.0.3",
"jest26": "npm:jest@^26.6.3",
"jest27": "npm:jest@^27.2.4",
"ts-jest": "^28.0.3",
"ts-jest26": "npm:ts-jest@^26.5.6",
"ts-jest27": "npm:ts-jest@^27.1.5",
"typescript": "^4.2.4"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/bpedersen/jest-mock-console.git"
},
"bugs": {
"url": "https://github.com/bpedersen/jest-mock-console/issues"
},
"homepage": "https://github.com/bpedersen/jest-mock-console#readme",
"jest": {
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"moduleNameMapper": {
"jest-mock-console": "<rootDir>/src"
},
"transform": {
"^.+\\.jsx?$": "babel-jest",
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testURL": "http://localhost",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}