{ "name": "react-jest-testing", "version": "0.0.4", "private": true, "engines": { "node": ">=0.10.0" }, "scripts": { "build": "gulp bundle", "clean": "gulp clean", "test": "jest" }, "dependencies": { "@microsoft/sp-core-library": "1.7.0", "@microsoft/sp-lodash-subset": "1.7.0", "@microsoft/sp-office-ui-fabric-core": "1.7.0", "@microsoft/sp-webpart-base": "1.7.0", "@pnp/common": "1.2.7", "@pnp/logging": "1.2.7", "@pnp/odata": "1.2.7", "@pnp/sp": "1.2.7", "@types/es6-promise": "0.0.33", "@types/react": "16.4.2", "@types/react-dom": "16.0.5", "@types/webpack-env": "1.13.1", "react": "16.3.2", "react-dom": "16.3.2" }, "devDependencies": { "@microsoft/sp-build-web": "1.7.0", "@microsoft/sp-module-interfaces": "1.7.0", "@microsoft/sp-webpart-workbench": "1.7.0", "@types/chai": "3.4.34", "@types/enzyme": "3.1.15", "@types/jest": "22.2.3", "@types/mocha": "2.2.38", "@types/sinon": "5.0.7", "ajv": "~5.2.2", "enzyme": "3.8.0", "enzyme-adapter-react-16": "1.7.1", "gulp": "~3.9.1", "identity-obj-proxy": "3.0.0", "jest": "22.4.3", "jest-junit": "5.2.0", "react-test-renderer": "16.6.3", "sinon": "5.0.7", "ts-jest": "22.4.5" }, "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" }, "reporters": [ "default", "jest-junit" ], "coverageThreshold": { "global": { "branches": 100, "functions": 100, "lines": 100, "statements": 100 } } }, "jest-junit": { "output": "./jest/summary-jest-junit.xml" } }