UNPKG

scroll-lock-body

Version:

scroll lock the body and remember the position

75 lines (74 loc) 2.11 kB
{ "name": "scroll-lock-body", "version": "0.0.11", "description": "scroll lock the body and remember the position", "cdn": "dist/index.umd.js", "main": "dist/index.js", "types": "types/index.d.ts", "unpkg": "dist/index.umd.js", "module": "dist/index.esm.js", "jsdelivr": "dist/index.umd.js", "umd:main": "dist/index.umd.js", "exports": { ".": [ { "import": "./dist/index.mjs", "require": "./dist/index.cjs", "default": "./dist/index.js" }, "./dist/index.js" ] }, "dependencies": {}, "devDependencies": { "@types/eslint": "^7.2.9", "@types/jest": "^26.0.22", "@types/prettier": "^2.2.3", "@typescript-eslint/eslint-plugin": "^4.21.0", "@typescript-eslint/parser": "^4.21.0", "browser-sync": "^2.26.14", "eslint": "^7.24.0", "eslint-config-prettier": "^8.1.0", "eslint-plugin-prettier": "^3.3.1", "jest": "^26.6.3", "prettier": "^2.2.1", "rollup": "^2.45.1", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.30.0", "ts-jest": "^26.5.4", "ts-jest-resolver": "^1.0.0", "typedoc": "^0.20.35", "typedoc-plugin-markdown": "^3.6.1", "typescript": "^4.2.4" }, "scripts": { "dev": "browser-sync . -w --port 3033", "doc": "typedoc src/index.ts", "test": "npm run test:lint && npm run test:unit", "test:lint": "eslint \"*/**/*.{ts,js,json}\"", "test:unit": "jest", "lint": "eslint \"*/**/*.{ts,js,json}\" --fix", "build": "rollup --config ./rollup.config.js", "watch": "rollup -w --config ./rollup.config.js", "prepublishOnly": "npm run doc && npm run build && npm run test" }, "repository": { "type": "git", "url": "git+https://github.com/kunukn/scroll-lock-body.git" }, "keywords": [ "typescript", "scroll", "lock", "library" ], "author": { "name": "kunukn" }, "license": "MIT", "bugs": { "url": "https://github.com/kunukn/scroll-lock-body/issues" }, "homepage": "https://github.com/kunukn/scroll-lock-body#readme" }