-
Notifications
You must be signed in to change notification settings - Fork 38
/
package.json
100 lines (100 loc) · 3.25 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
{
"name": "imagelightbox",
"version": "3.0.0",
"description": "Image Lightbox, Responsive and Touch‑friendly",
"homepage": "https://marekdedic.github.io/imagelightbox",
"license": "MIT",
"repository": "https://github.com/marekdedic/imagelightbox.git",
"type": "module",
"main": "./dist/imagelightbox.umd.cjs",
"module": "./dist/imagelightbox.js",
"style": "./dist/imagelightbox.min.css",
"types": "./types/imagelightbox.d.ts",
"exports": {
".": {
"import": "./dist/imagelightbox.js",
"require": "./dist/imagelightbox.umd.cjs",
"style": "./dist/imagelightbox.min.css",
"types": "./types/imagelightbox.d.ts"
},
"./jquery": {
"import": "./dist/imagelightbox.jquery.js",
"require": "./dist/imagelightbox.jquery.umd.cjs",
"style": "./dist/imagelightbox.min.css",
"types": "./types/imagelightbox.jquery.d.ts"
}
},
"files": [
"dist",
"!dist/webpack-stats.jquery.json",
"!dist/webpack-stats.native.json",
"docs",
"types",
"LICENSE",
"README.md"
],
"devDependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
"@eslint/js": "^9.9.1",
"@playwright/test": "^1.47.0",
"@types/jquery": "^3.3.31",
"@types/node": "^22.0.0",
"autoprefixer": "^10.4.17",
"eslint": "^9.9.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-compat": "^6.0.0",
"eslint-plugin-perfectionist": "^3.2.0",
"eslint-plugin-playwright": "^2.0.0",
"eslint-plugin-prefer-arrow-functions": "^3.4.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.9.0",
"jquery": ">=1.12.4 <4.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^17.0.0",
"playwright": "^1.47.0",
"playwright-test-coverage": "^1.2.12",
"postcss": "^8.4.35",
"prettier": "^3.0.0",
"rimraf": "^6.0.1",
"rollup-plugin-webpack-stats": "^1.0.1",
"stylelint": "^16.3.1",
"stylelint-config-standard": "^36.0.0",
"stylelint-no-unsupported-browser-features": "^8.0.0",
"stylelint-prettier": "^5.0.0",
"typescript": "^5.3.3",
"typescript-eslint": "^8.3.0",
"vite": "^5.1.4",
"vite-plugin-istanbul": "^6.0.0"
},
"keywords": [
"jquery",
"lightbox"
],
"scripts": {
"clean": "rimraf dist/* docs/*",
"prebuild": "npm run clean",
"build:docs": "vite build --config docs.vite.config.ts",
"build:lib:native": "vite build --config native.vite.config.ts",
"build:lib:jquery": "vite build --config jquery.vite.config.ts",
"build:lib": "run-p -c --aggregate-output build:lib:*",
"build": "run-p -c --aggregate-output build:*",
"start": "vite --config docs.vite.config.ts",
"test": "nyc --reporter=lcov playwright test",
"lint:css:stylelint": "stylelint --color 'src/**/*.css'",
"lint:css": "run-p -c --aggregate-output lint:css:*",
"lint:ts:eslint": "eslint --color 'src/**/*.ts' 'tests/**/*.ts' 'types/**/*.ts' '*.config.{js,ts}'",
"lint:ts:typecheck": "tsc --noEmit",
"lint:ts": "run-p -c --aggregate-output lint:ts:*",
"lint": "run-p -c --aggregate-output lint:*",
"prepack": "npm run build",
"playwright-interactive": "playwright test --ui"
},
"browserslist": [
"cover 95%",
"> 0.5%",
"last 2 versions",
"Firefox ESR",
"not dead",
"not < 0.1%"
]
}