UNPKG

react-modal-promise

Version:
85 lines (84 loc) 2.34 kB
{ "name": "react-modal-promise", "version": "1.0.2", "description": "Promise wrapper for React components", "keywords": [ "react", "modal", "dialog", "promise" ], "main": "lib/index.js", "types": "lib/index.d.ts", "module": "lib/index.es.js", "scripts": { "build": "yarn build:types && yarn build:js", "build:types": "tsc --emitDeclarationOnly", "build:js": "NODE_ENV=production rollup -c -m inline", "watch": "yarn build:js -w", "format": "prettier --write", "prepublishOnly": "yarn build", "test": "jest", "test:watch": "jest --watch", "type-check": "tsc --noEmit", "prepare": "husky install", "release": "yarn build && yarn version && yarn publish" }, "files": [ "lib" ], "repository": { "type": "git", "url": "git+https://github.com/cudr/react-modal-promise.git" }, "author": "cudr", "license": "MIT", "bugs": { "url": "https://github.com/cudr/react-modal-promise/issues" }, "homepage": "https://github.com/cudr/react-modal-promise#readme", "devDependencies": { "@babel/cli": "^7.2.3", "@babel/core": "^7.3.4", "@babel/plugin-proposal-class-properties": "^7.3.4", "@babel/plugin-proposal-optional-chaining": "^7.13.12", "@babel/preset-env": "^7.3.4", "@babel/preset-react": "^7.0.0", "@commitlint/cli": "^13.1.0", "@commitlint/config-conventional": "^13.1.0", "@types/enzyme": "^3.10.3", "@types/enzyme-adapter-react-16": "^1.0.5", "@types/jest": "^26.0.19", "@types/node": "^16.4.9", "@types/react": "^17.0.0", "@types/react-dom": "^17.0.3", "babel-jest": "^27.0.6", "enzyme": "^3.10.0", "enzyme-adapter-react-16": "^1.14.0", "enzyme-to-json": "^3.4.0", "husky": "^7.0.1", "jest": "^27.1.1", "lint-staged": "^11.1.1", "prettier": "^2.2.1", "react": "^16.9.0", "react-dom": "^16.9.0", "rollup": "^2.35.1", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-typescript": "^1.0.1", "ts-jest": "^27.0.0-next.12", "tslib": "^2.2.0", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "typescript": "^4.1.3" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "lint-staged": { "*.{js,ts,tsx,json}": [ "yarn run format", "git add" ] } }