UNPKG

2.45 kBJSONView Raw
1{
2 "name": "jest-image-snapshot",
3 "version": "4.0.2",
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/master --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.0.1",
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": "^26.0.1",
57 "jest-snapshot": "^26.0.1",
58 "semantic-release": "^17.0.4",
59 "lockfile-lint": "^4.0.0",
60 "mock-spawn": "^0.2.6"
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 },
72 "peerDependencies": {
73 "jest": ">=20 <=26"
74 },
75 "husky": {
76 "hooks": {
77 "pre-commit": "npm test",
78 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
79 }
80 },
81 "release": {
82 "plugins": [
83 "@semantic-release/commit-analyzer",
84 "@semantic-release/release-notes-generator",
85 "@semantic-release/changelog",
86 "@semantic-release/npm",
87 "@semantic-release/git",
88 "@semantic-release/github"
89 ],
90 "branch": "master"
91 }
92}