jest-enzyme
Version:
Testing Matchers for Enzyme
77 lines (76 loc) • 2.18 kB
JSON
{
"name": "jest-enzyme",
"version": "6.1.1",
"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 src --out-dir lib --ignore tests --copy-files",
"build:flow": "flow-copy-source -v -i '**/__tests__/*.js' -i '**/__failing_tests__/*.js' src lib",
"build": "npm run clean && npm run build:js && npm run build:flow",
"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.x",
"jest": ">=22.0.0"
},
"dependencies": {
"enzyme-matchers": "^6.1.1",
"enzyme-to-json": "^3.3.0",
"jest-environment-enzyme": "^6.1.1"
},
"devDependencies": {
"@types/enzyme": "^3.1.11",
"@types/react": "^16.0.10"
},
"jest": {
"roots": [
"<rootDir>/src"
],
"testEnvironment": "enzyme",
"testEnvironmentOptions": {
"enzymeAdapter": "react16"
},
"setupTestFrameworkScriptFile": "<rootDir>/src/index.js",
"testRegex": "/(__tests__|__failing_tests__)/.*\\.test\\.js$",
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!enzyme-matchers)"
],
"verbose": true
},
"gitHead": "3871df2db855112802f68db24cb253f2700a767f"
}