1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00

Chore: Clean up react-native-saf-x

This commit is contained in:
Laurent Cozic 2022-07-11 17:41:44 +01:00
parent 58045f87d8
commit 0b3c4edb92
4 changed files with 1 additions and 22 deletions

View File

@ -1,11 +0,0 @@
// Sync object
/** @type {import('@jest/types').Config.InitialOptions} */
const config = {
preset: 'react-native',
modulePathIgnorePatterns: [
'<rootDir>/example/node_modules',
'<rootDir>/lib/',
],
};
module.exports = config;

View File

@ -15,13 +15,9 @@
"react-native-saf-x.podspec", "react-native-saf-x.podspec",
"!lib/typescript/example", "!lib/typescript/example",
"!android/build", "!android/build",
"!ios/build", "!ios/build"
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
], ],
"scripts": { "scripts": {
"test": "jest",
"linter-precommit": "yarn --cwd ../../ eslint --resolve-plugins-relative-to . --fix packages/react-native-saf-x/**/*.{js,ts,tsx}", "linter-precommit": "yarn --cwd ../../ eslint --resolve-plugins-relative-to . --fix packages/react-native-saf-x/**/*.{js,ts,tsx}",
"tsc": "tsc --project tsconfig.json" "tsc": "tsc --project tsconfig.json"
}, },
@ -42,10 +38,8 @@
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.12.9", "@babel/core": "^7.12.9",
"@types/jest": "^26.0.15",
"@types/react": "^16.9.55", "@types/react": "^16.9.55",
"@types/react-native": "^0.64.4", "@types/react-native": "^0.64.4",
"jest": "^26.6.3",
"react": "17.0.2", "react": "17.0.2",
"react-native": "0.66.1", "react-native": "0.66.1",
"typescript": "^4.0.5" "typescript": "^4.0.5"

View File

@ -6,8 +6,6 @@
], ],
"exclude": [ "exclude": [
"**/node_modules", "**/node_modules",
"tests/support/**/*",
"tests-build/**/*",
"build/**/*", "build/**/*",
], ],
} }

View File

@ -3517,10 +3517,8 @@ __metadata:
resolution: "@joplin/react-native-saf-x@workspace:packages/react-native-saf-x" resolution: "@joplin/react-native-saf-x@workspace:packages/react-native-saf-x"
dependencies: dependencies:
"@babel/core": ^7.12.9 "@babel/core": ^7.12.9
"@types/jest": ^26.0.15
"@types/react": ^16.9.55 "@types/react": ^16.9.55
"@types/react-native": ^0.64.4 "@types/react-native": ^0.64.4
jest: ^26.6.3
react: 17.0.2 react: 17.0.2
react-native: 0.66.1 react-native: 0.66.1
typescript: ^4.0.5 typescript: ^4.0.5