-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
125 lines (125 loc) · 3.54 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
124
125
{
"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",
"@types/react-dom": ">=18",
"react": ">=18",
"react-dom": ">=18"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"@types/react-dom": {
"optional": true
}
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@rollup/plugin-typescript": "^12.1.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/dom-view-transitions": "^1.0.5",
"@types/react": "^18.3.9",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitejs/plugin-react": "^4.3.1",
"@vitest/coverage-v8": "^2.1.1",
"@vitest/ui": "^2.0.5",
"autoprefixer": "^10.4.20",
"cssnano": "^7.0.6",
"eslint": "^8.57.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.36.1",
"eslint-plugin-react-hooks": "^4.6.2",
"husky": "^9.1.6",
"jsdom": "^25.0.1",
"lint-staged": "^15.2.10",
"mkdirp": "^3.0.1",
"ncp": "^2.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.47",
"postcss-cli": "^11.0.0",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^6.0.1",
"rollup": "^4.22.4",
"rollup-plugin-dts": "^6.1.1",
"sass": "^1.79.3",
"typescript": "^5.5.4",
"vite": "^5.4.7",
"vitest": "^2.0.5"
},
"keywords": [
"react",
"lightbox",
"react lightbox",
"react lightbox lite",
"lightweight react lightbox"
]
}