-
Notifications
You must be signed in to change notification settings - Fork 200
/
package.json
110 lines (110 loc) · 2.71 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
{
"name": "jest-image-snapshot",
"version": "6.4.0",
"description": "Jest matcher for image comparisons. Most commonly used for visual regression testing.",
"main": "src/index.js",
"engines": {
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
},
"scripts": {
"lint": "eslint ./ --ignore-path .gitignore --ext .js",
"test": "jest --ci=false",
"test:lockfile": "lockfile-lint -p package-lock.json -t npm -a npm -o https: -c -i",
"test:git-history": "commitlint --from origin/main --to HEAD",
"posttest": "npm run lint && npm run test:git-history && npm run test:lockfile"
},
"keywords": [
"test",
"amex",
"visual testing",
"css",
"jest",
"browser testing"
],
"jest": {
"preset": "amex-jest-preset",
"collectCoverageFrom": [
"src/*.js",
"!src/diff-process.js",
"!**/node_modules/**",
"!test-results/**"
],
"testMatch": [
"<rootDir>/__tests__/**/*.spec.js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"<rootDir>/examples"
]
},
"repository": {
"type": "git",
"url": "https://github.com/americanexpress/jest-image-snapshot.git"
},
"author": "Andres Escobar <[email protected]> (https://github.com/anescobar1991)",
"license": "Apache-2.0",
"devDependencies": {
"@commitlint/cli": "^17.6.5",
"@commitlint/config-conventional": "^17.7.0",
"@semantic-release/changelog": "^5.0.0",
"@semantic-release/git": "^9.0.0",
"amex-jest-preset": "^6.1.0",
"eslint": "^6.8.0",
"eslint-config-amex": "^7.0.0",
"husky": "^4.2.1",
"image-size": "^0.8.3",
"jest": "^29.0.0",
"jest-snapshot": "^29.0.0",
"lockfile-lint": "^4.0.0",
"mock-spawn": "^0.2.6",
"semantic-release": "^17.0.4"
},
"dependencies": {
"chalk": "^4.0.0",
"get-stdin": "^5.0.1",
"glur": "^1.1.2",
"lodash": "^4.17.4",
"pixelmatch": "^5.1.0",
"pngjs": "^3.4.0",
"rimraf": "^2.6.2",
"ssim.js": "^3.1.1"
},
"peerDependencies": {
"jest": ">=20 <=29"
},
"peerDependenciesMeta": {
"jest": {
"optional": true
}
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
]
}
}