UNPKG

tapjoy-react-native-sdk

Version:

ReactNative Plugin for Tapjoy SDK

178 lines (177 loc) 4.76 kB
{ "name": "tapjoy-react-native-sdk", "version": "13.3.0", "description": "ReactNative Plugin for Tapjoy SDK", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/index.d.ts", "react-native": "src/index", "source": "src/index.ts", "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "!lib/typescript/example", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "example", "!example/yarn.lock", "!example/yarn-error.log", "!example/node_modules", "!example/ios/build", "!example/android/build", "!example/android/.gradle", "!example/android/.idea", "!example/android/app/build", "!example/ios/Pods", "!example/ios/Podfile.lock", "!example/ios/TapjoyReactNativeSdkExample.xcodeproj/project.xcworkspace/xcuserdata/*", "!example/ios/TapjoyReactNativeSdkExample.xcworkspace/xcuserdata/*", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*", "CODEOWNERS" ], "scripts": { "test": "jest", "typecheck": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "example": "yarn --cwd example", "bootstrap": "yarn example && yarn install && yarn example pods", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build temp package", "prepare-repo": "rm -rf temp package && mkdir temp && cd temp && git clone git@github.com:Tapjoy/react-native-sdk . && rm -rf *", "copy-pack": "bob build && npm pack && tar xvzf tapjoy-react-native*.tgz && cp -af ./package/* ./temp && rm tapjoy-react-native*.tgz", "push": "cd temp && git add . && export VERSION=`node -p \"require('./package.json').version\"` && git commit -m \"Release $VERSION\" && git push", "publish-npm": "yarn prepare-repo && yarn copy-pack && yarn push && cd temp && npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN && release-it --no-increment --ci" }, "keywords": [ "react-native", "ios", "android", "tapjoy", "offerwall" ], "repository": "https://github.com/Tapjoy/react-native-sdk", "author": "Tapjoy <grow_tapjoy_sdk@unity3d.com> (https://dev.tapjoy.com)", "license": "SEE LICENSE IN <LICENSE>", "bugs": { "url": "grow_tapjoy_integrations@unity3d.com" }, "homepage": "https://dev.tapjoy.com", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@react-native-community/eslint-config": "^3.0.2", "@react-native/metro-config": "^0.72.11", "@release-it/conventional-changelog": "^5.0.0", "@types/jest": "^28.1.2", "@types/react": "~17.0.21", "@types/react-native": "0.70.0", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "eslint": "^8.4.1", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", "jest": "^28.1.1", "pod-install": "^0.1.0", "prettier": "^2.0.5", "react": "18.2.0", "react-native": "0.72.5", "react-native-builder-bob": "^0.20.0", "release-it": "^15.0.0", "typescript": "^4.5.2" }, "resolutions": { "@types/react": "17.0.21" }, "peerDependencies": { "react": "*", "react-native": "*" }, "engines": { "node": ">= 16.0.0" }, "packageManager": "^yarn@1.22.15", "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "npm": { "publish": true }, "github": { "release": false }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } }, "eslintConfig": { "root": true, "extends": [ "@react-native-community", "prettier" ], "rules": { "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false } ] } }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "dependencies": { "eventemitter3": "^5.0.0" } }