UNPKG

2.27 kBJSONView Raw
1{
2 "name": "vanilla-lazyload",
3 "version": "19.1.3",
4 "description": "LazyLoad is a lightweight (2.4 kB) and flexible script that speeds up your web application by deferring the loading of your below-the-fold images, videos and iframes to when they will enter the viewport. It's written in plain \"vanilla\" JavaScript, it leverages the IntersectionObserver API, it supports responsive images, it optimizes your website for slower connections, and can enable native lazy loading.",
5 "main": "dist/lazyload.min.js",
6 "module": "dist/esm/lazyload.js",
7 "browser": "dist/lazyload.min.js",
8 "typings": "typings/lazyload.d.ts",
9 "sideEffects": false,
10 "devDependencies": {
11 "@babel/core": "^7.24.3",
12 "@babel/preset-env": "^7.24.3",
13 "@jest/globals": "^29.7.0",
14 "@playwright/test": "^1.42.1",
15 "@rollup/plugin-babel": "^6.0.4",
16 "@rollup/plugin-node-resolve": "^15.2.3",
17 "@rollup/plugin-terser": "^0.4.4",
18 "@types/node": "^20.12.2",
19 "jest": "^29.7.0",
20 "jest-environment-jsdom": "^29.7.0",
21 "http-server": "^14.1.1",
22 "rollup": "^4.13.1"
23 },
24 "scripts": {
25 "serve": "npx http-server -p 4200",
26 "build": "rollup -c",
27 "dev": "rollup -c --watch",
28 "test": "npm run test:unit && npm run test:e2e",
29 "test:unit": "jest",
30 "watch-test:unit": "jest --watch",
31 "test:e2e": "playwright test",
32 "test-watch:e2e": "npx playwright test --ui"
33 },
34 "files": [
35 "dist",
36 "typings",
37 "CHANGELOG.md"
38 ],
39 "repository": {
40 "type": "git",
41 "url": "https://github.com/verlok/vanilla-lazyload"
42 },
43 "keywords": [
44 "lazyload",
45 "vanilla",
46 "responsive",
47 "images",
48 "picture",
49 "srcset",
50 "sizes",
51 "native",
52 "SEO",
53 "intersectionObserver",
54 "progressive",
55 "performance",
56 "perfmatters",
57 "async",
58 "no-jquery"
59 ],
60 "author": {
61 "name": "Andrea \"verlok\" Verlicchi",
62 "email": "andrea.verlicchi@gmail.com",
63 "url": "https://www.andreaverlicchi.eu"
64 },
65 "license": "MIT",
66 "bugs": {
67 "url": "https://github.com/verlok/vanilla-lazyload/issues"
68 },
69 "homepage": "https://www.andreaverlicchi.eu/vanilla-lazyload",
70 "funding": {
71 "type": "individual",
72 "url": "https://ko-fi.com/verlok"
73 },
74 "browserslist": [
75 "defaults"
76 ]
77}