UNPKG

react-popup-alert

Version:
97 lines (96 loc) 2.82 kB
{ "name": "react-popup-alert", "version": "2.0.0", "description": "Alert popup for ReactJS", "author": "jakobinn", "license": "MIT", "repository": "jakobinn/react-popup-alert", "main": "dist/index.js", "module": "dist/index.modern.js", "source": "src/index.tsx", "engines": { "node": ">=10" }, "jest": { "coverageReporters": [ "json-summary", "text", "lcov" ] }, "scripts": { "build": "microbundle-crl --no-compress --css-modules false --format modern,cjs", "start": "microbundle-crl watch --no-compress --css-modules false --format modern,cjs", "prepare": "run-s build", "publish": "run-s test && npm run build && npm publish", "test": "run-s test:unit test:lint test:build", "test:build": "run-s build", "test:lint": "eslint ./src/index.tsx", "test:unit": "cross-env CI=1 react-scripts test --env=jsdom --watchAll=false --coverage && jest-coverage-badges", "test:watch": "react-scripts test --env=jsdom", "predeploy": "cd example && npm install && npm run build", "deploy": "gh-pages -d example/build" }, "keywords": [ "popup", "alert", "confirm", "dialog", "error", "message", "reactjs", "react" ], "peerDependencies": { "react": "^16.0.0" }, "devDependencies": { "@testing-library/jest-dom": "^4.2.4", "@testing-library/react": "^9.5.0", "@testing-library/user-event": "^7.2.1", "@types/chai": "^4.2.14", "@types/enzyme": "^3.10.8", "@types/enzyme-adapter-react-16": "^1.0.6", "@types/jest": "^25.1.4", "@types/mocha": "^8.2.0", "@types/node": "^12.12.38", "@types/react": "^16.9.27", "@types/react-dom": "^16.9.7", "@types/sinon": "^9.0.10", "@types/testing-library__jest-dom": "^5.9.5", "@typescript-eslint/eslint-plugin": "^2.26.0", "@typescript-eslint/parser": "^2.26.0", "babel-eslint": "^10.0.3", "chai": "^4.2.0", "cross-env": "^7.0.2", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.6", "eslint": "^6.8.0", "eslint-config-prettier": "^6.7.0", "eslint-config-standard": "^14.1.0", "eslint-config-standard-react": "^9.2.0", "eslint-plugin-import": "^2.18.2", "eslint-plugin-node": "^11.0.0", "eslint-plugin-prettier": "^3.1.1", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-react": "^7.17.0", "eslint-plugin-standard": "^4.0.1", "gh-pages": "^2.2.0", "microbundle-crl": "^0.13.10", "node-sass": "^5.0.0", "npm-run-all": "^4.1.5", "prettier": "^2.0.4", "react": "^16.13.1", "react-dom": "^16.13.1", "react-scripts": "^3.4.1", "simulant": "^0.2.2", "sinon": "^9.2.4", "typescript": "^3.7.5" }, "files": [ "dist" ], "dependencies": { "jest-coverage-badges": "^1.1.2" } }