139 рядки
4,2 КіБ
JSON
139 рядки
4,2 КіБ
JSON
{
|
|
"name": "campus",
|
|
"version": "5.0.0-0",
|
|
"private": true,
|
|
"scripts": {
|
|
"android": "react-native run-android",
|
|
"android-release": "react-native run-android --variant=release",
|
|
"ios": "react-native run-ios",
|
|
"start": "react-native start",
|
|
"start-no-cache": "react-native start --reset-cache",
|
|
"test": "jest",
|
|
"typescript": "tsc --noEmit",
|
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
|
"lint-fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
|
|
"full-check": "npm run typescript && npm run lint && npm run test",
|
|
"pod": "cd ios && pod install && cd ..",
|
|
"bundle": "npm run full-check && cd android && ./gradlew bundleRelease",
|
|
"clean": "react-native-clean-project",
|
|
"postversion": "react-native-version"
|
|
},
|
|
"dependencies": {
|
|
"@nartc/react-native-barcode-mask": "1.2.0",
|
|
"@react-native-async-storage/async-storage": "^1.15.4",
|
|
"@react-native-community/masked-view": "0.1.11",
|
|
"@react-native-community/push-notification-ios": "1.8.0",
|
|
"@react-native-community/slider": "3.0.3",
|
|
"@react-navigation/bottom-tabs": "5.11.10",
|
|
"@react-navigation/native": "5.9.4",
|
|
"@react-navigation/stack": "5.14.4",
|
|
"i18n-js": "3.8.0",
|
|
"moment": "^2.29.1",
|
|
"react": "17.0.1",
|
|
"react-native": "0.64.1",
|
|
"react-native-animatable": "1.3.3",
|
|
"react-native-app-intro-slider": "4.0.4",
|
|
"react-native-appearance": "0.3.4",
|
|
"react-native-autolink": "4.0.0",
|
|
"react-native-calendars": "1.1260.0",
|
|
"react-native-camera": "3.43.6",
|
|
"react-native-collapsible": "1.6.0",
|
|
"react-native-gesture-handler": "1.10.3",
|
|
"react-native-image-zoom-viewer": "3.0.1",
|
|
"react-native-keychain": "4.0.5",
|
|
"react-native-linear-gradient": "2.5.6",
|
|
"react-native-localize": "2.0.3",
|
|
"react-native-modalize": "2.0.8",
|
|
"react-native-paper": "4.8.1",
|
|
"react-native-permissions": "3.0.3",
|
|
"react-native-push-notification": "7.3.0",
|
|
"react-native-reanimated": "1.13.2",
|
|
"react-native-render-html": "5.1.0",
|
|
"react-native-safe-area-context": "3.2.0",
|
|
"react-native-screens": "3.1.1",
|
|
"react-native-splash-screen": "3.2.0",
|
|
"react-native-timeago": "^0.5.0",
|
|
"react-native-vector-icons": "8.1.0",
|
|
"react-native-webview": "11.4.3",
|
|
"react-navigation-collapsible": "5.9.1",
|
|
"react-navigation-header-buttons": "7.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.12.9",
|
|
"@babel/runtime": "7.12.5",
|
|
"@react-native-community/eslint-config": "2.0.0",
|
|
"@types/i18n-js": "3.8.0",
|
|
"@types/jest": "26.0.23",
|
|
"@types/react": "17.0.3",
|
|
"@types/react-native": "0.64.4",
|
|
"@types/react-native-calendars": "1.20.10",
|
|
"@types/react-native-push-notification": "^7.2.0",
|
|
"@types/react-native-vector-icons": "6.4.6",
|
|
"@types/react-test-renderer": "17.0.1",
|
|
"@typescript-eslint/eslint-plugin": "4.22.1",
|
|
"@typescript-eslint/parser": "4.22.1",
|
|
"babel-jest": "26.6.3",
|
|
"eslint": "7.25.0",
|
|
"jest": "26.6.3",
|
|
"jest-extended": "0.11.5",
|
|
"jest-fetch-mock": "3.0.3",
|
|
"metro-react-native-babel-preset": "0.64.0",
|
|
"prettier": "2.2.1",
|
|
"react-native-clean-project": "^3.6.3",
|
|
"react-native-version": "4.0.0",
|
|
"react-test-renderer": "17.0.1",
|
|
"typescript": "4.2.4"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"extends": [
|
|
"@react-native-community",
|
|
"prettier"
|
|
],
|
|
"rules": {
|
|
"no-undef": 0,
|
|
"no-shadow": "off",
|
|
"@typescript-eslint/no-shadow": [
|
|
"error"
|
|
],
|
|
"prettier/prettier": [
|
|
"error",
|
|
{
|
|
"quoteProps": "consistent",
|
|
"singleQuote": true,
|
|
"tabWidth": 2,
|
|
"trailingComma": "es5",
|
|
"useTabs": false
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"eslintIgnore": [
|
|
"node_modules/"
|
|
],
|
|
"prettier": {
|
|
"quoteProps": "consistent",
|
|
"singleQuote": true,
|
|
"tabWidth": 2,
|
|
"trailingComma": "es5",
|
|
"useTabs": false
|
|
},
|
|
"jest": {
|
|
"preset": "react-native",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"jsx",
|
|
"json",
|
|
"node"
|
|
],
|
|
"setupFilesAfterEnv": [
|
|
"jest-extended"
|
|
]
|
|
}
|
|
}
|