123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144 |
- {
- "name": "react-native-navigation",
- "version": "2.0.0",
- "description": "React Native Navigation - truly native navigation for iOS and Android",
- "license": "MIT",
- "nativePackage": true,
- "author": "Daniel Zlotin <zlotindaniel@gmail.com>",
- "contributors": [
- "Tal Kol <talkol@gmail.com>",
- "Guy Carmeli <guyc@wix.com>",
- "Ran Greenberg <rang@wix.com>",
- "Artal Druk <artald@wix.com>"
- ],
- "publishConfig": {
- "registry": "https://registry.npmjs.org/"
- },
- "bugs": {
- "url": "https://github.com/wix/react-native-navigation/issues"
- },
- "homepage": "https://github.com/wix/react-native-navigation",
- "readme": "https://github.com/wix/react-native-navigation#readme",
- "repository": {
- "type": "git",
- "url": "https://github.com/wix/react-native-navigation.git"
- },
- "main": "lib/dist/index.js",
- "scripts": {
- "build": "rm -rf ./lib/dist && tsc",
- "xcode": "open playground/ios/playground.xcodeproj",
- "install-android": "node ./scripts/install-android.js",
- "uninstall-android": "cd playground/android && ./gradlew uninstallAll",
- "clean": "node ./scripts/clean.js",
- "prestart": "npm run build",
- "start": "node ./scripts/start.js",
- "pretest-js": "npm run build",
- "test-js": "node ./scripts/test-js.js",
- "test-unit-android": "node ./scripts/test.unit.android.js",
- "test-unit-ios": "node ./scripts/test.unit.ios.js",
- "pretest-e2e-android": "npm run build",
- "test-e2e-android": "node ./scripts/test.e2e.android.js",
- "test-e2e-android-detox": "node ./scripts/test.e2e.android.detox.js",
- "pretest-e2e-ios": "npm run build",
- "test-e2e-ios": "node ./scripts/test.e2e.ios.js",
- "test-all": "node ./scripts/test.all.js",
- "prerelease": "npm run build",
- "release": "node ./scripts/release.js"
- },
- "peerDependencies": {
- "react": "*",
- "react-native": "*"
- },
- "dependencies": {
- "lodash": "4.x.x",
- "prop-types": "15.x.x",
- "tslib": "1.x.x",
- "@types/react": "16.x.x",
- "@types/react-native": "0.49.x",
- "@types/lodash": "4.x.x",
- "@types/prop-types": "15.x.x",
- "@types/react-test-renderer": "16.x.x",
- "@types/jest": "22.x.x"
- },
- "devDependencies": {
- "detox": "7.x.x",
- "jest": "22.x.x",
- "mocha": "4.x.x",
- "react": "16.2.0",
- "react-native": "0.51.x",
- "react-redux": "5.x.x",
- "react-test-renderer": "16.0.0-alpha.12",
- "redux": "3.x.x",
- "remx": "2.x.x",
- "semver": "5.x.x",
- "shell-utils": "1.x.x",
- "tslint": "5.x.x",
- "typescript": "2.x.x"
- },
- "babel": {
- "env": {
- "test": {
- "presets": [
- "react-native"
- ]
- }
- }
- },
- "jest": {
- "preset": "react-native",
- "roots": [
- "<rootDir>/node_modules/",
- "<rootDir>/lib/dist/",
- "<rootDir>/integration/"
- ],
- "collectCoverageFrom": [
- "lib/dist/**/*.js",
- "integration/**/*.js",
- "!lib/dist/index.js",
- "!lib/dist/Navigation.js",
- "!lib/dist/adapters/**/*"
- ],
- "resetMocks": true,
- "resetModules": true,
- "coverageThreshold": {
- "global": {
- "branches": 100,
- "functions": 100,
- "lines": 100,
- "statements": 100
- }
- }
- },
- "detox": {
- "test-runner": "mocha",
- "specs": "e2e",
- "runner-config": "e2e/mocha.opts",
- "configurations": {
- "ios.sim.debug": {
- "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Debug-iphonesimulator/playground.app",
- "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme playground -project playground/ios/playground.xcodeproj -sdk iphonesimulator -configuration Debug -derivedDataPath playground/ios/DerivedData/playground ONLY_ACTIVE_ARCH=YES -quiet",
- "type": "ios.simulator",
- "name": "iPhone X"
- },
- "ios.sim.release": {
- "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Release-iphonesimulator/playground.app",
- "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme playground_release -project playground/ios/playground.xcodeproj -sdk iphonesimulator -configuration Release -derivedDataPath playground/ios/DerivedData/playground ONLY_ACTIVE_ARCH=YES -quiet",
- "type": "ios.simulator",
- "name": "iPhone X"
- },
- "android.emu.debug": {
- "binaryPath": "playground/android/app/build/outputs/apk/debug/app-debug.apk",
- "build": "cd playground/android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd ../..",
- "type": "android.emulator",
- "name": "Nexus_5X_API_26"
- },
- "android.emu.release": {
- "binaryPath": "playground/android/app/build/outputs/apk/release/app-release.apk",
- "build": "cd playground/android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd ../..",
- "type": "android.emulator",
- "name": "Nexus_5X_API_26"
- }
- }
- }
- }
|