UNPKG

redux-modal

Version:
94 lines (93 loc) 2.24 kB
{ "name": "redux-modal", "version": "4.0.0", "description": "Redux based modal", "main": "lib/index.js", "module": "es/index.js", "types": "lib/index.d.ts", "files": [ "lib", "es" ], "scripts": { "clean": "rimraf lib es", "test": "jest", "test:watch": "npm test -- --watch", "prebuild": "npm run clean", "build": "npm run build:lib && npm run build:es", "build:lib": "tsc", "build:es": "tsc --module es6 --outDir es", "prepublishOnly": "npm test && npm run build", "precommit": "lint-staged", "release": "release-it --verbose --github.release" }, "jest": { "setupFiles": [ "./test/setup.js" ], "transform": { "^.+\\.tsx?$": "ts-jest" }, "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ], "testURL": "http://localhost" }, "repository": { "type": "git", "url": "git+https://github.com/yesmeck/redux-modal.git" }, "keywords": [ "redux", "react", "modal" ], "author": "Wei Zhu <yesmeck@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/yesmeck/redux-modal/issues" }, "homepage": "https://github.com/yesmeck/redux-modal#readme", "devDependencies": { "@types/enzyme": "^3.1.10", "@types/jest": "^24.0.18", "@types/prop-types": "^15.5.2", "@types/react": "^16.9.2", "@types/react-redux": "^6.0.11", "enzyme": "^3.6.0", "enzyme-adapter-react-16": "^1.4.0", "husky": "^1.0.0", "jest": "^24.9.0", "lint-staged": "^8.0.0", "prettier": "^1.6.1", "react": "^16.9.0", "react-dom": "^16.7.0", "react-redux": "^6.0.0", "redux": "^4.0.0", "release-it": "^12.3.5", "rimraf": "^2.5.0", "ts-jest": "^24.0.2", "typescript": "^3.2.2" }, "dependencies": { "hoist-non-react-statics": "^3.0.0", "prop-types": "^15.5.10" }, "peerDependencies": { "react": "^0.14.0 || >=15.0.0", "react-redux": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0", "redux": "^3.0.0 || ^4.0.0" }, "lint-staged": { "*.{js,ts,tsx,css}": [ "prettier --write", "git add" ] } }