UNPKG

react-leaf-polls

Version:

Customizable set of poll components for react.

93 lines (92 loc) 2.55 kB
{ "name": "react-leaf-polls", "version": "1.1.6", "description": "Customizable set of poll components for react.", "author": "salalo", "license": "MIT", "repository": "salalo/react-leaf-polls", "main": "dist/index.js", "module": "dist/index.modern.js", "source": "src/index.tsx", "engines": { "node": ">=10" }, "jest": { "transform": { "^.+\\.(ts|tsx|js|jsx)$": "ts-jest" }, "moduleNameMapper": { "\\.(css|less|scss|sss|styl)$": "<rootDir>/node_modules/jest-css-modules" } }, "keywords": [ "react", "poll", "polls", "polling", "leaf", "ui", "form", "forms", "vote", "voting", "survey", "custom", "component", "react-component" ], "scripts": { "build": "microbundle-crl --no-compress --format modern,cjs", "start": "microbundle-crl watch --no-compress --format modern,cjs", "prepare": "run-s build", "test": "jest --watch", "test:build": "run-s build", "test:lint": "eslint .", "test:unit": "cross-env CI=1 react-scripts test --env=jsdom", "test:watch": "react-scripts test --env=jsdom", "predeploy": "cd example && npm install && npm run build", "deploy": "gh-pages -d example/build" }, "peerDependencies": { "react": ">=16" }, "devDependencies": { "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^14.4.3", "@types/jest": "^29.2.1", "@types/node": "^18.11.9", "@types/react": "^18.0.24", "@types/react-dom": "^18.0.8", "@types/react-test-renderer": "^18.0.0", "@typescript-eslint/eslint-plugin": "^5.42.0", "@typescript-eslint/parser": "^5.42.0", "babel-eslint": "^10.0.3", "cross-env": "^7.0.3", "eslint": "^8.26.0", "eslint-config-prettier": "^8.5.0", "eslint-config-standard": "^17.0.0", "eslint-config-standard-react": "^12.0.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-react": "^7.31.10", "eslint-plugin-standard": "^4.1.0", "gh-pages": "^4.0.0", "jest": "^29.2.2", "jest-css-modules": "^2.1.0", "microbundle-crl": "^0.13.11", "npm-run-all": "^4.1.5", "prettier": "^2.7.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-scripts": "^5.0.1", "react-test-renderer": "^18.2.0", "ts-jest": "^29.0.3", "typescript": "^4.8.4" }, "files": [ "dist" ] }