123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200 |
- {
- "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/src/index.js",
- "scripts": {
- "build": ":",
- "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",
- "start": "node ./scripts/start.js",
- "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",
- "test-e2e-android": "node ./scripts/test.e2e.android.js",
- "test-e2e-ios": "node ./scripts/test.e2e.ios.js",
- "test-all": "node ./scripts/test.all.js",
- "test-watch": "jest --coverage --watch",
- "release": "node ./scripts/release.js",
- "gen-doc": "node ./scripts/generate-js-doc.js"
- },
- "peerDependencies": {
- "react": "*",
- "react-native": "*"
- },
- "dependencies": {
- "lodash": "4.x.x",
- "prop-types": "15.x.x"
- },
- "devDependencies": {
- "detox": "6.x.x",
- "eslint-config-xo": "0.18.x",
- "eslint-config-xo-react": "0.13.x",
- "eslint-plugin-react": "7.x.x",
- "jest": "21.x.x",
- "jsdoc": "3.x.x",
- "jsdoc-to-markdown": "3.x.x",
- "mocha": "4.x.x",
- "react": "16.0.0-beta.5",
- "react-native": "0.49.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",
- "xo": "0.18.x"
- },
- "babel": {
- "env": {
- "test": {
- "presets": [
- "react-native"
- ]
- }
- }
- },
- "jest": {
- "preset": "react-native",
- "roots": [
- "<rootDir>/node_modules/",
- "<rootDir>/lib/src/",
- "<rootDir>/integration/"
- ],
- "collectCoverageFrom": [
- "lib/src/**/*.js",
- "integration/**/*.js",
- "!lib/src/index.js",
- "!lib/src/Navigation.js",
- "!lib/src/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 SE"
- },
- "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 SE"
- }
- }
- },
- "xo": {
- "extends": "xo-react",
- "space": true,
- "env": [
- "node",
- "jest",
- "es6"
- ],
- "globals": [
- "alert"
- ],
- "overrides": [
- {
- "files": "e2e/**/*",
- "env": [
- "mocha"
- ],
- "globals": [
- "before",
- "after",
- "beforeEach",
- "afterEach",
- "expect",
- "element",
- "by",
- "device"
- ]
- }
- ],
- "settings": {
- "import/core-modules": [
- "react-native-navigation"
- ]
- },
- "rules": {
- "unicorn/filename-case": 0,
- "unicorn/number-literal-case": 0,
- "import/order": 0,
- "import/named": 0,
- "import/no-unassigned-import": 0,
- "import/no-unresolved": [
- 2,
- {
- "ignore": [
- "react-native-navigation"
- ]
- }
- ],
- "react/jsx-tag-spacing": 0,
- "react/jsx-sort-props": 0,
- "react/jsx-boolean-value": 0,
- "react/prop-types": 0,
- "react/jsx-no-bind": 0,
- "react/jsx-handler-names": 0,
- "react/forbid-component-props": 0,
- "capitalized-comments": 0,
- "no-use-before-define": [
- 2,
- {
- "functions": false,
- "variables": false
- }
- ],
- "promise/param-names": 0,
- "no-return-assign": 0,
- "arrow-parens": [
- 2,
- "always"
- ],
- "object-curly-spacing": [
- 2,
- "always"
- ]
- }
- }
- }
|