{ "name": "react-jest-testing", "version": "0.0.2", "private": true, "engines": { "node": ">=0.10.0" }, "scripts": { "build": "gulp bundle", "clean": "gulp clean", "test": "jest" }, "dependencies": { "@microsoft/sp-core-library": "1.6.0", "@microsoft/sp-lodash-subset": "1.6.0", "@microsoft/sp-office-ui-fabric-core": "1.6.0", "@microsoft/sp-webpart-base": "1.6.0", "@pnp/common": "1.2.1", "@pnp/logging": "1.2.1", "@pnp/odata": "1.2.1", "@pnp/sp": "1.2.1", "@types/es6-promise": "0.0.33", "@types/react": "15.6.6", "@types/react-dom": "15.5.6", "@types/webpack-env": "1.13.1", "react": "15.6.2", "react-dom": "15.6.2" }, "devDependencies": { "@microsoft/sp-build-web": "1.6.0", "@microsoft/sp-module-interfaces": "1.6.0", "@microsoft/sp-webpart-workbench": "1.6.0", "@types/chai": "3.4.34", "@types/enzyme": "3.1.10", "@types/jest": "22.2.3", "@types/mocha": "2.2.38", "@types/sinon": "4.3.1", "ajv": "~5.2.2", "enzyme": "3.3.0", "enzyme-adapter-react-15": "1.0.5", "gulp": "~3.9.1", "identity-obj-proxy": "3.0.0", "jest": "22.4.3", "jest-junit": "3.7.0", "react-test-renderer": "15.6.2", "sinon": "5.0.7", "ts-jest": "22.4.5", "tslint-microsoft-contrib": "5.0.0" }, "jest": { "moduleFileExtensions": [ "ts", "tsx", "js" ], "transform": { "^.+\\.(ts|tsx)$": "ts-jest" }, "testMatch": [ "**/src/**/*.test.+(ts|tsx|js)" ], "collectCoverage": true, "coverageReporters": [ "json", "lcov", "text", "cobertura" ], "coverageDirectory": "/jest", "moduleNameMapper": { "\\.(css|less|scss|sass)$": "identity-obj-proxy" }, "testResultsProcessor": "jest-junit", "coverageThreshold": { "global": { "branches": 100, "functions": 100, "lines": 100, "statements": 100 } } }, "jest-junit": { "output": "./jest/summary-jest-junit.xml" } }