Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.22 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 2.22 KB
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
{
"name": "parvus",
"type": "module",
"version": "3.2.0",
"description": "An open source, dependency free image lightbox with the goal of being accessible.",
"main": "./dist/js/parvus.js",
"module": "./dist/js/parvus.esm.js",
"style": "./dist/css/parvus.css",
"sideEffects": false,
"engines": {
"node": ">=20.19.0"
},
"files": [
"dist",
"src",
"CHANGELOG.md"
],
"devDependencies": {
"@rollup/plugin-terser": "^1.0.2",
"postcss": "^8.5.31",
"rollup": "^4.65.1",
"rollup-plugin-license": "^3.7.1",
"rollup-plugin-postcss": "^4.0.2",
"sass": "^1.106.1",
"standard": "^17.1.2",
"stylelint": "^17.16.0",
"stylelint-config-standard-scss": "^17.0.0",
"stylelint-scss": "^7.4.0",
"stylelint-use-logical": "^2.1.3"
},
"browserslist": [
"last 2 versions and > 1% and not dead"
],
"standard": {
"globals": [
"Image",
"history",
"CustomEvent",
"requestAnimationFrame",
"getComputedStyle"
]
},
"scripts": {
"build": "npm run test && rollup -c --environment BUILDCSS,BUILDJS --bundleConfigAsCjs",
"buildCss": "rollup -c --environment BUILDCSS --bundleConfigAsCjs",
"buildJs": "rollup -c --environment BUILDJS --bundleConfigAsCjs",
"buildWatch": "rollup -c -w --environment BUILDCSS,BUILDJS --bundleConfigAsCjs",
"buildWatchCss": "rollup -c -w --environment BUILDCSS --bundleConfigAsCjs",
"buildWatchJs": "rollup -c -w --environment BUILDJS --bundleConfigAsCjs",
"testCss": "stylelint \"src/scss/parvus.scss\"",
"testJs": "standard \"src/js/**/*.js\"",
"test": "npm run testCss && npm run testJs"
},
"exports": {
".": {
"import": "./dist/js/parvus.esm.js",
"require": "./dist/js/parvus.js"
},
"./src/scss/*": "./src/scss/*.scss",
"./src/l10n/*": "./src/l10n/*.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/deoostfrees/parvus.git"
},
"keywords": [
"lightbox",
"accessible",
"a11y",
"javascript",
"vanilla",
"scss",
"css"
],
"author": "Benjamin de Oostfrees",
"license": "MIT",
"bugs": {
"url": "https://github.com/deoostfrees/parvus/issues"
},
"homepage": "https://github.com/deoostfrees/parvus"
}