appcenter-sampleapp-react-n.../package.json

80 строки
2.6 KiB
JSON

{
"name": "appcenter-sampleapp-react-native",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "react-native start",
"android": "react-native run-android",
"ios": "react-native run-ios",
"build": "npm install && cd ./android && ./gradlew build && cd ../ios && pod install --repo-update && cd ..",
"clean": "rm -rf ./node_modules **/{.project,*.iml,build} ./ios/{Pods,*.xcworkspace} ./android/{.gradle,.idea}",
"test": "jest",
"lint": "eslint .",
"format": "prettier --write \"**/*.+(js|ts|tsx)\""
},
"dependencies": {
"@react-navigation/bottom-tabs": "^6.3.1",
"@react-navigation/material-top-tabs": "^6.2.1",
"@react-navigation/native": "^6.0.10",
"@react-navigation/stack": "^6.2.1",
"appcenter": "file:appcenter-sdk-packages/appcenter-4.4.4-fix-rn-69.tgz",
"appcenter-analytics": "file:appcenter-sdk-packages/appcenter-analytics-4.4.4-fix-rn-69.tgz",
"appcenter-crashes": "file:appcenter-sdk-packages/appcenter-crashes-4.4.4-fix-rn-69.tgz",
"react": "^17.0.2",
"react-native": "^0.68.5",
"react-native-code-push": "^8.1.0",
"react-native-gesture-handler": "^1.8.0",
"react-native-iphone-x-helper": "^1.3.0",
"react-native-pager-view": "^5.4.24",
"react-native-safe-area-context": "^4.3.1",
"react-native-screens": "^3.14.0",
"react-native-tab-view": "^3.1.1"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/runtime": "^7.12.1",
"@react-native-community/eslint-config": "^2.0.0",
"@types/jest": "^26.0.15",
"@types/react-test-renderer": "^16.9.3",
"@types/react-native": "^0.63.27",
"@types/react": "^18.0.14",
"babel-jest": "^26.6.0",
"eslint": "^7.11.0",
"jest": "^28.1.1",
"metro-react-native-babel-preset": "^0.66.2",
"react-native-typescript-transformer": "^1.2.13",
"react-test-renderer": "^17.0.2",
"ts-jest": "^25.5.1",
"typescript": "^3.9.7"
},
"jest": {
"preset": "react-native",
"transform": {
"^.+\\.jsx?$": "<rootDir>/node_modules/babel-jest",
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"transformIgnorePatterns": [
"node_modules/(?!(react-[a-z|-]*)/)"
],
"globals": {
"ts-jest": {
"useBabelrc": true
}
},
"setupFiles": [
"./node_modules/appcenter/test/AppCenterMock.js",
"./node_modules/appcenter-analytics/test/AppCenterAnalyticsMock.js",
"./node_modules/appcenter-crashes/test/AppCenterCrashesMock.js"
]
}
}