UNPKG

react-confirm-box

Version:
92 lines (91 loc) 2.31 kB
{ "name": "react-confirm-box", "version": "1.2.0", "description": "A callable react confirm alert box", "author": "SERrex Labs", "license": "Apache-2.0", "repository": "serrexlabs/react-confirm-box", "main": "dist/index.js", "engines": { "node": ">=8", "npm": ">=5" }, "scripts": { "build": "rollup -c", "start": "rollup -c -w", "test": "jest", "lint": "eslint . --ext .js,.jsx,.ts,.tsx", "prepublish": "npm run lint && npm run test && npm run build" }, "jest": { "transform": { ".(ts|tsx)": "ts-jest" }, "moduleNameMapper": { "\\.(css|scss)$": "identity-obj-proxy" }, "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", "moduleFileExtensions": [ "ts", "tsx", "js" ], "modulePathIgnorePatterns": [ "<rootDir>/dist/" ] }, "peerDependencies": { "react": ">= 16.8.0", "react-dom": ">= 16.8.0" }, "devDependencies": { "@testing-library/jest-dom": "^5.11.6", "@testing-library/react": "^11.2.2", "@types/jest": "^26.0.15", "@types/react": "^16.3.13", "@types/react-dom": "^16.0.5", "@typescript-eslint/eslint-plugin": "^4.8.2", "@typescript-eslint/parser": "^4.8.2", "babel-core": "^6.26.3", "babel-runtime": "^6.26.0", "eslint": "^7.14.0", "eslint-config-prettier": "^6.15.0", "eslint-plugin-prettier": "^3.1.4", "eslint-plugin-react": "^7.21.5", "eslint-plugin-react-hooks": "^4.0.8", "eslint-plugin-simple-import-sort": "^6.0.1", "husky": "^4.3.0", "identity-obj-proxy": "^3.0.0", "jest": "^26.6.3", "jest-css-modules-transform": "^4.0.2", "node-sass": "^5.0.0", "prettier": "^2.2.0", "react": "^16.12.0", "react-dom": "^16.12.0", "react-test-renderer": "^16.13.1", "rollup": "^1.29.0", "rollup-plugin-sass": "^1.2.2", "rollup-plugin-typescript2": "^0.25.3", "rollup-plugin-uglify": "^6.0.4", "ts-jest": "^26.4.4", "typescript": "^3.8.3" }, "files": [ "dist" ], "husky": { "hooks": { "pre-push": "npm run lint && npm test && npm run build" } }, "keywords": [ "react", "react confirm alert", "react confirm", "confirm", "confirm alert", "typescript", "npm" ], "dependencies": {} }