2018-05-11 21:59:42 -04:00
|
|
|
{
|
|
|
|
"name": "react-jest-testing",
|
2019-07-05 08:56:18 -04:00
|
|
|
"version": "0.0.5",
|
2018-05-11 21:59:42 -04:00
|
|
|
"private": true,
|
|
|
|
"engines": {
|
|
|
|
"node": ">=0.10.0"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"build": "gulp bundle",
|
|
|
|
"clean": "gulp clean",
|
|
|
|
"test": "jest"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2019-07-05 08:56:18 -04:00
|
|
|
"@microsoft/sp-core-library": "1.8.2",
|
|
|
|
"@microsoft/sp-lodash-subset": "1.8.2",
|
|
|
|
"@microsoft/sp-office-ui-fabric-core": "1.8.2",
|
|
|
|
"@microsoft/sp-webpart-base": "1.8.2",
|
2018-12-19 02:19:36 -05:00
|
|
|
"@pnp/common": "1.2.7",
|
|
|
|
"@pnp/logging": "1.2.7",
|
|
|
|
"@pnp/odata": "1.2.7",
|
|
|
|
"@pnp/sp": "1.2.7",
|
2018-10-03 08:01:14 -04:00
|
|
|
"@types/es6-promise": "0.0.33",
|
2019-07-05 08:56:18 -04:00
|
|
|
"@types/react": "16.7.22",
|
|
|
|
"@types/react-dom": "16.8.0",
|
2018-06-15 01:46:43 -04:00
|
|
|
"@types/webpack-env": "1.13.1",
|
2019-07-05 08:56:18 -04:00
|
|
|
"office-ui-fabric-react": "6.143.0",
|
|
|
|
"react": "16.7.0",
|
|
|
|
"react-dom": "16.7.0"
|
2018-05-11 21:59:42 -04:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-07-05 08:56:18 -04:00
|
|
|
"@microsoft/rush-stack-compiler-2.9": "0.7.7",
|
|
|
|
"@microsoft/sp-build-web": "1.8.2",
|
|
|
|
"@microsoft/sp-module-interfaces": "1.8.2",
|
|
|
|
"@microsoft/sp-tslint-rules": "1.8.2",
|
|
|
|
"@microsoft/sp-webpart-workbench": "1.8.2",
|
2018-06-15 01:46:43 -04:00
|
|
|
"@types/chai": "3.4.34",
|
2018-12-19 02:19:36 -05:00
|
|
|
"@types/enzyme": "3.1.15",
|
2018-10-03 08:01:14 -04:00
|
|
|
"@types/jest": "22.2.3",
|
2018-06-15 01:46:43 -04:00
|
|
|
"@types/mocha": "2.2.38",
|
2018-12-19 02:19:36 -05:00
|
|
|
"@types/sinon": "5.0.7",
|
2022-02-12 12:22:34 -05:00
|
|
|
"ajv": "~6.12.3",
|
2018-12-19 02:19:36 -05:00
|
|
|
"enzyme": "3.8.0",
|
|
|
|
"enzyme-adapter-react-16": "1.7.1",
|
2018-10-03 08:01:14 -04:00
|
|
|
"gulp": "~3.9.1",
|
|
|
|
"identity-obj-proxy": "3.0.0",
|
|
|
|
"jest": "22.4.3",
|
2018-12-19 02:19:36 -05:00
|
|
|
"jest-junit": "5.2.0",
|
|
|
|
"react-test-renderer": "16.6.3",
|
2018-05-11 21:59:42 -04:00
|
|
|
"sinon": "5.0.7",
|
2018-12-19 02:19:36 -05:00
|
|
|
"ts-jest": "22.4.5"
|
2018-05-11 21:59:42 -04:00
|
|
|
},
|
2019-07-05 08:56:18 -04:00
|
|
|
"resolutions": {
|
|
|
|
"@types/react": "16.7.22"
|
|
|
|
},
|
2018-05-11 21:59:42 -04:00
|
|
|
"jest": {
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"ts",
|
|
|
|
"tsx",
|
|
|
|
"js"
|
|
|
|
],
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.(ts|tsx)$": "ts-jest"
|
|
|
|
},
|
|
|
|
"testMatch": [
|
|
|
|
"**/src/**/*.test.+(ts|tsx|js)"
|
|
|
|
],
|
|
|
|
"collectCoverage": true,
|
|
|
|
"coverageReporters": [
|
|
|
|
"json",
|
|
|
|
"lcov",
|
|
|
|
"text",
|
|
|
|
"cobertura"
|
|
|
|
],
|
|
|
|
"coverageDirectory": "<rootDir>/jest",
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"\\.(css|less|scss|sass)$": "identity-obj-proxy"
|
|
|
|
},
|
2018-12-19 02:19:36 -05:00
|
|
|
"reporters": [
|
|
|
|
"default",
|
|
|
|
"jest-junit"
|
|
|
|
],
|
2018-05-11 21:59:42 -04:00
|
|
|
"coverageThreshold": {
|
|
|
|
"global": {
|
|
|
|
"branches": 100,
|
|
|
|
"functions": 100,
|
|
|
|
"lines": 100,
|
|
|
|
"statements": 100
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"jest-junit": {
|
|
|
|
"output": "./jest/summary-jest-junit.xml"
|
|
|
|
}
|
|
|
|
}
|