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.1 kB · 73 lines
JSON
at attw
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374{ "name": "@wojtekmaj/react-async-button", "version": "1.3.1", "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": { "attw": "yarn pack && attw package.tgz", "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", "lint": "eslint . --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 unit", "tsc": "tsc --noEmit", "unit": "vitest" }, "keywords": [ "react", "promise", "button" ], "author": { "name": "Wojciech Maj", "email": "kontakt@wojtekmaj.pl" }, "license": "MIT", "dependencies": { "@types/react": "*", "make-cancellable-promise": "^1.3.1", "prop-types": "^15.6.0" }, "devDependencies": { "@arethetypeswrong/cli": "^0.6.0", "@testing-library/dom": "^9.0.0", "@testing-library/jest-dom": "^5.15.0", "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.4.0", "eslint": "^8.26.0", "eslint-config-wojtekmaj": "^0.8.4", "husky": "^8.0.0", "jsdom": "^21.1.0", "prettier": "^2.7.0", "pretty-quick": "^3.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^3.0.0", "typescript": "^5.0.0", "vitest": "^0.30.1" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "publishConfig": { "access": "public", "provenance": true }, "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"}