UNPKG

react-best-modal

Version:

Simple is best. Accessible out of the box, tiny api, bring your own styles.

100 lines (99 loc) 2.78 kB
{ "name": "react-best-modal", "version": "1.1.2", "description": "Simple is best. Accessible out of the box, tiny api, bring your own styles. ", "main": "dist/index.js", "types": "dist/index.d.ts", "module": "dist/esnext/index.tsx", "author": "madou", "license": "MIT", "homepage": "https://github.com/madou/react-best-modal#readme", "keywords": [ "react", "modal", "dialog", "modal-dialog", "simple", "lightweight" ], "scripts": { "tdd": "jest --watch", "test": "jest --coverage", "storybook": "start-storybook -p 6006", "build-storybook": "build-storybook -o docs", "build": "rm -rf dist && tsc && tsc -p ./tsconfig.next.json", "prepublish": "yarn build", "preversion": "yarn test", "version": "version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md", "postversion": "git push && git push --tags", "codecov": "codecov" }, "peerDependencies": { "react": ">=16.x.x", "react-focus-lock": ">=1.x.x" }, "devDependencies": { "@storybook/addon-actions": "^3.3.2", "@storybook/addon-info": "^3.3.3", "@storybook/addon-links": "^3.3.2", "@storybook/addons": "^3.3.2", "@storybook/react": "^3.3.2", "@types/enzyme": "^3.1.6", "@types/jest": "^22.0.0", "@types/react": "^16.0.31", "@types/react-dom": "^16.0.3", "@types/react-transition-group": "^2.0.6", "@types/sinon": "^4.1.2", "@types/storybook__addon-info": "^3.2.1", "@types/storybook__react": "^3.0.5", "babel-core": "^6.26.0", "babel-runtime": "^6.26.0", "changelog-verify": "^1.1.0", "codecov": "^3.0.0", "enzyme": "^3.3.0", "enzyme-adapter-react-16": "^1.1.1", "enzyme-to-json": "^3.3.0", "jest": "^22.0.4", "prop-types": "^15.6.0", "react": "^16.2.0", "react-dom": "^16.2.0", "react-focus-lock": "^1.6.1", "react-test-renderer": "^16.2.0", "react-transition-group": "^2.2.1", "sinon": "^4.1.3", "styled-components": "^2.4.0", "ts-jest": "^22.0.0", "ts-loader": "^3.2.0", "typescript": "^2.6.2", "version-changelog": "^2.1.0" }, "repository": { "type": "git", "url": "git+https://github.com/madou/react-best-modal.git" }, "bugs": { "url": "https://github.com/madou/react-best-modal/issues" }, "jest": { "transform": { "^.+\\.tsx?$": "ts-jest" }, "mapCoverage": true, "testRegex": "__tests__/.*\\.test\\.tsx$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ], "setupTestFrameworkScriptFile": "<rootDir>test/setup.js", "globals": { "ts-jest": { "tsConfigFile": "tsconfig.test.json", "skipBabel": true } } } }