UNPKG

tua-body-scroll-lock

Version:

🔐Body scroll locking that just works with everything

108 lines (107 loc) 3.38 kB
{ "name": "tua-body-scroll-lock", "version": "1.0.0", "description": "🔐Body scroll locking that just works with everything", "main": "dist/tua-bsl.umd.js", "module": "dist/tua-bsl.esm.js", "unpkg": "dist/tua-bsl.umd.js", "jsdelivr": "dist/tua-bsl.umd.js", "typings": "dist/index.d.ts", "scripts": { "cov": "open coverage/lcov-report/index.html", "type-check": "tsc --noEmit", "type-check:watch": "npm run type-check -- --watch", "lint": "eslint --fix ./", "start": "rollup -c -w", "test": "npm run type-check && cross-env NODE_ENV=test jest", "test:tdd": "cross-env NODE_ENV=test jest --watch", "prebuild": "rimraf dist/* & npm test", "build": "npm run lint && cross-env NODE_ENV=production rollup -c && cp index.html dist/index.html", "next": "npm --no-git-tag-version version prerelease", "next:m": "npm --no-git-tag-version version preminor", "pub": "npm run build && npm publish", "pub:n": "npm run build && npm publish --tag next", "deploy": "npm run build && gh-pages -d dist" }, "files": [ "src/", "dist/" ], "eslintIgnore": [ "dist/" ], "husky": { "hooks": { "pre-push": "npm run build", "pre-commit": "lint-staged", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "lint-staged": { "{src,test}/**/*.js": [ "eslint --fix", "git add" ] }, "devDependencies": { "@babel/core": "^7.3.3", "@babel/preset-env": "^7.3.1", "@babel/preset-typescript": "^7.3.3", "@commitlint/cli": "^7.5.2", "@commitlint/config-conventional": "^7.5.0", "@types/jest": "^24.0.17", "@typescript-eslint/eslint-plugin": "^1.13.0", "@typescript-eslint/parser": "^1.13.0", "all-contributors-cli": "^6.3.0", "babel-eslint": "^10.0.1", "babel-jest": "^24.8.0", "cross-env": "^5.2.0", "eslint-config-standard": "^12.0.0", "eslint-plugin-import": "^2.16.0", "eslint-plugin-node": "^8.0.1", "eslint-plugin-promise": "^4.0.1", "eslint-plugin-standard": "^4.0.0", "gh-pages": "^2.0.1", "husky": "^1.3.1", "jest": "^24.8.0", "jest-environment-jsdom-thirteen": "^1.0.1", "lint-staged": "^8.1.4", "rollup": "^1.2.2", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-eslint": "^5.0.0", "rollup-plugin-json": "^3.1.0", "rollup-plugin-replace": "^2.1.0", "rollup-plugin-terser": "^5.0.0", "rollup-plugin-typescript2": "^0.22.1", "typescript": "^3.5.3" }, "repository": { "type": "git", "url": "https://github.com/tuateam/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" }