react-custom-rating-component
Version:
A fully customizable rating component for react and next.js
61 lines (60 loc) • 1.75 kB
JSON
{
"name": "react-custom-rating-component",
"version": "0.2.0",
"description": "A fully customizable rating component for react and next.js",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"scripts": {
"build:esm": "tsc --outDir dist/esm --declaration --declarationMap",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"build": "yarn build:esm && yarn build:cjs",
"lint": "eslint \"{**/*,*}.{js,ts,jsx,tsx}\"",
"prettier": "prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\"",
"prepare": "yarn run build",
"prepublishOnly": "yarn run prettier && yarn run lint",
"publish": "yarn run prepublishOnly && npm publish --access public"
},
"keywords": [
"react",
"rating",
"star",
"custom",
"component",
"rating-component",
"star-rating",
"star-rating-component",
"custom-rating-component",
"custom-star-rating-component",
"custom-star-rating",
"typescript"
],
"author": "KimeraMoses",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/KimeraMoses/react-custom-rating-component.git"
},
"peerDependencies": {
"react": ">=16"
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"devDependencies": {
"@types/react": "^18.2.19",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"eslint": "^8.46.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.1",
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^3.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.1.6"
}
}