-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathpackage.json
121 lines (121 loc) · 3.98 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.8.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",
"types": "dist/index.d.ts",
"engines": {
"node": ">=16",
"npm": ">=7"
},
"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 --config && yarn run build:types",
"build:types": "tsc --project tsconfig.buildtypes.json --emitDeclarationOnly",
"start": "rollup --config --watch",
"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.23.0",
"@babel/plugin-transform-class-properties": "^7.18.6",
"@babel/plugin-transform-object-rest-spread": "^7.20.7",
"@babel/plugin-transform-runtime": "^7.22.15",
"@babel/preset-env": "^7.22.20",
"@babel/preset-react": "^7.22.15",
"@babel/preset-typescript": "^7.23.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.5",
"@rollup/plugin-node-resolve": "^15.2.2",
"@rollup/plugin-terser": "^0.4.4",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.5.5",
"@types/react": "^18.2.25",
"@types/react-dom": "^18.2.10",
"@types/styled-components": "5.1.28",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"babel-eslint": "10.1.0",
"babel-polyfill": "^6.26.0",
"cross-env": "^7.0.3",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-sort-destructure-keys": "^1.5.0",
"husky": "^4.3.8",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^10.5.4",
"prettier": "^3.0.3",
"react": "^18",
"react-dom": "^18",
"react-is": "^18",
"rollup": "^3.29.4",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-node-externals": "^6.1.2",
"styled-components": "^5.3.5",
"ts-jest": "^29.1.1",
"tslib": "^2.6.2",
"typescript": "^5.2.2"
},
"files": [
"dist"
],
"dependencies": {
"@babel/runtime": "^7.23.1",
"@react-spring/web": "^9.7.3",
"react-use-gesture": "9.1.3"
}
}