-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
123 lines (123 loc) · 3.41 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
122
123
{
"name": "yet-another-react-lightbox-lite",
"version": "0.0.0-semantic-release",
"description": "Lightweight React lightbox component",
"author": "Igor Danchenko",
"license": "MIT",
"type": "module",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./styles.css": {
"types": "./dist/styles.css.d.ts",
"default": "./dist/styles.css"
}
},
"files": [
"dist"
],
"sideEffects": [
"*.css"
],
"homepage": "https://github.com/igordanchenko/yet-another-react-lightbox-lite",
"repository": {
"type": "git",
"url": "https://github.com/igordanchenko/yet-another-react-lightbox-lite.git"
},
"bugs": {
"url": "https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"
},
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"scripts": {
"prepare": "husky",
"clean": "rimraf dist",
"touch": "mkdirp dist",
"start": "npm-run-all clean touch --parallel \"build:* -- -w\"",
"build": "npm-run-all clean touch build:scss build:css build:dts build:js",
"build:scss": "sass src --no-source-map",
"build:css": "postcss src/*.css --base src -d dist -u autoprefixer cssnano --no-map",
"build:dts": "ncp src/styles.css.d.ts dist/styles.css.d.ts",
"build:js": "rollup -c",
"lint": "eslint",
"test": "vitest run",
"test:ui": "vitest --ui",
"dev": "vite --config dev/vite.config.ts",
"dev:build": "vite build --config dev/vite.config.ts",
"dev:preview": "vite preview --config dev/vite.config.ts",
"ci": "npm-run-all build test lint"
},
"peerDependencies": {
"@types/react": "^18 || ^19",
"@types/react-dom": "^18 || ^19",
"react": "^18 || ^19",
"react-dom": "^18 || ^19"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"@types/react-dom": {
"optional": true
}
},
"devDependencies": {
"@commitlint/cli": "^19.7.1",
"@commitlint/config-conventional": "^19.7.1",
"@eslint/js": "^9.19.0",
"@rollup/plugin-typescript": "^12.1.2",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@testing-library/user-event": "^14.6.1",
"@types/dom-view-transitions": "^1.0.5",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^3.0.5",
"@vitest/ui": "^3.0.5",
"autoprefixer": "^10.4.20",
"cssnano": "^7.0.6",
"eslint": "^9.19.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.1.0",
"globals": "^15.14.0",
"husky": "^9.1.7",
"jsdom": "^26.0.0",
"lint-staged": "^15.4.3",
"mkdirp": "^3.0.1",
"ncp": "^2.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.5.1",
"postcss-cli": "^11.0.0",
"prettier": "^3.4.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^6.0.1",
"rollup": "^4.34.2",
"rollup-plugin-dts": "^6.1.1",
"sass": "^1.83.4",
"tslib": "^2.8.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.23.0",
"vite": "^6.0.11",
"vitest": "^3.0.5"
},
"keywords": [
"react",
"lightbox",
"react lightbox",
"react lightbox lite",
"lightweight react lightbox"
]
}