fix files load

This commit is contained in:
killer 2023-06-23 10:55:07 +03:00
parent 51fdb05513
commit aa08ac2846
3 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View File

@ -6,6 +6,7 @@
# node.js
#
node_modules/
lib/
npm-debug.log
yarn-error.log

View File

@ -50,6 +50,7 @@
"@react-native-community/eslint-config": "^3.0.2",
"@release-it/conventional-changelog": "^5.0.0",
"@types/jest": "^28.1.2",
"@types/node": "^20.3.1",
"@types/react": "~17.0.21",
"@types/react-native": "0.70.0",
"del-cli": "^5.0.0",

View File

@ -4,13 +4,16 @@
"paths": {
"react-native-screenshot-prevent": ["./src/index"]
},
"ignoreDeprecations": "5.0",
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"allowJs": true,
"esModuleInterop": true,
"importsNotUsedAsValues": "error",
"forceConsistentCasingInFileNames": true,
"jsx": "react",
"lib": ["esnext"],
"lib": ["esnext","ES6","DOM"],
"types": ["react"],
"module": "esnext",
"moduleResolution": "node",
"noFallthroughCasesInSwitch": true,