UNPKG

3.01 kBJSONView Raw
1{
2 "name": "react-responsive-modal",
3 "version": "3.3.0",
4 "description": "A simple responsive react modal",
5 "main": "lib/index.js",
6 "module": "lib/index.es.js",
7 "jsnext:main": "lib/index.es.js",
8 "types": "types",
9 "scripts": {
10 "build": "rollup -c",
11 "build:watch": "rollup -c -w",
12 "lint": "eslint 'src' 'docs/src' '__tests__'",
13 "test": "yarn test:coverage && yarn lint && yarn build && yarn dtslint && yarn size",
14 "test:only": "jest",
15 "test:coverage": "yarn test:only --coverage",
16 "size": "size-limit",
17 "prettier": "prettier --write \"**/*.{js,ts,tsx,css,scss,json,md}\"",
18 "dtslint": "dtslint types",
19 "generate-props": "node scripts/generateReactPropsTable.js src/modal.js && yarn prettier"
20 },
21 "files": [
22 "lib",
23 "types",
24 "src"
25 ],
26 "jest": {
27 "setupTestFrameworkScriptFile": "./__tests__/setupTests.js",
28 "testPathIgnorePatterns": [
29 "<rootDir>/node_modules/",
30 "<rootDir>/docs/",
31 "<rootDir>/__tests__/setupTests.js"
32 ],
33 "moduleNameMapper": {
34 "\\.(css)$": "identity-obj-proxy"
35 }
36 },
37 "prettier": {
38 "singleQuote": true,
39 "trailingComma": "es5"
40 },
41 "keywords": [
42 "react",
43 "responsive",
44 "modal",
45 "flex"
46 ],
47 "repository": "git+https://github.com/pradel/react-responsive-modal.git",
48 "author": "Léo Pradel",
49 "bugs": {
50 "url": "https://github.com/pradel/react-responsive-modal/issues"
51 },
52 "homepage": "https://github.com/pradel/react-responsive-modal#readme",
53 "dependencies": {
54 "classnames": "^2.2.6",
55 "no-scroll": "^2.1.1",
56 "prop-types": "^15.6.2",
57 "react-lifecycles-compat": "^3.0.4",
58 "react-minimalist-portal": "^2.3.1",
59 "react-transition-group": "^2.4.0"
60 },
61 "peerDependencies": {
62 "react": "^15.0.0 || ^16.0.0",
63 "react-dom": "^15.0.0 || ^16.0.0"
64 },
65 "devDependencies": {
66 "@types/react": "16.4.12",
67 "@types/react-dom": "16.0.7",
68 "babel-cli": "6.26.0",
69 "babel-core": "6.26.0",
70 "babel-eslint": "8.2.6",
71 "babel-plugin-external-helpers": "6.22.0",
72 "babel-preset-env": "1.7.0",
73 "babel-preset-react": "6.24.1",
74 "babel-preset-stage-2": "6.24.1",
75 "codecov": "3.0.4",
76 "dtslint": "0.3.0",
77 "enzyme": "3.5.0",
78 "enzyme-adapter-react-16": "1.2.0",
79 "eslint": "5.4.0",
80 "eslint-config-airbnb": "17.0.0",
81 "eslint-config-prettier": "2.9.0",
82 "eslint-plugin-import": "2.13.0",
83 "eslint-plugin-jsx-a11y": "6.1.1",
84 "eslint-plugin-jsx-import": "0.0.1",
85 "eslint-plugin-react": "7.10.0",
86 "identity-obj-proxy": "3.0.0",
87 "jest": "23.4.2",
88 "jest-enzyme": "6.0.2",
89 "prettier": "1.14.0",
90 "react": "16.4.1",
91 "react-docgen": "2.21.0",
92 "react-dom": "16.4.1",
93 "rollup": "0.63.5",
94 "rollup-plugin-babel": "3.0.7",
95 "rollup-plugin-peer-deps-external": "2.2.0",
96 "rollup-plugin-postcss": "1.6.2",
97 "size-limit": "0.19.0"
98 },
99 "size-limit": [
100 {
101 "path": "lib/index.js",
102 "limit": "7 KB"
103 }
104 ],
105 "license": "MIT"
106}