scroll-padlock
Version:
Locks elements scroll handling scrollbar gaps and iOS Safari with CSS variables
68 lines (67 loc) • 1.95 kB
JSON
{
"name": "scroll-padlock",
"type": "module",
"author": {
"name": "memob0x",
"email": "dfioroni91@gmail.com",
"url": "https://github.com/memob0x"
},
"description": "Locks elements scroll handling scrollbar gaps and iOS Safari with CSS variables",
"main": "dist/umd/scroll-padlock.min.js",
"module": "dist/es/scroll-padlock.js",
"version": "2.0.0",
"license": "MIT",
"repository": "https://github.com/memob0x/scroll-padlock.git",
"keywords": [
"scroll",
"lock",
"body",
"document",
"prevent",
"freeze",
"disable",
"lightbox",
"modal",
"overlay",
"ios",
"safari",
"apple",
"iphone",
"ipad",
"ipod",
"css",
"css-variables",
"scrollbar",
"scrollbars",
"scrollbar-width",
"gap",
"compensation",
"desktop",
"tablet"
],
"scripts": {
"lint": "./node_modules/.bin/eslint --ext .js --ext .js . --fix",
"build": "node ./build.js",
"test:unit": "./node_modules/.bin/mocha ./test/unit/*.spec.*",
"test:e2e": "./node_modules/.bin/mocha --timeout 12000 ./test/e2e/*.spec.* ",
"test": "npm run test:unit && npm run test:e2e"
},
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/eslint-parser": "^7.14.4",
"@babel/eslint-plugin": "^7.13.16",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/preset-env": "^7.14.4",
"@rollup/plugin-babel": "^5.3.0",
"chai": "^4.3.4",
"eslint": "^7.27.0",
"jsdom": "^16.6.0",
"jsdom-global": "^3.0.2",
"mocha": "^8.4.0",
"puppeteer": "^10.0.0",
"resemblejs": "^3.2.5",
"rollup": "^2.50.6",
"rollup-plugin-gzip": "^2.5.0",
"rollup-plugin-terser": "^7.0.2"
}
}