-
Notifications
You must be signed in to change notification settings - Fork 64
/
package.json
88 lines (88 loc) · 2.45 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
{
"version": "3.6.2",
"name": "enzyme-to-json",
"description": "convert enzyme wrapper to a format compatible with Jest snapshot",
"main": "index.js",
"scripts": {
"build": "babel src -d ./",
"clean": "rm *.js",
"prepublishOnly": "yarn build",
"lint": "eslint src tests/core && yarn format-check",
"format": "prettier src/**/*.js tests/core/*.js tests/core/**/*.js --write --single-quote --trailing-comma all --no-bracket-spacing",
"format-check": "prettier-check src/**/*.js tests/core/*.js tests/core/**/*.js --write --single-quote --trailing-comma all --no-bracket-spacing",
"test": "yarn lint && yarn test-core",
"test-core": "NODE_ENV=test jest --coverage"
},
"keywords": [
"enzyme",
"jest",
"snapshot",
"wrapper",
"pretty-format",
"cheerio",
"convert",
"testing",
"unit",
"test"
],
"author": "Adrien Antoine <[email protected]> (http://adriantoine.com)",
"homepage": "https://github.com/adriantoine/enzyme-to-json#readme",
"bugs": {
"url": "https://github.com/adriantoine/enzyme-to-json/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/adriantoine/enzyme-to-json.git"
},
"engines": {
"node": ">=6.0.0"
},
"license": "MIT",
"dependencies": {
"@types/cheerio": "^0.22.22",
"lodash": "^4.17.21",
"react-is": "^16.12.0"
},
"peerDependencies": {
"enzyme": "^3.4.0"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.11.2",
"@babel/preset-env": "^7.7.1",
"@babel/preset-react": "^7.7.0",
"babel-jest": "^24.9.0",
"codecov": "^3.6.1",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.7.0",
"eslint": "^4.8.0",
"eslint-config-prettier": "^2.6.0",
"eslint-config-standard": "^10.2.1",
"eslint-config-standard-react": "^5.0.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-node": "^5.2.0",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-react": "^7.4.0",
"eslint-plugin-standard": "^3.0.1",
"jest": "^24.9.0",
"prettier": "^1.7.4",
"prettier-check": "^2.0.0",
"prop-types": "^15.6.2",
"raf": "^3.4.1",
"react": "^16.6.0",
"react-dom": "^16.6.0",
"react-test-renderer": "^16.6.0"
},
"jest": {
"testPathIgnorePatterns": [
"<rootDir>/node_modules/"
],
"coveragePathIgnorePatterns": [
"<rootDir>/tests"
],
"setupFiles": [
"raf/polyfill"
]
}
}