1 | {
|
2 | "name": "jest-image-snapshot",
|
3 | "version": "4.5.1",
|
4 | "description": "Jest matcher for image comparisons. Most commonly used for visual regression testing.",
|
5 | "main": "src/index.js",
|
6 | "engines": {
|
7 | "node": ">= 10.14.2"
|
8 | },
|
9 | "scripts": {
|
10 | "lint": "eslint ./ --ignore-path .gitignore --ext .js",
|
11 | "test": "jest --ci=false",
|
12 | "test:lockfile": "lockfile-lint -p package-lock.json -t npm -a npm -o https: -c -i",
|
13 | "test:git-history": "commitlint --from origin/main --to HEAD",
|
14 | "posttest": "npm run lint && npm run test:git-history && npm run test:lockfile"
|
15 | },
|
16 | "keywords": [
|
17 | "test",
|
18 | "amex",
|
19 | "visual testing",
|
20 | "css",
|
21 | "jest",
|
22 | "browser testing"
|
23 | ],
|
24 | "jest": {
|
25 | "preset": "amex-jest-preset",
|
26 | "collectCoverageFrom": [
|
27 | "src/*.js",
|
28 | "!src/diff-process.js",
|
29 | "!**/node_modules/**",
|
30 | "!test-results/**"
|
31 | ],
|
32 | "testMatch": [
|
33 | "<rootDir>/__tests__/**/*.js"
|
34 | ],
|
35 | "coveragePathIgnorePatterns": [
|
36 | "/node_modules/",
|
37 | "<rootDir>/examples"
|
38 | ]
|
39 | },
|
40 | "repository": {
|
41 | "type": "git",
|
42 | "url": "https://github.com/americanexpress/jest-image-snapshot.git"
|
43 | },
|
44 | "author": "Andres Escobar <andres.escobar@aexp.com> (https://github.com/anescobar1991)",
|
45 | "license": "Apache-2.0",
|
46 | "devDependencies": {
|
47 | "@commitlint/cli": "^8.3.5",
|
48 | "@commitlint/config-conventional": "^8.3.4",
|
49 | "@semantic-release/changelog": "^5.0.0",
|
50 | "@semantic-release/git": "^9.0.0",
|
51 | "amex-jest-preset": "^6.1.0",
|
52 | "eslint": "^6.8.0",
|
53 | "eslint-config-amex": "^7.0.0",
|
54 | "husky": "^4.2.1",
|
55 | "image-size": "^0.8.3",
|
56 | "jest": "^27.0.4",
|
57 | "jest-snapshot": "^27.0.4",
|
58 | "lockfile-lint": "^4.0.0",
|
59 | "mock-spawn": "^0.2.6",
|
60 | "semantic-release": "^17.0.4"
|
61 | },
|
62 | "dependencies": {
|
63 | "chalk": "^1.1.3",
|
64 | "get-stdin": "^5.0.1",
|
65 | "glur": "^1.1.2",
|
66 | "lodash": "^4.17.4",
|
67 | "mkdirp": "^0.5.1",
|
68 | "pixelmatch": "^5.1.0",
|
69 | "pngjs": "^3.4.0",
|
70 | "rimraf": "^2.6.2",
|
71 | "ssim.js": "^3.1.1"
|
72 | },
|
73 | "peerDependencies": {
|
74 | "jest": ">=20 <=27"
|
75 | },
|
76 | "husky": {
|
77 | "hooks": {
|
78 | "pre-commit": "npm test",
|
79 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
80 | }
|
81 | },
|
82 | "release": {
|
83 | "branches": [
|
84 | "+([0-9])?(.{+([0-9]),x}).x",
|
85 | "main",
|
86 | "next",
|
87 | "next-major",
|
88 | {
|
89 | "name": "beta",
|
90 | "prerelease": true
|
91 | },
|
92 | {
|
93 | "name": "alpha",
|
94 | "prerelease": true
|
95 | }
|
96 | ],
|
97 | "plugins": [
|
98 | "@semantic-release/commit-analyzer",
|
99 | "@semantic-release/release-notes-generator",
|
100 | "@semantic-release/changelog",
|
101 | "@semantic-release/npm",
|
102 | "@semantic-release/git",
|
103 | "@semantic-release/github"
|
104 | ]
|
105 | }
|
106 | }
|