Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/package.json
Show All 40 Lines | "dependencies": { | ||||
"fbt": "^0.16.1", | "fbt": "^0.16.1", | ||||
"file-loader": "^6.2.0", | "file-loader": "^6.2.0", | ||||
"fs-extra": "^7.0.1", | "fs-extra": "^7.0.1", | ||||
"gh-pages": "^2.1.1", | "gh-pages": "^2.1.1", | ||||
"html-webpack-plugin": "4.0.0-beta.5", | "html-webpack-plugin": "4.0.0-beta.5", | ||||
"identity-obj-proxy": "3.0.0", | "identity-obj-proxy": "3.0.0", | ||||
"is-wsl": "^1.1.0", | "is-wsl": "^1.1.0", | ||||
"jdenticon": "^2.2.0", | "jdenticon": "^2.2.0", | ||||
"jest": "^24.9.0", | "jest": "^26.6.3", | ||||
"jest-environment-jsdom-fourteen": "0.1.0", | "jest-environment-jsdom-fifteen": "1.0.2", | ||||
"jest-resolve": "24.9.0", | "jest-resolve": "26.6.2", | ||||
"jest-watch-typeahead": "0.4.0", | "jest-watch-typeahead": "0.6.1", | ||||
"lint-staged": "^9.4.2", | "lint-staged": "^9.4.2", | ||||
"localforage": "^1.9.0", | "localforage": "^1.9.0", | ||||
"lodash": "^4.17.20", | "lodash": "^4.17.20", | ||||
"mini-css-extract-plugin": "^1.3.3", | "mini-css-extract-plugin": "^1.3.3", | ||||
"optimize-css-assets-webpack-plugin": "5.0.3", | "optimize-css-assets-webpack-plugin": "5.0.3", | ||||
"pnp-webpack-plugin": "1.5.0", | "pnp-webpack-plugin": "1.5.0", | ||||
"postcss-flexbugs-fixes": "4.1.0", | "postcss-flexbugs-fixes": "4.1.0", | ||||
"postcss-loader": "3.0.0", | "postcss-loader": "3.0.0", | ||||
▲ Show 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | "browserslist": { | ||||
] | ] | ||||
}, | }, | ||||
"jest": { | "jest": { | ||||
"roots": [ | "roots": [ | ||||
"<rootDir>/src" | "<rootDir>/src" | ||||
], | ], | ||||
"collectCoverage": true, | "collectCoverage": true, | ||||
"collectCoverageFrom": [ | "collectCoverageFrom": [ | ||||
"src/**/*.{js,jsx,ts,tsx}", | "src/**/*.{js,jsx,ts,tsx}" | ||||
"!src/**/*.d.ts" | |||||
], | ], | ||||
"coverageDirectory": "<rootDir>/coverage", | "coverageDirectory": "<rootDir>/coverage", | ||||
"coverageThreshold": { | "coverageThreshold": { | ||||
"global": { | "global": { | ||||
"branches": 15, | "branches": 15, | ||||
"functions": 15, | "functions": 15, | ||||
"lines": 15, | "lines": 15, | ||||
"statements": 15 | "statements": 15 | ||||
} | } | ||||
}, | }, | ||||
"setupFiles": [ | "setupFiles": [ | ||||
"react-app-polyfill/jsdom" | "react-app-polyfill/jsdom" | ||||
], | ], | ||||
"setupFilesAfterEnv": [ | "setupFilesAfterEnv": [ | ||||
"<rootDir>/scripts/testSetup.js" | "<rootDir>/scripts/testSetup.js" | ||||
], | ], | ||||
"testMatch": [ | "testMatch": [ | ||||
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}", | "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}", | ||||
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}" | "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}" | ||||
], | ], | ||||
"testEnvironment": "jest-environment-jsdom-fourteen", | "testEnvironment": "jest-environment-jsdom-fifteen", | ||||
"transform": { | "transform": { | ||||
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest", | "^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest", | ||||
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js", | "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js", | ||||
"^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js" | "^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js" | ||||
}, | }, | ||||
"transformIgnorePatterns": [ | "transformIgnorePatterns": [ | ||||
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$", | "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$", | ||||
"^.+\\.module\\.(css|sass|scss)$" | "^.+\\.module\\.(css|sass|scss)$" | ||||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |