forked from maurocarrero/sinon-jest-cheatsheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.52 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
{
"name": "sinon-jest-cheatsheet",
"version": "0.0.0",
"description": "Some examples on how to achieve the same goal with either of both libraries: sinon and jest. Also some of those goals achievable only by one of these tools.",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/maurocarrero/sinon-jest-cheatsheet"
},
"scripts": {
"prettier": "prettier --config .prettierrc --write ./{src,tests}/**/*.js",
"start": "npm test",
"test": "jest --env=jsdom",
"test:watch": "jest --env=jsdom --watch"
},
"keywords": [
"jest",
"sinon",
"cheatsheet"
],
"author": "Mauro Carrero",
"license": "MIT",
"dependencies": {
"axios": "^0.21.1",
"create-react-class": "^15.6.2",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.0",
"jest": "^25.2.7",
"lolex": "^2.3.1",
"prettier": "^1.8.2",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"sinon": "^4.1.2"
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/tests/setupTests.js"
],
"unmockedModulePathPatterns": [
"<rootDir>/src/react-component/Button.js",
"<rootDir>/node_modules/axios",
"<rootDir>/node_modules/enzyme",
"<rootDir>/node_modules/enzyme-adapter-react-16",
"<rootDir>/node_modules/lolex",
"<rootDir>/node_modules/react",
"<rootDir>/node_modules/react-dom",
"<rootDir>/node_modules/react-test-renderer",
"<rootDir>/node_modules/sinon"
],
"verbose": true
}
}