forked from adriantoine/enzyme-to-json
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 2.94 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
{
"name": "enzyme-to-json",
"description": "convert enzyme wrapper to a format compatible with Jest snapshot",
"main": "build/index.js",
"scripts": {
"build": "babel src -d build && babel src/serializer.js -o serializer.js",
"prepublish": "yarn build",
"lint": "eslint src tests/core",
"format": "prettier src/**/*.js tests/core/**/*.js --write --single-quote --trailing-comma all --no-bracket-spacing",
"test": "yarn lint && yarn test-core && yarn test-serializer",
"test-core": "NODE_ENV=test jest --coverage",
"lint-staged": "lint-staged",
"test-serializer": "cd tests/serializer && rm -rf node_modules && yarn install && yarn test",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"keywords": [
"enzyme",
"jest",
"snapshot",
"wrapper",
"pretty-format",
"cheerio",
"convert",
"testing",
"unit",
"test"
],
"author": "Adrien Antoine <adriantoine@gmail.com> (http://adriantoine.com)",
"homepage": "https://github.com/adriantoine/enzyme-to-json#readme",
"bugs": {
"url": "https://github.com/adriantoine/enzyme-to-json/issues",
"email": "adrien@tray.io"
},
"repository": {
"type": "git",
"url": "https://github.com/adriantoine/enzyme-to-json.git"
},
"engines": {
"node": ">=4.0.0"
},
"license": "MIT",
"dependencies": {
"lodash.filter": "^4.6.0",
"lodash.isnil": "^4.0.0",
"lodash.isplainobject": "^4.0.6",
"lodash.omitby": "^4.5.0",
"lodash.range": "^3.2.0",
"object-values": "^1.0.0",
"object.entries": "^1.0.3"
},
"peerDependencies": {
"enzyme": "^2.7.1"
},
"devDependencies": {
"babel-cli": "^6.22.2",
"babel-jest": "~19.0.0",
"babel-plugin-syntax-export-extensions": "^6.13.0",
"babel-preset-es2015": "^6.22.0",
"babel-preset-react": "^6.22.0",
"codecov": "^2.1.0",
"cz-conventional-changelog": "~2.0.0",
"enzyme": "^2.8.1",
"eslint": "^3.15.0",
"eslint-config-prettier": "^1.0.3",
"eslint-config-standard": "^10.2.0",
"eslint-config-standard-react": "^4.2.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-node": "^4.2.2",
"eslint-plugin-promise": "^3.4.1",
"eslint-plugin-react": "^6.9.0",
"eslint-plugin-standard": "^3.0.1",
"jest": "~19.0.2",
"lint-staged": "^3.4.0",
"pre-commit": "~1.2.2",
"prettier": "^1.0.2",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"react-test-renderer": "^15.5.4",
"semantic-release": "^6.3.2"
},
"jest": {
"testPathIgnorePatterns": [
"<rootDir>/tests/serializer",
"<rootDir>/node_modules/"
],
"coveragePathIgnorePatterns": [
"<rootDir>/tests"
]
},
"lint-staged": {
"*.js": [
"prettier --write --single-quote --trailing-comma all --no-bracket-spacing",
"git add"
]
},
"pre-commit": "lint-staged",
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}