UNPKG

@osobh/reactar

Version:

AR Library for React Native and Expo

92 lines (91 loc) 2.32 kB
{ "name": "@osobh/reactar", "version": "0.0.3", "description": "AR Library for React Native and Expo", "main": "lib/index.js", "directories": { "test": "tests" }, "scripts": { "build": "tsc", "test": "jest", "lint": "eslint ." }, "repository": { "type": "git", "url": "git+https://github.com/osobh/reactAR.git" }, "keywords": [ "AR", "Augmented", "Reality", "React", "Native" ], "author": "Omar Sobh", "license": "MIT", "bugs": { "url": "https://github.com/osobh/reactAR/issues" }, "homepage": "https://github.com/osobh/reactAR#readme", "dependencies": { "events": "^3.3.0", "expo-av": "~13.10.6", "expo-camera": "~14.1.3", "expo-gl": "^15.0.4", "expo-permissions": "^14.4.0", "react-native-gesture-handler": "~2.14.0", "react-native-view-shot": "3.8.0" }, "peerDependencies": { "react": "^18.2.0", "react-native": ">=0.70.0 <0.78.0" }, "devDependencies": { "@testing-library/jest-native": "^5.0.0", "@testing-library/react-native": "^11.5.0", "@types/jest": "^29.5.14", "@types/react": "^18.0.0", "@types/react-native": "^0.70.0", "@types/three": "^0.174.0", "ammojs3": "^0.0.11", "babel-jest": "^29.5.0", "expo-module-scripts": "^4.0.4", "expo-sensors": "^14.0.2", "expo-three": "^8.0.0", "jest": "^29.5.0", "metro-react-native-babel-preset": "^0.76.7", "react-test-renderer": "18.2.0", "ts-jest": "^29.0.5", "typescript": "^5.0.4" }, "jest": { "preset": "react-native", "transform": { "^.+\\.(js|jsx|ts|tsx)$": "babel-jest" }, "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ], "transformIgnorePatterns": [ "node_modules/(?!(react-native|@react-native|@react-native/js-polyfills|expo-gl|expo-three|expo-modules-core)/)" ], "testMatch": [ "**/tests/**/*.[jt]s?(x)", "**/?(*.)+(spec|test).[tj]s?(x)" ], "setupFilesAfterEnv": [ "@testing-library/jest-native/extend-expect" ], "moduleNameMapper": { "^expo-camera$": "<rootDir>/mocks/expo-camera.js", "^expo-modules-core$": "<rootDir>/mocks/expo-modules-core.js", "^expo-sensors$": "<rootDir>/mocks/expo-sensors.js" } } }