mirror of
https://github.com/zhigang1992/react-content-loader.git
synced 2026-04-24 04:15:55 +08:00
re #148, re #137, re #106, re #89, re #16, re #6 * build(rollup): native bundle * feat(native): stylized components * build(typescript): react native check * feat(typing): improves * build(tsconfig): by environment * test(web native): setup * test(native): support * docs(readme): native documentation
18 lines
418 B
JavaScript
18 lines
418 B
JavaScript
module.exports = {
|
|
verbose: true,
|
|
collectCoverage: true,
|
|
coverageDirectory: './coverage/',
|
|
transform: {
|
|
'^.+\\.(t|j)sx?$': 'ts-jest',
|
|
},
|
|
testRegex: '/src/__tests__/.*(\\.|/)(test|spec)\\.[jt]sx?$',
|
|
roots: ['<rootDir>/src'],
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
|
globals: {
|
|
'ts-jest': {
|
|
babelConfig: false,
|
|
tsConfig: 'tsconfig.test.json',
|
|
},
|
|
},
|
|
}
|