UNPKG

tua-body-scroll-lock

Version:

🔐Body scroll locking that just works with everything

136 lines (135 loc) 3.91 kB
{ "name": "tua-body-scroll-lock", "version": "1.6.3", "packageManager": "pnpm@9.12.3", "description": "🔐Body scroll locking that just works with everything", "main": "./dist/tua-bsl.umd.js", "module": "./dist/tua-bsl.mjs", "unpkg": "./dist/tua-bsl.umd.min.js", "jsdelivr": "./dist/tua-bsl.umd.min.js", "typings": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/tua-bsl.mjs", "require": "./dist/tua-bsl.umd.js" }, "./dist/*": "./dist/*" }, "scripts": { "cov": "open coverage/lcov-report/index.html", "prepare": "is-ci || husky install", "clean": "rimraf dist/*", "type-check": "tsc --noEmit", "lint": "eslint ./ --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", "dev": "rollup -c -w", "start": "npm run dev", "play:v": "npm -C examples/vanilla run dev", "play:vue": "npm -C examples/vue run dev", "play:react": "npm -C examples/react run dev", "test": "npm run type-check && cross-env NODE_ENV=test jest", "test:unit:tdd": "cross-env NODE_ENV=test jest --watch", "prebuild": "concurrently npm:lint npm:clean npm:test", "build": "cross-env NODE_ENV=production rollup -c && cp index.html dist/index.html", "prepublishOnly": "npm run build", "push:current": "git config --local push.default current", "pub": "npm run push:current && bumpp && npm publish", "pub:n": "npm run push:current && bumpp && npm publish --tag next", "deploy": "npm run build && gh-pages -d dist" }, "files": [ "src/", "dist/" ], "eslintIgnore": [ "dist/" ], "lint-staged": { "*.{vue,js,jsx,cjs,mjs,ts,tsx,cts,mts}": [ "eslint --fix" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "devDependencies": { "@babel/core": "^7.26.0", "@babel/preset-env": "^7.26.0", "@babel/preset-typescript": "^7.26.0", "@commitlint/cli": "^19.5.0", "@commitlint/config-conventional": "^19.5.0", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-eslint": "^9.0.5", "@rollup/plugin-replace": "^6.0.1", "@rollup/plugin-terser": "^0.4.4", "@types/jest": "^29.5.14", "@types/node": "^22.8.6", "@typescript-eslint/eslint-plugin": "^8.12.2", "@typescript-eslint/parser": "^8.12.2", "@vue/eslint-config-typescript": "^13", "all-contributors-cli": "^6.26.1", "babel-eslint": "^10.1.0", "babel-jest": "^29.7.0", "bumpp": "^9.8.0", "concurrently": "^9.0.1", "cross-env": "^7.0.3", "eslint": "^8", "eslint-config-standard": "^17.1.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^7.1.0", "eslint-plugin-vue": "^9.30.0", "gh-pages": "^6.2.0", "husky": "^9.1.6", "is-ci": "^3.0.1", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "lint-staged": "^15.2.10", "rimraf": "^6.0.1", "rollup": "^4.24.3", "rollup-plugin-typescript2": "^0.36.0", "typescript": "~5.6.3", "vue-eslint-parser": "^9.4.3" }, "repository": { "type": "git", "url": "https://github.com/tuax/tua-body-scroll-lock.git" }, "keywords": [ "body scroll", "body scroll lock", "react scroll lock", "react scroll", "scroll", "lock", "freeze", "toggle", "disable", "overflow", "modal", "lightbox", "react", "vanilla-js", "angular", "vue", "ios", "mobile", "desktop", "tablet", "bsl" ], "author": "Evinma, BuptStEve", "license": "MIT", "pnpm": { "overrides": { "@babel/traverse@<7.23.2": ">=7.25.9", "postcss@<8.4.31": ">=8.4.47", "semver@<5.7.2": ">=7.6.3", "semver@>=6.0.0 <6.3.1": ">=6.3.1", "vite@>=4.0.0 <=4.5.1": ">=4.5.2", "vite@>=4.4.0 <4.4.12": ">=4.4.12" } } }