react-native-rate-app/package.json
2024-09-17 14:57:03 +02:00

154 lines
3.8 KiB
JSON

{
"name": "react-native-rate-app",
"version": "0.0.1",
"description": "In-App Rating on Android & iOS",
"source": "./src/index.tsx",
"main": "./lib/commonjs/index.js",
"module": "./lib/module/index.js",
"exports": {
".": {
"import": {
"types": "./lib/typescript/module/src/index.d.ts",
"default": "./lib/module/index.js"
},
"require": {
"types": "./lib/typescript/commonjs/src/index.d.ts",
"default": "./lib/commonjs/index.js"
}
}
},
"files": [
"src",
"lib",
"android",
"ios",
"cpp",
"*.podspec",
"!ios/build",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*"
],
"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"
],
"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": "1.9.1",
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@types/jest": "29.5.13",
"@types/react": "18.3.6",
"commitlint": "19.5.0",
"del-cli": "5.1.0",
"husky": "9.1.6",
"jest": "29.7.0",
"react": "18.3.1",
"react-native": "0.75.3",
"react-native-builder-bob": "0.30.2",
"semantic-release": "24.1.1",
"turbo": "2.1.2",
"typescript": "5.6.2"
},
"resolutions": {
"@types/react": "18.3.6"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"workspaces": [
"example"
],
"packageManager": "yarn@4.5.0",
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"codegen",
[
"commonjs",
{
"esm": true
}
],
[
"module",
{
"esm": true
}
],
[
"typescript",
{
"project": "tsconfig.build.json",
"esm": true
}
]
]
},
"codegenConfig": {
"name": "RNRateAppSpec",
"type": "all",
"jsSrcsDir": "src",
"outputDir": {
"ios": "ios/generated",
"android": "android/generated"
},
"android": {
"javaPackageName": "com.rateapp"
},
"includesGeneratedCode": true
},
"create-react-native-library": {
"type": "module-mixed",
"languages": "kotlin-objc",
"version": "0.41.2"
}
}