forked from frontend-collective/react-image-lightbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 3.2 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "react-image-lightbox",
"version": "5.1.4",
"description": "A lightbox component for React.js",
"scripts": {
"build": "rollup -c",
"build:demo": "parcel build examples/cats/index.html --out-dir build --public-url ./",
"clean": "rimraf dist style.css style.css.map",
"clean:demo": "rimraf build",
"start": "parcel examples/cats/index.html",
"lint": "eslint .",
"prettier": "prettier --write \"./**/*.{md,js,css}\" \"!./{build,dist}/**\" \"!./style.css*\"",
"prepublishOnly": "yarn run lint && yarn run test && yarn run build",
"test": "jest",
"test:watch": "jest --watchAll",
"deploy": "yarn run build:demo && gh-pages -d build",
"release": "standard-version",
"prepare": "husky install"
},
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
"typings": "index.d.ts",
"files": [
"dist",
"index.d.ts",
"style.css",
"style.css.map"
],
"repository": {
"type": "git",
"url": "https://github.com/frontend-collective/react-image-lightbox.git"
},
"homepage": "https://frontend-collective.github.io/react-image-lightbox",
"bugs": "https://github.com/frontend-collective/react-image-lightbox/issues",
"authors": [
"Chris Fritz"
],
"license": "MIT",
"jest": {
"setupFilesAfterEnv": [
"./node_modules/jest-enzyme/lib/index.js"
],
"setupFiles": [
"./test-config/shim.js",
"./test-config/test-setup.js"
],
"moduleFileExtensions": [
"js",
"jsx",
"json"
],
"moduleNameMapper": {
"\\.(css|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js"
},
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"browserslist": [
"IE >= 11",
"last 2 versions",
"> 1%"
],
"dependencies": {
"prop-types": "^15.7.2",
"react-modal": "^3.11.1",
"video-react": "^0.14.1"
},
"peerDependencies": {
"react": "16.x || 17.x",
"react-dom": "16.x || 17.x"
},
"devDependencies": {
"@babel/cli": "^7.7.4",
"@babel/core": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"@babel/preset-react": "^7.7.4",
"autoprefixer": "^9.7.2",
"babel-jest": "^27.0.6",
"coveralls": "^3.0.9",
"cross-env": "^7.0.3",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1",
"enzyme-to-json": "^3.4.3",
"eslint": "^6.7.1",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^4.2.0",
"gh-pages": "^3.2.3",
"husky": "^7.0.0",
"jest": "^27.0.6",
"jest-enzyme": "^7.1.2",
"parcel-bundler": "^1.12.4",
"postcss": "^8.3.5",
"prettier": "^1.19.1",
"pretty-quick": "^2.0.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"rimraf": "^3.0.0",
"rollup": "^2.53.1",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^4.0.0",
"standard-version": "^9.3.0"
},
"keywords": [
"react",
"react-component",
"image",
"lightbox"
]
}