2019-04-08 05:34:40 -04:00
|
|
|
{
|
|
|
|
"name": "ioc-tests",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"private": true,
|
|
|
|
"engines": {
|
|
|
|
"node": ">=0.10.0"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"build": "gulp bundle",
|
|
|
|
"clean": "gulp clean",
|
2020-03-09 13:58:27 -04:00
|
|
|
"test": "jest --maxWorkers=2"
|
2019-04-08 05:34:40 -04:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-03-09 13:58:27 -04:00
|
|
|
"@microsoft/sp-core-library": "1.10.0",
|
|
|
|
"@microsoft/sp-lodash-subset": "1.10.0",
|
|
|
|
"@microsoft/sp-office-ui-fabric-core": "1.10.0",
|
|
|
|
"@microsoft/sp-webpart-base": "1.10.0",
|
|
|
|
"@pnp/polyfill-ie11": "2.0.1",
|
|
|
|
"@pnp/sp": "2.0.2",
|
|
|
|
"react": "16.8.5",
|
|
|
|
"react-dom": "16.8.5"
|
2019-04-08 05:34:40 -04:00
|
|
|
},
|
|
|
|
"resolutions": {
|
2020-03-09 13:58:27 -04:00
|
|
|
"@types/react": "16.8.8",
|
|
|
|
"micromatch": "^4.0.0"
|
2019-04-08 05:34:40 -04:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-03-09 13:58:27 -04:00
|
|
|
"@microsoft/rush-stack-compiler-3.7": "0.2.3",
|
|
|
|
"@microsoft/sp-build-web": "1.10.0",
|
|
|
|
"@microsoft/sp-module-interfaces": "1.10.0",
|
|
|
|
"@microsoft/sp-tslint-rules": "1.10.0",
|
|
|
|
"@microsoft/sp-webpart-workbench": "1.10.0",
|
2019-04-08 05:34:40 -04:00
|
|
|
"@types/enzyme": "^3.1.15",
|
2020-03-09 13:58:27 -04:00
|
|
|
"@types/enzyme-adapter-react-16": "1.0.5",
|
|
|
|
"@types/es6-promise": "0.0.33",
|
2019-04-08 05:34:40 -04:00
|
|
|
"@types/jest": "^22.2.3",
|
2020-03-09 13:58:27 -04:00
|
|
|
"@types/react": "16.8.8",
|
|
|
|
"@types/react-dom": "16.8.3",
|
|
|
|
"@types/webpack-env": "1.13.1",
|
2019-04-08 05:34:40 -04:00
|
|
|
"ajv": "~5.2.2",
|
2020-03-09 13:58:27 -04:00
|
|
|
"enzyme": "3.11.0",
|
|
|
|
"enzyme-adapter-react-16": "1.15.2",
|
2019-04-08 05:34:40 -04:00
|
|
|
"gulp": "~3.9.1",
|
2020-03-09 13:58:27 -04:00
|
|
|
"identity-obj-proxy": "3.0.0",
|
|
|
|
"jest": "25.1.0",
|
|
|
|
"jest-junit": "10.0.0",
|
|
|
|
"react-test-renderer": "16.12.0",
|
|
|
|
"ts-jest": "25.2.0",
|
|
|
|
"typescript": "3.7.5"
|
2019-04-08 05:34:40 -04:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"ts",
|
|
|
|
"tsx",
|
|
|
|
"js",
|
|
|
|
"json"
|
|
|
|
],
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.(ts|tsx)$": "ts-jest"
|
|
|
|
},
|
|
|
|
"transformIgnorePatterns": [
|
|
|
|
"node_modules/(?!(@microsoft/sp-core-library))"
|
|
|
|
],
|
2020-03-09 13:58:27 -04:00
|
|
|
"roots": [
|
|
|
|
"src/"
|
|
|
|
],
|
|
|
|
"errorOnDeprecated": true,
|
2019-04-08 05:34:40 -04:00
|
|
|
"testMatch": [
|
|
|
|
"**/src/**/*.test.+(ts|tsx|js)"
|
|
|
|
],
|
|
|
|
"collectCoverage": true,
|
|
|
|
"coverageReporters": [
|
|
|
|
"json",
|
|
|
|
"lcov",
|
|
|
|
"text",
|
|
|
|
"cobertura"
|
|
|
|
],
|
|
|
|
"coverageDirectory": "<rootDir>/jest",
|
|
|
|
"collectCoverageFrom": [
|
2020-03-09 13:58:27 -04:00
|
|
|
"src/**/*.{ts,tsx}",
|
|
|
|
"!src/common/providers/DependencyResolver/DependencyResolver.ts",
|
|
|
|
"!src/**/*WebPart.ts",
|
|
|
|
"!src/**/*ApplicationCustomizer.ts",
|
|
|
|
"!src/**/*Executor.ts",
|
|
|
|
"!src/**/Mock*.ts",
|
|
|
|
"!src/**/*.scss.ts",
|
2019-04-08 05:34:40 -04:00
|
|
|
"!**/loc/**"
|
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
2020-03-09 13:58:27 -04:00
|
|
|
"\\.(css|less|scss|sass)$": "identity-obj-proxy",
|
|
|
|
"office-ui-fabric-react/lib/(.*)$": "office-ui-fabric-react/lib-commonjs/$1"
|
2019-04-08 05:34:40 -04:00
|
|
|
},
|
|
|
|
"reporters": [
|
|
|
|
"default",
|
|
|
|
"jest-junit"
|
|
|
|
],
|
|
|
|
"moduleDirectories": [
|
|
|
|
"node_modules"
|
|
|
|
],
|
|
|
|
"coverageThreshold": {
|
|
|
|
"global": {
|
|
|
|
"branches": 100,
|
|
|
|
"functions": 100,
|
|
|
|
"lines": 100,
|
|
|
|
"statements": 100
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"jest-junit": {
|
2020-03-09 13:58:27 -04:00
|
|
|
"outputDirectory": "./jest",
|
|
|
|
"outputName": "summary-jest-junit.xml"
|
|
|
|
},
|
|
|
|
"main": "lib/index.js"
|
2019-04-08 05:34:40 -04:00
|
|
|
}
|