forked from americanexpress/jest-image-snapshot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 2.53 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
{
"name": "image-snapshot-diff",
"version": "0.2.0",
"description": "Image diff extracted from jest-image-snapshot.",
"main": "src/index.js",
"engines": {
"node": ">= 10.14.2"
},
"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/master --to HEAD",
"posttest": "npm run lint && npm run test:git-history && npm run test:lockfile"
},
"keywords": [
"image diff",
"image comparison"
],
"jest": {
"preset": "amex-jest-preset",
"collectCoverageFrom": [
"src/*.js",
"!src/diff-process.js",
"!src/index.js",
"!**/node_modules/**",
"!test-results/**"
],
"testMatch": [
"<rootDir>/__tests__/**/*.js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"<rootDir>/examples"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
}
},
"repository": {
"type": "git",
"url": "https://github.com/sergeyt/image-diff.git"
},
"author": "Sergey Todyshev <stodyshev@gmail.com> (https://github.com/sergeyt)",
"license": "Apache-2.0",
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@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": "^26.0.1",
"jest-snapshot": "^26.0.1",
"lockfile-lint": "^4.0.0",
"mock-spawn": "^0.2.6",
"semantic-release": "^17.0.4"
},
"dependencies": {
"get-stdin": "^5.0.1",
"glur": "^1.1.2",
"mkdirp": "^0.5.1",
"pixelmatch": "^5.1.0",
"pngjs": "^3.4.0",
"rimraf": "^3.0.2",
"ssim.js": "^3.1.1"
},
"peerDependencies": {
"jest": ">=20 <=26"
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
],
"branch": "master"
},
"release-it": {
"git": {
"commitMessage": "chore: release v${version}"
}
}
}