-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
58 lines (58 loc) · 2.01 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
{
"name": "react-pic-gallery",
"version": "1.5.16",
"author": "marcelrsoub",
"license": "MIT",
"repository": "marcelrsoub/react-pic-gallery",
"main": "./dist/react-pic-gallery.umd.js",
"module": "./dist/react-pic-gallery.es.js",
"types": "./dist/lib/main.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/react-pic-gallery.es.js",
"require": "./dist/react-pic-gallery.umd.js"
}
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite --config vite.github-pages.config.ts preview",
"test": "jest --config jest.config.js --watch",
"build-example": "vite --config vite.github-pages.config.ts build",
"github-pages": "vite --config vite.github-pages.config.ts build && gh-pages -d build",
"publish-patch": "yarn run build && standard-version --release-as patch && git push --follow-tags origin main && npm publish",
"publish-minor": "yarn run build && standard-version --release-as minor && git push --follow-tags origin main && npm publish",
"publish-major": "yarn run build && standard-version --release-as major && git push --follow-tags origin main && npm publish"
},
"dependencies": {
"@testing-library/react": "12.1.2",
"react-zoom-pan-pinch": "^2.1.3"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.4",
"@types/jest": "^28.1.6",
"@types/node": "^16.11.12",
"@types/react": "^17.0.33",
"@types/react-dom": "^17.0.10",
"@types/react-syntax-highlighter": "^13.5.2",
"@vitejs/plugin-react": "^1.0.7",
"gh-pages": "^3.2.3",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-syntax-highlighter": "^15.4.5",
"standard-version": "^9.3.2",
"ts-jest": "^28.0.7",
"typescript": "^4.4.4",
"vite": "^2.7.0",
"vite-plugin-dts": "^1.2.0"
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
"react-dom": "^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
}
}