1 | {
|
2 | "version": "3.6.2",
|
3 | "name": "enzyme-to-json",
|
4 | "description": "convert enzyme wrapper to a format compatible with Jest snapshot",
|
5 | "main": "index.js",
|
6 | "scripts": {
|
7 | "build": "babel src -d ./",
|
8 | "clean": "rm *.js",
|
9 | "prepublishOnly": "yarn build",
|
10 | "lint": "eslint src tests/core && yarn format-check",
|
11 | "format": "prettier src/**/*.js tests/core/*.js tests/core/**/*.js --write --single-quote --trailing-comma all --no-bracket-spacing",
|
12 | "format-check": "prettier-check src/**/*.js tests/core/*.js tests/core/**/*.js --write --single-quote --trailing-comma all --no-bracket-spacing",
|
13 | "test": "yarn lint && yarn test-core",
|
14 | "test-core": "NODE_ENV=test jest --coverage"
|
15 | },
|
16 | "keywords": [
|
17 | "enzyme",
|
18 | "jest",
|
19 | "snapshot",
|
20 | "wrapper",
|
21 | "pretty-format",
|
22 | "cheerio",
|
23 | "convert",
|
24 | "testing",
|
25 | "unit",
|
26 | "test"
|
27 | ],
|
28 | "author": "Adrien Antoine <adriantoine@gmail.com> (http://adriantoine.com)",
|
29 | "homepage": "https://github.com/adriantoine/enzyme-to-json#readme",
|
30 | "bugs": {
|
31 | "url": "https://github.com/adriantoine/enzyme-to-json/issues",
|
32 | "email": "adrien@tray.io"
|
33 | },
|
34 | "repository": {
|
35 | "type": "git",
|
36 | "url": "https://github.com/adriantoine/enzyme-to-json.git"
|
37 | },
|
38 | "engines": {
|
39 | "node": ">=6.0.0"
|
40 | },
|
41 | "license": "MIT",
|
42 | "dependencies": {
|
43 | "@types/cheerio": "^0.22.22",
|
44 | "lodash": "^4.17.21",
|
45 | "react-is": "^16.12.0"
|
46 | },
|
47 | "peerDependencies": {
|
48 | "enzyme": "^3.4.0"
|
49 | },
|
50 | "devDependencies": {
|
51 | "@babel/cli": "^7.8.4",
|
52 | "@babel/core": "^7.11.2",
|
53 | "@babel/preset-env": "^7.7.1",
|
54 | "@babel/preset-react": "^7.7.0",
|
55 | "babel-jest": "^24.9.0",
|
56 | "codecov": "^3.6.1",
|
57 | "enzyme": "^3.7.0",
|
58 | "enzyme-adapter-react-16": "^1.7.0",
|
59 | "eslint": "^4.8.0",
|
60 | "eslint-config-prettier": "^2.6.0",
|
61 | "eslint-config-standard": "^10.2.1",
|
62 | "eslint-config-standard-react": "^5.0.0",
|
63 | "eslint-plugin-import": "^2.7.0",
|
64 | "eslint-plugin-node": "^5.2.0",
|
65 | "eslint-plugin-promise": "^3.5.0",
|
66 | "eslint-plugin-react": "^7.4.0",
|
67 | "eslint-plugin-standard": "^3.0.1",
|
68 | "jest": "^24.9.0",
|
69 | "prettier": "^1.7.4",
|
70 | "prettier-check": "^2.0.0",
|
71 | "prop-types": "^15.6.2",
|
72 | "raf": "^3.4.1",
|
73 | "react": "^16.6.0",
|
74 | "react-dom": "^16.6.0",
|
75 | "react-test-renderer": "^16.6.0"
|
76 | },
|
77 | "jest": {
|
78 | "testPathIgnorePatterns": [
|
79 | "<rootDir>/node_modules/"
|
80 | ],
|
81 | "coveragePathIgnorePatterns": [
|
82 | "<rootDir>/tests"
|
83 | ],
|
84 | "setupFiles": [
|
85 | "raf/polyfill"
|
86 | ]
|
87 | }
|
88 | }
|