UNPKG

react-rater

Version:
86 lines (85 loc) 3.04 kB
{ "name": "react-rater", "version": "6.0.5", "description": "A star rater in react.js", "main": "lib/index.js", "types": "lib/index.d.ts", "directories": { "example": "example" }, "scripts": { "test": "jest --verbose", "compile-scss": "node-sass src/react-rater.scss", "build-lib-windows": "(if exist lib rd /s /q lib) && mkdir lib && babel src --out-dir lib && copy src\\index.d.ts lib && npm run -s compile-scss >> lib/react-rater.css && copy src\\react-rater-sass.scss lib ", "build-lib": "rm -rf lib && mkdir lib && babel src --out-dir lib; npm run -s compile-scss >> lib/react-rater.css; cp src/react-rater.scss lib/; cp src/index.d.ts lib/index.d.ts", "build-dist": "webpack; npm run -s compile-scss >> dist/react-rater.css", "build-example": "webpack --mode=production", "prepublish": "npm run build-lib || npm run build-lib-windows", "start": "webpack-dev-server --hot --mode=development" }, "repository": { "type": "git", "url": "https://github.com/NdYAG/react-rater.git" }, "keywords": [ "react", "rater", "star-rater", "react-component" ], "author": "NdYAG", "license": "BSD", "bugs": { "url": "https://github.com/NdYAG/react-rater/issues" }, "homepage": "https://github.com/NdYAG/react-rater", "testEnvironment": "jsdom", "peerDependencies": { "prop-types": ">=15.8.1", "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "devDependencies": { "@babel/cli": "^7.17.6", "@babel/core": "^7.17.9", "@babel/plugin-proposal-class-properties": "^7.16.7", "@babel/plugin-proposal-decorators": "^7.17.9", "@babel/plugin-proposal-export-namespace-from": "^7.16.7", "@babel/plugin-proposal-function-sent": "^7.16.7", "@babel/plugin-proposal-json-strings": "^7.16.7", "@babel/plugin-proposal-numeric-separator": "^7.16.7", "@babel/plugin-proposal-throw-expressions": "^7.16.7", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-syntax-import-meta": "^7.10.4", "@babel/plugin-transform-spread": "^7.16.7", "@babel/polyfill": "^7.6.0", "@babel/preset-env": "^7.16.11", "@babel/preset-react": "^7.16.7", "@wojtekmaj/enzyme-adapter-react-17": "^0.6.7", "babel-eslint": "^10.0.3", "babel-jest": "^27.5.1", "babel-loader": "^8.2.4", "css-loader": "^6.7.1", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.6", "eslint": "^8.13.0", "eslint-plugin-babel": "^5.3.1", "eslint-plugin-import": "^2.26.0", "eslint-plugin-react": "^7.29.4", "eslint-webpack-plugin": "^3.1.1", "file-loader": "^6.2.0", "install": "^0.13.0", "jest": "^27.5.1", "jest-cli": "^27.5.1", "node-sass": "^7.0.1", "react-hot-loader": "^4.13.0", "react-motion": "^0.5.2", "react-test-renderer": "^18.0.0", "sass-loader": "^12.6.0", "style-loader": "^3.3.1", "webpack": "^5.72.0", "webpack-bundle-analyzer": "^4.5.0", "webpack-cli": "^4.9.2", "webpack-dev-server": "^4.8.1" } }