- App.tsx: full navigation (Auth stack + Main tabs with 5 screens) - Auth: LoginScreen, RegisterScreen, ForgotPasswordScreen - HomeScreen: dashboard with IoT metrics, weather widget, alerts, quick actions, sensors - MapScreen: interactive map with layer toggles (6 layers) - MarketplaceScreen: categories (6), products (5), search - ChatScreen: AI chat with quick prompts (4), bot responses - ProfileScreen: user info, stats, menu (9 items), logout - AlertsScreen: alert list with severity, acknowledge - SensorsScreen: sensor list with type filters (6 types), search - ZonesScreen: zone cards with stats - SettingsScreen: language picker (FR/EN/ES/DE), privacy, about - Stores: iotStore (sensors, zones, alerts), notificationStore, uiStore + i18n - Hooks: useSensors, useAlerts, useNotifications, useLocation - Components: Card, Button, LoadingSpinner, ErrorBoundary, Header - Services: iotService, notificationService (with axios API client) - Utils: formatters (temp, AQI, noise, dates), validators (email, password, IBAN) - Theme: colors.ts with full design system (Blue Ocean palette) - Ditto: fixed MongoDB connection, new JWT secrets, official gateway image
158 lines
4.9 KiB
JSON
158 lines
4.9 KiB
JSON
{
|
|
"name": "react-native-gesture-handler",
|
|
"version": "2.16.2",
|
|
"description": "Experimental implementation of a new declarative API for gesture handling in react-native",
|
|
"scripts": {
|
|
"prepare": "bob build && husky install",
|
|
"test": "jest",
|
|
"build": "yarn tsc -p tsconfig.build.json",
|
|
"precommit": "lint-staged",
|
|
"release": "npm login && release-it",
|
|
"ts-check": "yarn tsc --noEmit",
|
|
"format:js": "prettier --write --list-different './{src,example,FabricExample,MacOSExample}/**/*.{js,jsx,ts,tsx}'",
|
|
"format:android": "node ./scripts/format-android.js",
|
|
"format:ios": "find apple/ -iname *.h -o -iname *.m -o -iname *.cpp -o -iname *.mm | xargs clang-format -i",
|
|
"lint:js": "eslint --ext '.js,.ts,.tsx' src/ example/src FabricExample/src MacOSExample/src && yarn prettier --check './{src,example,FabricExample,MacOSExample}/**/*.{js,jsx,ts,tsx}'",
|
|
"lint:js-root": "eslint --ext '.js,.ts,.tsx' src/ && yarn prettier --check './src/**/*.{js,jsx,ts,tsx}'",
|
|
"lint:android": "./android/gradlew -p android spotlessCheck -q"
|
|
},
|
|
"react-native": "src/index.ts",
|
|
"main": "lib/commonjs/index.js",
|
|
"module": "lib/module/index.js",
|
|
"types": "lib/typescript/index.d.ts",
|
|
"files": [
|
|
"src",
|
|
"lib",
|
|
"!**/__tests__",
|
|
"!**/__fixtures__",
|
|
"!**/__mocks__",
|
|
"android/build.gradle",
|
|
"android/gradle.properties",
|
|
"android/src/main/AndroidManifest.xml",
|
|
"android/src/main/java/",
|
|
"android/src/main/jni/",
|
|
"android/fabric/src/main/java",
|
|
"android/paper/src/main/java",
|
|
"android/common/src/main/java/",
|
|
"android/reanimated/src/main/java/",
|
|
"android/noreanimated/src/main/java/",
|
|
"apple/",
|
|
"Swipeable/",
|
|
"jest-utils/",
|
|
"DrawerLayout/",
|
|
"README.md",
|
|
"jestSetup.js",
|
|
"RNGestureHandler.podspec"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/software-mansion/react-native-gesture-handler.git"
|
|
},
|
|
"author": {
|
|
"email": "krzys.magiera@gmail.com",
|
|
"name": "Krzysztof Magiera"
|
|
},
|
|
"license": "MIT",
|
|
"readmeFilename": "README.md",
|
|
"bugs": {
|
|
"url": "https://github.com/software-mansion/react-native-gesture-handler/issues"
|
|
},
|
|
"homepage": "https://github.com/software-mansion/react-native-gesture-handler#readme",
|
|
"dependencies": {
|
|
"@egjs/hammerjs": "^2.0.17",
|
|
"hoist-non-react-statics": "^3.3.0",
|
|
"invariant": "^2.2.4",
|
|
"lodash": "^4.17.21",
|
|
"prop-types": "^15.7.2"
|
|
},
|
|
"jest": {
|
|
"preset": "react-native",
|
|
"modulePathIgnorePatterns": [
|
|
"<rootDir>/lib/"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.12.9",
|
|
"@babel/plugin-proposal-class-properties": "^7.12.1",
|
|
"@babel/preset-env": "^7.12.11",
|
|
"@babel/preset-typescript": "^7.12.7",
|
|
"@babel/runtime": "^7.12.5",
|
|
"@react-native/babel-preset": "^0.73.19",
|
|
"@testing-library/jest-native": "^4.0.4",
|
|
"@testing-library/react-native": "^9.0.0",
|
|
"@types/hammerjs": "^2.0.38",
|
|
"@types/hoist-non-react-statics": "^3.3.1",
|
|
"@types/jest": "^27.0.3",
|
|
"@types/react": "^18.2.6",
|
|
"@types/react-test-renderer": "^17.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
"@typescript-eslint/parser": "^4.33.0",
|
|
"babel-jest": "^26.6.3",
|
|
"clang-format": "^1.8.0",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-satya164": "^3.1.8",
|
|
"eslint-import-resolver-babel-module": "^5.2.0",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-jest": "^26.0.0",
|
|
"expo": "^35.0.1",
|
|
"husky": "^8.0.1",
|
|
"jest": "^26.6.3",
|
|
"lint-staged": "^12.3.2",
|
|
"madge": "^6.1.0",
|
|
"prettier": "^2.7.1",
|
|
"react": "18.2.0",
|
|
"react-dom": "^16.12.0",
|
|
"react-native": "0.73.2",
|
|
"react-native-builder-bob": "^0.17.1",
|
|
"react-native-reanimated": "^2.3.1",
|
|
"react-native-web": "^0.11.7",
|
|
"react-test-renderer": "17.0.2",
|
|
"release-it": "^13.6.5",
|
|
"typescript": "5.0.4"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "*",
|
|
"react-native": "*"
|
|
},
|
|
"lint-staged": {
|
|
"./{src,example,FabricExample,MacOSExample}/**/*.{ts,tsx}": "yarn format:js",
|
|
"android/**/*.kt": "yarn format:android",
|
|
"apple/**/*.{h,m,mm,cpp}": "yarn format:ios"
|
|
},
|
|
"release-it": {
|
|
"hooks": {
|
|
"before:git:bump": [
|
|
"# check if version corresponds to changes in native files \n if git diff --name-only ${latestVersion} HEAD | egrep \"(android/.*)|(ios/.*)\" -q; then egrep '\\.0$' -q <<< ${version}; else test $? -eq 1; fi"
|
|
]
|
|
}
|
|
},
|
|
"react-native-builder-bob": {
|
|
"source": "src",
|
|
"output": "lib",
|
|
"targets": [
|
|
"commonjs",
|
|
"module",
|
|
[
|
|
"typescript",
|
|
{
|
|
"project": "tsconfig.build.json"
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"eslintIgnore": [
|
|
"node_modules/",
|
|
"lib/",
|
|
"src/specs/*NativeComponent.js"
|
|
],
|
|
"codegenConfig": {
|
|
"name": "rngesturehandler_codegen",
|
|
"type": "all",
|
|
"jsSrcsDir": "./src/specs",
|
|
"android": {
|
|
"javaPackageName": "com.swmansion.gesturehandler"
|
|
}
|
|
},
|
|
"packageManager": "yarn@1.22.22"
|
|
}
|