UNPKG

@sparkfabrik/react-native-idfa-aaid

Version:
153 lines (152 loc) 3.86 kB
{ "name": "@sparkfabrik/react-native-idfa-aaid", "version": "1.2.0", "description": "React Native module to get IDFA (iOS) or AAID (Android)", "main": "lib/commonjs/index.js", "module": "lib/module/index.js", "types": "lib/typescript/src/index.d.ts", "react-native": "src/index.tsx", "source": "src/index.tsx", "files": [ "src", "lib", "android", "ios", "cpp", "sparkfabrik-react-native-idfa-aaid.podspec", "!lib/typescript/example", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__" ], "scripts": { "test": "jest", "typescript": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "lint:fix": "eslint --fix \"**/*.{js,ts,tsx}\"", "prepare": "bob build", "release": "release-it", "example:setup": "cd example && npm install", "example:setup-ios": "cd example && pod install --project-directory=ios", "example:start": "cd example && npm start", "example:android": "cd example && npm run android", "example:ios": "cd example && npm run ios" }, "keywords": [ "react-native", "ios", "android", "idfa", "aaid", "advertising" ], "repository": "https://github.com/sparkfabrik/sparkfabrik-react-native-idfa-aaid", "author": "Edoardo Dusi <edoardo.dusi@sparkfabrik.com> (https://github.com/sparkfabrik)", "license": "MIT", "bugs": { "url": "https://github.com/sparkfabrik/sparkfabrik-react-native-idfa-aaid/issues" }, "homepage": "https://github.com/sparkfabrik/sparkfabrik-react-native-idfa-aaid#readme", "devDependencies": { "@commitlint/config-conventional": "^19.2.2", "@expo/config-plugins": "^7.0.0", "@react-native-community/bob": "^0.17.1", "@react-native-community/eslint-config": "^3.2.0", "@react-native/babel-preset": "^0.74.85", "@release-it/conventional-changelog": "^8.0.1", "@types/jest": "^29.5.12", "@types/react": "^18.3.3", "commitlint": "^19.3.0", "eslint": "^8.38.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-ft-flow": "^2.0.3", "eslint-plugin-prettier": "^4.2.1", "husky": "^8.0.3", "jest": "^29.7.0", "pod-install": "^0.2.2", "prettier": "^2.8.7", "react-native-test-app": "^3.0.10", "release-it": "^17.4.1", "typescript": "^5.5.3", "y18n": "5.0.8" }, "peerDependencies": { "react": "*", "react-native": "*" }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", "pre-commit": "yarn lint && yarn typescript" } }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": false }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } }, "eslintConfig": { "extends": [ "@react-native-community", "prettier" ], "rules": { "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false } ] } }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "arrowParens": "avoid", "bracketSameLine": true, "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "@react-native-community/bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", "typescript" ] } }