@giphy/react-native-sdk
Version:
Giphy React Native SDK
163 lines (162 loc) • 4.7 kB
JSON
{
"name": "@giphy/react-native-sdk",
"version": "5.0.1",
"description": "Giphy React Native SDK",
"license": "Apache-2.0",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"files": [
"src",
"lib",
"android",
"ios",
"cpp",
"giphy-react-native-sdk.podspec",
"app.plugin.js",
"!lib/typescript/example",
"!android/build",
"!ios/build",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"scripts": {
"bootstrap": "yarn example gem:install && yarn example && yarn && yarn pods",
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build",
"detox:bootstrap:android": ". ./scripts/avd.defaults.sh && ./scripts/avd.create.sh && ./scripts/avd.run.sh",
"detox:bootstrap:ios": ". ./scripts/sim.defaults.sh && ./scripts/sim.create.sh",
"detox:build:android": "detox build --configuration android",
"detox:build:ios": "detox build --configuration ios",
"detox:test:android": ". ./scripts/avd.defaults.sh && ./scripts/avd.run.sh && detox test --configuration android",
"detox:test:ios": "detox test --configuration ios",
"example": "yarn --cwd example",
"licenses:check": "scripts/licenses.check.js",
"licenses:generate": "scripts/licenses.generate.sh",
"lint": "eslint \"**/*.{js,mjs,ts,tsx}\" --fix ",
"pods": "cd example && pod-install --quiet",
"prepare": "husky install && bob build",
"release": "release-it",
"sdk:bump:android": "scripts/sdk.bump.android.sh",
"sdk:bump:ios": "scripts/sdk.bump.ios.sh",
"typescript": "tsc -p ./tsconfig.check.json --noEmit"
},
"keywords": [
"react-native",
"ios",
"android",
"giphy",
"sdk"
],
"repository": "https://github.com/Giphy/giphy-react-native-sdk",
"author": "Giphy Engineering <developers@giphy.com> (https://developers.giphy.com)",
"bugs": {
"url": "https://github.com/Giphy/giphy-react-native-sdk/issues"
},
"homepage": "https://github.com/Giphy/giphy-react-native-sdk#readme",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/eslint-parser": "^7.22.15",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "^7.25.0",
"@commitlint/cli": "^18.0.0",
"@commitlint/config-conventional": "^18.0.0",
"@react-native-community/eslint-config": "^3.2.0",
"@react-native/babel-preset": "0.78.0",
"@release-it/conventional-changelog": "^7.0.2",
"@types/jest": "^29.5.6",
"@types/jest-image-snapshot": "^6.2.2",
"@types/lodash.kebabcase": "^4.1.8",
"@types/node": "20.8.7",
"@types/prop-types": "^15.7.15",
"@types/react": "^19.0.0",
"commitlint": "^18.0.0",
"cz-conventional-changelog": "^3.3.0",
"del-cli": "^5.1.0",
"detox": "^20.13.1",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-ft-flow": "^3.0.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^27.4.3",
"eslint-plugin-prettier": "^5.0.1",
"handlebars": "4.7.8",
"husky": "^8.0.3",
"image-size": "^1.0.2",
"jest": "^29.7.0",
"jest-image-snapshot": "^6.2.0",
"license-checker": "^25.0.1",
"lodash.kebabcase": "^4.1.1",
"plist": "^3.0.6",
"pod-install": "^0.1.39",
"prettier": "^3.0.3",
"react": "19.0.0",
"react-native": "0.78.0",
"react-native-builder-bob": "^0.23.1",
"release-it": "^16.2.1",
"spdx-correct": "^3.2.0",
"spdx-satisfies": "^5.0.1",
"ts-jest": "^29.1.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@giphy/js-types": "^4.4.0",
"type-fest": "^4.5.0"
},
"peerDependencies": {
"react": "^19.0.0",
"react-native": ">=0.78.0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"header-max-length": [
1,
"always",
100
],
"footer-max-line-length": [
1,
"always",
120
],
"subject-case": [
0,
"always",
"pascal-case"
]
}
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"codegenConfig": {
"name": "GiphyReactNativeSDKSpec",
"type": "all",
"jsSrcsDir": "src/specs"
}
}