-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
80 lines (80 loc) · 2.29 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
{
"name": "parvus",
"type": "module",
"version": "2.6.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",
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"core-js": "^3.37.1",
"postcss": "^8.4.38",
"rollup": "^4.18.0",
"rollup-plugin-license": "^3.4.0",
"rollup-plugin-postcss": "^4.0.2",
"sass": "^1.77.4",
"standard": "^17.1.0",
"stylelint": "^16.6.1",
"stylelint-config-standard-scss": "^13.1.0",
"stylelint-scss": "^6.3.1",
"stylelint-use-logical": "^2.1.2"
},
"browserslist": [
"last 2 versions",
"> 1%",
"not dead"
],
"standard": {
"globals": [
"Image",
"history",
"CustomEvent",
"requestAnimationFrame",
"getComputedStyle"
]
},
"scripts": {
"build": "npm run testCss && npm run buildCss && npm run testJs && npm run buildJs",
"buildCss": "rollup -c --environment BUILDCSS --bundleConfigAsCjs",
"buildJs": "rollup -c --environment BUILDJS --bundleConfigAsCjs",
"buildWatch": "npm run buildWatchJs && npm run buildWatchCss",
"buildWatchCss": "rollup -c -w --environment BUILDCSS --bundleConfigAsCjs",
"buildWatchJs": "rollup -c -w --environment BUILDJS --bundleConfigAsCjs",
"testCss": "stylelint \"src/scss/parvus.scss\"",
"testJs": "standard \"src/js/parvus.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://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"
}