UNPKG

jest-enzyme

Version:
84 lines (83 loc) 2.42 kB
{ "name": "jest-enzyme", "version": "7.1.2", "description": "Testing Matchers for Enzyme", "main": "lib/index.js", "author": "Blaine Kasten <blainekasten@gmail.com>", "license": "MIT", "homepage": "https://github.com/FormidableLabs/enzyme-matchers/blob/master/packages/jest-enzyme#readme", "scripts": { "pretest": "node ../../scripts/jest.js", "test": "node ../../node_modules/jest-cli/bin/jest.js __tests__", "failing:test": "node ../../node_modules/jest-cli/bin/jest.js __failing_tests__", "jest": "node ../../node_modules/jest-cli/bin/jest.js __tests__", "lint": "eslint ./src", "clean": "rm -rf ./lib", "build:js": "babel --root-mode upward src --out-dir lib --ignore '**/__tests__/*.js' --ignore '**/__failing_tests__/*.js'", "build:flow": "flow-copy-source -v -i '**/__tests__/*.js' -i '**/__failing_tests__/*.js' src lib", "copy-dts": "cpy src/index.d.ts lib", "build": "npm run clean && npm run build:js && npm run build:flow && npm run copy-dts", "prepublish": "npm run build" }, "files": [ "lib" ], "types": "lib/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/FormidableLabs/enzyme-matchers.git" }, "keywords": [ "javascript", "shallow rendering", "shallowRender", "test", "reactjs", "react", "flux", "testing", "test utils", "assertion helpers", "tdd", "jest", "enzyme" ], "bugs": { "url": "https://github.com/FormidableLabs/enzyme-matchers/issues" }, "peerDependencies": { "enzyme": ">=3.4.0", "jest": ">=22.0.0" }, "dependencies": { "enzyme-matchers": "^7.1.2", "enzyme-to-json": "^3.3.0", "jest-environment-enzyme": "^7.1.2" }, "devDependencies": { "@types/enzyme": "^3.1.11", "@types/react": "^16.0.10", "cpy-cli": "^2.0.0" }, "jest": { "transform": { "^.+\\.js$": "../../babel-jest-root-mode-wrapper.js" }, "roots": [ "<rootDir>/src" ], "testEnvironment": "enzyme", "testEnvironmentOptions": { "enzymeAdapter": "react16" }, "setupFilesAfterEnv": [ "<rootDir>/src/index.js" ], "testRegex": "/(__tests__|__failing_tests__)/.*\\.test\\.js$", "transformIgnorePatterns": [ "<rootDir>/node_modules/(?!enzyme-matchers)" ], "verbose": true }, "gitHead": "abce48ffb02e9da2b3b021d9c3d2b2ef2697ddd5" }