147 lines
3.7 KiB
JSON
147 lines
3.7 KiB
JSON
{
|
|
"name": "react-native-rate-app",
|
|
"version": "1.3.10",
|
|
"description": "React Native module for In App Rating on Android and iOS",
|
|
"source": "src/index.tsx",
|
|
"main": "lib/commonjs/index.js",
|
|
"react-native": "src/index.tsx",
|
|
"module": "lib/module/index.js",
|
|
"types": "lib/typescript/index.d.ts",
|
|
"files": [
|
|
"src",
|
|
"lib",
|
|
"android",
|
|
"ios",
|
|
"cpp",
|
|
"*.podspec",
|
|
"!ios/build",
|
|
"!android/build",
|
|
"!android/gradle",
|
|
"!android/gradlew",
|
|
"!android/gradlew.bat",
|
|
"!android/local.properties",
|
|
"!**/__tests__",
|
|
"!**/__fixtures__",
|
|
"!**/__mocks__",
|
|
"!**/.*",
|
|
"app.plugin.js"
|
|
],
|
|
"scripts": {
|
|
"example": "yarn workspace react-native-rate-app-example",
|
|
"test": "jest",
|
|
"lint": "npx biome check ./src && npx biome format ./src && yarn lint:example",
|
|
"lint:example": "npx biome check ./example/src && npx biome format ./example/src",
|
|
"lint:fix": "npx biome lint --write ./src && npx biome format --write ./src && npx biome check --write ./src && yarn lint:fix:example",
|
|
"lint:fix:example": "npx biome lint --write ./example/src && npx biome format --write ./example/src && npx biome check --write ./example/src",
|
|
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
|
|
"prepare": "bob build",
|
|
"release": "semantic-release"
|
|
},
|
|
"keywords": [
|
|
"react-native",
|
|
"ios",
|
|
"android",
|
|
"rate",
|
|
"review",
|
|
"native",
|
|
"store",
|
|
"huawei",
|
|
"samsung",
|
|
"amazon"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/huextrat/react-native-rate-app.git"
|
|
},
|
|
"author": "Hugo EXTRAT <extrat.h@gmail.com> (https://github.com/huextrat)",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/huextrat/react-native-rate-app/issues"
|
|
},
|
|
"homepage": "https://github.com/huextrat/react-native-rate-app#readme",
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.2.2",
|
|
"@commitlint/cli": "19.8.1",
|
|
"@commitlint/config-conventional": "19.8.1",
|
|
"@react-native-community/cli": "18.0.0",
|
|
"@semantic-release/changelog": "6.0.3",
|
|
"@semantic-release/git": "10.0.1",
|
|
"@types/jest": "30.0.0",
|
|
"@types/react": "19.0.10",
|
|
"commitlint": "19.8.1",
|
|
"del-cli": "6.0.0",
|
|
"expo": "53.0.20",
|
|
"husky": "9.1.7",
|
|
"jest": "30.0.5",
|
|
"react": "19.0.0",
|
|
"react-native": "0.81.0",
|
|
"react-native-builder-bob": "0.40.13",
|
|
"semantic-release": "24.2.7",
|
|
"turbo": "2.5.6",
|
|
"typescript": "5.9.2"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "19.0.10"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "*",
|
|
"react-native": ">=0.76"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"expo": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"workspaces": [
|
|
"example"
|
|
],
|
|
"packageManager": "yarn@4.9.3",
|
|
"jest": {
|
|
"preset": "react-native",
|
|
"modulePathIgnorePatterns": [
|
|
"<rootDir>/example/node_modules",
|
|
"<rootDir>/lib/"
|
|
],
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>/setupJest.ts"
|
|
],
|
|
"collectCoverageFrom": [
|
|
"src/**/*.ts",
|
|
"src/**/*.tsx",
|
|
"!src/types.ts",
|
|
"!src/NativeRateApp.ts"
|
|
],
|
|
"collectCoverage": true
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
]
|
|
},
|
|
"react-native-builder-bob": {
|
|
"source": "src",
|
|
"output": "lib",
|
|
"targets": [
|
|
"commonjs",
|
|
"module",
|
|
"typescript"
|
|
]
|
|
},
|
|
"codegenConfig": {
|
|
"name": "RateAppSpec",
|
|
"type": "modules",
|
|
"jsSrcsDir": "./src/codegenSpec",
|
|
"android": {
|
|
"javaPackageName": "com.rateapp"
|
|
}
|
|
},
|
|
"create-react-native-library": {
|
|
"type": "turbo-module",
|
|
"languages": "kotlin-objc",
|
|
"version": "0.52.1"
|
|
}
|
|
}
|