UNPKG

tapjoy-react-native-sdk

Version:

ReactNative Plugin for Tapjoy SDK

153 lines (152 loc) 4.85 kB
{ "name": "tapjoy-react-native-sdk", "version": "14.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": { "generate-declarations": "rm -rf lib && npx tsc --outDir lib/commonjs --declarationDir lib/typescript", "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 *", "prepare-staging-repo": "rm -rf temp package && mkdir temp && cd temp && git clone git@github.com:Tapjoy/react-native-sdk-staging.git . && rm -rf *", "copy-pack": "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 && npm pkg fix && npm publish && yarn tag-branch", "publish-staging-npm": "yarn prepare-staging-repo && yarn copy-pack && yarn push && cd temp && npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN && npm pkg fix && npm publish --dry-run && yarn tag-branch", "doc": "typedoc --entryPointStrategy expand src/*", "tag-branch": "export VERSION=`node -p \"require('./package.json').version\"` && git tag $VERSION && git push origin $VERSION" }, "keywords": [ "react-native", "ios", "android", "tapjoy", "offerwall" ], "repository.url": "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": "^19.5.0", "@react-native-community/eslint-config": "^3.2.0", "@react-native/metro-config": "^0.76.6", "@types/jest": "^29.5.13", "@types/react": "^18.3.10", "commitlint": "^19.5.0", "del-cli": "^5.1.0", "eslint": "^9.11.1", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", "jest": "^29.7.0", "pod-install": "^0.2.2", "prettier": "^3.3.3", "react": "^18.3.1", "react-native": "0.76.1", "typedoc": "^0.26.7", "typescript": "^5.6.2" }, "resolutions": { "@types/react": "^18.3.10" }, "peerDependencies": { "react": "*", "react-native": "*" }, "engines": { "node": ">= 18" }, "packageManager": "yarn@1.22.19", "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "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 }, "dependencies": { "eventemitter3": "^5.0.1" } }