react-customizable-star-rating
Version:
React component to view and set rating
89 lines (88 loc) • 2.21 kB
JSON
{
"name": "react-customizable-star-rating",
"version": "0.4.0",
"description": "React component to view and set rating",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"author": {
"name": "Ahmed Ayman",
"email": "ahmed1997164@gmail.com"
},
"keywords": [
"react",
"rating",
"rating-stars",
"stars"
],
"engines": {
"node": ">=18.16.0"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/aayman997/react-customizable-star-rating.git"
},
"bugs": {
"url": "https://github.com/aayman997/react-customizable-star-rating/issues",
"email": "ahmed1997164@gmail.com"
},
"scripts": {
"start": "vite",
"lint": "eslint \"{**/*,*}.{js,ts,jsx,tsx}\"",
"test": "vitest --watch=false",
"test:local": "vitest run --coverage",
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"prepublishOnly": "npm test && npm run lint",
"prepare": "npm run build"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^4.9.5"
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"devDependencies": {
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.1.0",
"@types/node": "^20.9.0",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"@vitejs/plugin-react": "^4.1.1",
"@vitest/ui": "^0.34.6",
"eslint": "^8.53.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"jsdom": "^22.1.0",
"vite": "^4.5.0",
"vite-plugin-svgr": "^4.1.0",
"vite-tsconfig-paths": "^4.2.1",
"vitest": "^0.34.6"
}
}