UNPKG

@aashu-dubey/react-native-rating-bar

Version:

A React Native component for generating and displaying interactive Tap or Swipe enabled Ratings.

206 lines (205 loc) 4.59 kB
{ "name": "@aashu-dubey/react-native-rating-bar", "version": "0.3.6", "description": "A React Native component for generating and displaying interactive Tap or Swipe enabled Ratings.", "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", "react-native.config.js", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "example": "yarn workspace rating-bar-example", "test": "jest", "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli lib", "prepare": "bob build", "release": "release-it" }, "keywords": [ "rating-bar", "rating bar", "rating", "review", "star", "gestures", "vector icons", "vector-icons", "react-native", "ios", "android" ], "repository": { "type": "git", "url": "git+https://github.com/Aashu-Dubey/react-native-rating-bar.git" }, "author": "Ashutosh (https://github.com/Aashu-Dubey)", "license": "MIT", "bugs": { "url": "https://github.com/Aashu-Dubey/react-native-rating-bar/issues" }, "homepage": "https://github.com/Aashu-Dubey/react-native-rating-bar#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^19.5.0", "@evilmartians/lefthook": "^1.5.0", "@react-native/eslint-config": "^0.73.1", "@release-it/conventional-changelog": "^9.0.2", "@types/jest": "^29.5.5", "@types/react": "^18.2.44", "commitlint": "^19.5.0", "del-cli": "^5.1.0", "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "prettier": "^3.0.3", "react": "18.3.1", "react-native": "0.76.7", "react-native-builder-bob": "^0.37.0", "react-native-gesture-handler": "^2.24.0", "release-it": "^17.10.0", "typescript": "^5.2.2" }, "resolutions": { "@types/react": "^18.2.44" }, "peerDependencies": { "react": "*", "react-native": "*", "react-native-gesture-handler": ">=2" }, "workspaces": [ "example" ], "packageManager": "yarn@3.6.1", "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "git": { "commit": false, "tag": false, "push": false, "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true, "publishArgs": [ "--provenance" ] }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } }, "eslintConfig": { "root": true, "extends": [ "@react-native", "prettier" ], "rules": { "react/react-in-jsx-scope": "off", "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false, "endOfLine": "auto" } ], "react-native/no-inline-styles": "off" } }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "commonjs", { "esm": true } ], [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json", "esm": true } ] ] }, "create-react-native-library": { "languages": "js", "type": "library", "version": "0.48.3" } }