mirror of
https://github.com/streamich/react-use.git
synced 2025-12-08 18:02:14 +00:00
chore: move all the tests to the separate directory outside of sources; chore: remove jest.config.js (config moved to the package.json); test: unused import in test; test: 💍 fix tests add back x and y to useMeasure chore: 🤖 add linter to /tests folder ci: 🎡 limit Jest worker count for CircleCI
32 lines
656 B
JSON
32 lines
656 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es5",
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"jsx": "react",
|
|
"declaration": true,
|
|
"pretty": true,
|
|
"rootDir": "src",
|
|
"sourceMap": false,
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noImplicitAny": false,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"outDir": "lib",
|
|
"lib": ["es2018", "dom"],
|
|
"importHelpers": true
|
|
},
|
|
"exclude": [
|
|
"node_modules",
|
|
"lib",
|
|
"tests",
|
|
"**/__tests__/**/*",
|
|
"**/__stories__/**/*",
|
|
"*.test.ts",
|
|
"*.test.tsx"
|
|
]
|
|
}
|