UNPKG

scroll-stash

Version:

A JavaScript plugin to help preserve an element's scroll position.

55 lines (54 loc) 1.65 kB
{ "name": "scroll-stash", "description": "A JavaScript plugin to help preserve an element's scroll position.", "version": "1.1.2", "license": "MIT", "keywords": [ "JavaScript", "component", "drawer", "scroll" ], "source": "src/index.js", "main": "dist/scripts.js", "module": "dist/scripts.esm.js", "unpkg": "dist/scripts.umd.js", "scripts": { "build": "microbundle --name=ScrollStash", "build:dev": "microbundle --name=ScrollStash --output=dev --no-compress", "clean": "del dist && del dev", "lint": "eslint src/*", "lint:fix": "eslint src/* --fix", "sink": "npm ci && npm-run-all clean build lint test:coverage", "test": "jest", "test:coverage": "jest --coverage", "test:watch": "jest --watch", "unreleased": "conventional-changelog --outfile UNRELEASED.md --output-unreleased", "watch": "npm run build -- --watch", "watch:dev": "npm run build:dev -- --watch" }, "repository": { "type": "git", "url": "git+https://github.com/sebnitu/scroll-stash.git" }, "devDependencies": { "@babel/core": "^7.14.5", "@babel/preset-env": "^7.14.5", "@testing-library/jest-dom": "^5.14.1", "@vrembem/base": "^1.30.0", "@vrembem/dialog": "^1.30.0", "@vrembem/menu": "^1.31.2", "@vrembem/utility": "^1.31.2", "babel-jest": "^27.0.2", "conventional-changelog-cli": "^2.1.1", "coveralls": "^3.1.0", "del-cli": "^3.0.1", "eslint": "^7.28.0", "eslint-plugin-jest": "^24.3.6", "jest": "^27.0.4", "jest-puppeteer": "^5.0.4", "microbundle": "^0.13.3", "npm-run-all": "^4.1.5", "puppeteer": "9.1.1" } }