forked from tim-soft/react-spring-lightbox
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
121 lines (121 loc) · 3.99 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
117
118
119
120
121
{
"name": "react-spring-lightbox",
"version": "1.5.0",
"description": "A flexible image gallery lightbox with native-feeling touch gestures and buttery smooth animations, built with react-spring.",
"author": "Tim Ellenberger <[email protected]>",
"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",
"types": "dist/index.d.ts",
"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 && yarn lint:ts",
"lint:eslint": "eslint \"**/*.*\"",
"lint:prettier": "prettier --check \"**/*.*\"",
"lint:ts": "npx tsc --noEmit -p .",
"test": "jest",
"test:watch": "jest --watch",
"build": "rollup -c && yarn run build:types",
"build:types": "tsc --project tsconfig.buildtypes.json --emitDeclarationOnly",
"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": {
"react": ">=16.8",
"react-dom": ">=16.8",
"styled-components": ">= 5.X"
},
"devDependencies": {
"@babel/core": "^7.12.16",
"@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.12.16",
"@babel/preset-react": "^7.9.4",
"@babel/preset-typescript": "^7.12.16",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@testing-library/jest-dom": "^5.5.0",
"@testing-library/react": "^11.2.5",
"@types/jest": "^26.0.20",
"@types/react": "^17.0.1",
"@types/react-dom": "^17.0.0",
"@types/styled-components": "^5.1.7",
"@typescript-eslint/eslint-plugin": "^4.15.1",
"@typescript-eslint/parser": "^4.15.1",
"babel-eslint": "10.1.0",
"babel-polyfill": "^6.26.0",
"cross-env": "^7.0.2",
"eslint": "^7.20.0",
"eslint-config-prettier": "^7.2.0",
"eslint-import-resolver-typescript": "^2.4.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": "^4.2.0",
"eslint-plugin-sort-destructure-keys": "^1.3.5",
"husky": "^4.3.8",
"jest": "^26.6.3",
"lint-staged": "^10.2.2",
"prettier": "^2.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-is": "^17.0.1",
"rollup": "^2.39.0",
"rollup-plugin-filesize": "^9.1.0",
"rollup-plugin-terser": "^7.0.2",
"styled-components": "^5.0.1",
"ts-jest": "^26.5.1",
"tslib": "^2.1.0",
"typescript": "^4.1.5"
},
"files": [
"dist"
],
"dependencies": {
"@babel/runtime": "^7.12.13",
"@react-spring/web": "npm:@tim-soft/[email protected]",
"react-use-gesture": "9.0.4"
}
}