UNPKG

1.55 kBJSONView Raw
1{
2 "name": "jest-image-snapshot",
3 "version": "2.8.2",
4 "description": "Jest matcher for image comparisons. Most commonly used for visual regression testing.",
5 "main": "src/index.js",
6 "engines": {
7 "node": ">=6.0.0"
8 },
9 "scripts": {
10 "lint": "eslint ./ --ignore-path .gitignore --ext .js",
11 "test": "jest --ci=false",
12 "posttest": "npm run lint"
13 },
14 "keywords": [
15 "test",
16 "amex",
17 "visual testing",
18 "css",
19 "jest",
20 "browser testing"
21 ],
22 "jest": {
23 "preset": "amex-jest-preset",
24 "collectCoverageFrom": [
25 "src/*.js",
26 "!src/diff-process.js",
27 "!**/node_modules/**",
28 "!test-results/**"
29 ],
30 "testMatch": [
31 "<rootDir>/__tests__/**/*.js"
32 ],
33 "coveragePathIgnorePatterns": [
34 "/node_modules/",
35 "<rootDir>/examples"
36 ]
37 },
38 "repository": {
39 "type": "git",
40 "url": "https://github.com/americanexpress/jest-image-snapshot.git"
41 },
42 "author": "Andres Escobar <andres.escobar@aexp.com> (https://github.com/anescobar1991)",
43 "license": "Apache-2.0",
44 "devDependencies": {
45 "amex-jest-preset": "^5.0.0",
46 "eslint": "^4.15.0",
47 "eslint-config-amex": "^7.0.0",
48 "image-size": "^0.7.1",
49 "jest": "^24.0.0",
50 "mock-spawn": "^0.2.6",
51 "jest-snapshot": "^23.0.0"
52 },
53 "dependencies": {
54 "chalk": "^1.1.3",
55 "get-stdin": "^5.0.1",
56 "lodash": "^4.17.4",
57 "mkdirp": "^0.5.1",
58 "pixelmatch": "^4.0.2",
59 "pngjs": "^3.3.3",
60 "rimraf": "^2.6.2"
61 },
62 "peerDependencies": {
63 "jest": ">=20 <=24"
64 }
65}