Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/wojtekmaj/react-async-button. A button that handles Promises for your React app.
Something went wrong. Try again.
react-async-button package.json
2.3 kB · 80 lines
JSON
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081{ "name": "@wojtekmaj/react-async-button", "version": "1.2.0", "description": "A button that handles Promises for your React app.", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "source": "src/index.ts", "types": "dist/cjs/index.d.ts", "scripts": { "build": "yarn build-esm && yarn build-cjs", "build-esm": "tsc --project tsconfig.build.json --outDir dist/esm --module esnext", "build-cjs": "tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs", "clean": "rimraf dist", "jest": "jest", "lint": "eslint src --ext .js,.jsx,.ts,.tsx", "postinstall": "husky install", "prepack": "yarn clean && yarn build", "prettier": "prettier --check . --cache", "test": "yarn lint && yarn tsc && yarn prettier && yarn jest", "tsc": "tsc --noEmit" }, "keywords": [ "react", "promise", "button" ], "author": { "name": "Wojciech Maj", "email": "kontakt@wojtekmaj.pl" }, "license": "MIT", "dependencies": { "@types/react": "*", "make-cancellable-promise": "^1.2.0", "prop-types": "^15.6.0" }, "devDependencies": { "@babel/core": "^7.15.0", "@babel/preset-env": "^7.15.0", "@babel/preset-react": "^7.14.0", "@babel/preset-typescript": "^7.18.6", "@testing-library/dom": "^8.11.0", "@testing-library/jest-dom": "^5.15.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^14.4.0", "@types/jest": "^29.0.0", "@typescript-eslint/eslint-plugin": "^5.41.0", "@typescript-eslint/parser": "^5.44.0", "eslint": "^8.26.0", "eslint-config-wojtekmaj": "^0.7.1", "husky": "^8.0.0", "jest": "^29.0.0", "jest-environment-jsdom": "^29.0.0", "prettier": "^2.7.0", "pretty-quick": "^3.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^3.0.0", "typescript": "^4.9.4" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "resolutions": { "semver@7.0.0": "^7.0.0" }, "publishConfig": { "access": "public" }, "files": [ "dist", "src" ], "repository": { "type": "git", "url": "https://github.com/wojtekmaj/react-async-button.git" }, "funding": "https://github.com/wojtekmaj/react-async-button?sponsor=1", "packageManager": "yarn@3.1.0"}