forked from tim-soft/react-spring-lightbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 3.41 KB
/
package.json
File metadata and controls
109 lines (109 loc) · 3.41 KB
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
{
"name": "react-spring-lightbox",
"version": "1.4.11",
"description": "A flexible image gallery lightbox with native-feeling touch gestures and buttery smooth animations, built with react-spring.",
"author": "Tim Ellenberger <timellenberger@gmail.com>",
"license": "MIT",
"repository": "tim-soft/react-spring-lightbox",
"sideEffects": false,
"bugs": {
"url": "https://github.com/tim-soft/react-spring-lightbox/issues"
},
"homepage": "https://timellenberger.com",
"keywords": [
"react",
"spring",
"lightbox",
"modal",
"gallery",
"touch",
"gestures",
"images"
],
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"engines": {
"node": ">=8",
"npm": ">=5"
},
"scripts": {
"fix": "yarn fix:eslint && yarn fix:prettier",
"fix:eslint": "eslint --fix \"**/*.*\"",
"fix:prettier": "prettier --write \"**/*.*\"",
"lint": "yarn lint:eslint && yarn lint:prettier",
"lint:eslint": "eslint \"**/*.*\"",
"lint:prettier": "prettier --check \"**/*.*\"",
"test": "jest",
"test:watch": "jest --watch",
"build": "rollup -c",
"start": "rollup -c -w",
"prepare": "yarn run build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{json,md}": [
"prettier --write",
"git add --force"
],
"*.{js, jsx}": [
"prettier --write",
"eslint --no-ignore --fix",
"git add --force"
]
},
"peerDependencies": {
"prop-types": ">=15.5.4",
"react": ">=16.8",
"react-dom": ">=16.8",
"styled-components": ">= 5.X"
},
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.9.6",
"@babel/plugin-transform-runtime": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@babel/preset-react": "^7.9.4",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"@testing-library/jest-dom": "^5.5.0",
"@testing-library/react": "^10.0.4",
"babel-eslint": "10.1.0",
"babel-plugin-styled-components": "1.10.5",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-polyfill": "^6.26.0",
"cross-env": "^7.0.2",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^1.7.0",
"husky": "^4.2.5",
"jest": "^25.5.4",
"lint-staged": "^10.2.2",
"prettier": "^1.19.1",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-is": "^16.13.1",
"rollup": "^2.7.6",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-filesize": "^8.0.2",
"rollup-plugin-terser": "^5.3.0",
"styled-components": "^5.0.1"
},
"files": [
"dist"
],
"dependencies": {
"react-spring": "^9.0.0-rc.3",
"react-use-gesture": "7.0.15"
}
}