UNPKG

@splitsoftware/splitio-react-native

Version:
168 lines (167 loc) 4.06 kB
{ "name": "@splitsoftware/splitio-react-native", "version": "1.1.0", "description": "Split SDK for React Native", "main": "lib/commonjs/index.js", "module": "lib/module/index.js", "types": "types/index.d.ts", "react-native": "lib/module/index.js", "source": "src", "files": [ "README.md", "CONTRIBUTORS-GUIDE.md", "LICENSE", "CHANGES.txt", "src", "lib", "types", "android", "ios", "RNSplit.podspec", "full", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!ios/build", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "check": "npm run check:lint && npm run check:types && npm run check:version", "check:lint": "eslint \"**/*.{js,ts,tsx}\"", "check:types": "tsc --noEmit", "check:version": "./scripts/check_version.sh", "build": "bob build && ./scripts/build_replace_imports.sh", "test": "jest", "test-ts-decls": "tsc --build ts-tests", "all": "npm run check && npm run build && npm run test-ts-decls && npm run test", "publish:rc": "npm run check && npm run build && npm publish --tag rc", "publish:stable": "npm run check && npm run build && npm publish" }, "keywords": [ "splitio", "sdk", "javascript", "react-native", "ios", "android" ], "repository": { "type": "git", "url": "git+https://github.com/splitio/react-native-client.git" }, "author": "Emiliano Sanchez <emiliano.sanchez@split.io> (https://github.com/EmilianoSanchez)", "license": "Apache-2.0", "bugs": { "url": "https://github.com/splitio/react-native-client/issues" }, "homepage": "https://github.com/splitio/react-native-client#readme", "dependencies": { "@splitsoftware/splitio-commons": "2.1.0" }, "devDependencies": { "@react-native-community/eslint-config": "^3.2.0", "@types/jest": "^28.1.3", "@types/react": "^18.2.0", "eslint": "^8.48.0", "eslint-config-prettier": "^7.0.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-prettier": "^3.1.3", "husky": "^4.2.5", "jest": "^28.1.3", "prettier": "^2.0.5", "react": "18.2.0", "react-native": "0.72.15", "react-native-builder-bob": "^0.18.1", "replace": "^1.2.1", "typescript": "4.4.4" }, "peerDependencies": { "react": "*", "react-native": "*" }, "jest": { "preset": "react-native", "testMatch": [ "<rootDir>/src/**/__tests__/**/?(*.)+(spec|test).[jt]s" ], "modulePathIgnorePatterns": [ "<rootDir>/lib/" ], "transformIgnorePatterns": [ "<rootDir>/node_modules/(?!@splitsoftware)/" ] }, "husky": { "hooks": { "pre-commit": "npm run check" } }, "eslintConfig": { "root": true, "extends": [ "@react-native-community", "prettier" ], "plugins": [ "import" ], "rules": { "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "printWidth": 150, "tabWidth": 2, "trailingComma": "es5", "useTabs": false } ] }, "overrides": [ { "files": [ "src/**/*.ts" ], "excludedFiles": [ "src/**/__tests__/**" ], "rules": { "no-restricted-syntax": [ "error", "ForOfStatement", "ForInStatement" ], "no-throw-literal": "error", "import/no-default-export": "error", "import/no-self-import": "error" } } ] }, "eslintIgnore": [ "node_modules/", "lib/", "example/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module" ] } }