@cmckenna/use-async-modal
Version:
Show promised based modal imperatively using hook for React.js.
86 lines (85 loc) • 2.1 kB
JSON
{
"name": "@cmckenna/use-async-modal",
"version": "1.0.2",
"description": "Show promised based modal imperatively using hook for React.js.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/*"
],
"scripts": {
"build": "tsc && cp ./src/index.css ./dist/index.css",
"test": "jest",
"format": "prettier --write src/**",
"lint": "eslint src/**",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cmcken22/use-async-modal.git"
},
"tags": [
"react",
"hook",
"async",
"modal"
],
"keywords": [
"react",
"modal",
"hook",
"usemodal",
"useasyncmodal"
],
"author": "Jakub Sydor <hello@fronthouse.eu>",
"license": "MIT",
"bugs": {
"url": "https://github.com/cmcken22/use-async-modal/issues"
},
"homepage": "https://github.com/cmcken22/use-async-modal#readme",
"devDependencies": {
"@testing-library/jest-dom": "5.11.9",
"@testing-library/react": "11.2.5",
"@testing-library/react-hooks": "5.0.3",
"@types/jest": "26.0.20",
"@types/react": "17.0.2",
"@types/react-dom": "17.0.1",
"@typescript-eslint/eslint-plugin": "4.15.0",
"@typescript-eslint/parser": "4.15.0",
"eslint": "7.20.0",
"eslint-config-prettier": "7.2.0",
"eslint-plugin-prettier": "3.3.1",
"eslint-plugin-react-hooks": "4.2.0",
"jest": "26.6.3",
"prettier": "2.2.1",
"react": "17.0.1",
"react-dom": "17.0.1",
"ts-jest": "26.5.1",
"typescript": "4.1.5"
},
"dependencies": {
"eventelo": "0.1.3"
},
"peerDependencies": {
"react": ">=16.8",
"react-dom": ">=16.8"
},
"jest": {
"setupFilesAfterEnv": [
"@testing-library/jest-dom/extend-expect"
],
"setupFiles": [
"@testing-library/react/dont-cleanup-after-each"
],
"transform": {
"^.+\\.(t|j)sx?$": "ts-jest"
},
"testRegex": ".+/__tests__/.+.test.tsx$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
]
}
}