scroll-snap
Version:
Snap page when user stops scrolling, with a customizable configuration and a consistent cross browser behaviour
78 lines (77 loc) • 2.42 kB
JSON
{
"name": "scroll-snap",
"version": "5.0.2",
"description": "Snap page when user stops scrolling, with a customizable configuration and a consistent cross browser behaviour",
"main": "dist/scroll-snap.min.js",
"module": "dist/scroll-snap.esm.js",
"unpkg": "dist/scroll-snap.min.js",
"jsdelivr": "dist/scroll-snap.min.js",
"types": "dist/index.d.ts",
"files": [
"dist/scroll-snap.js",
"dist/scroll-snap.min.js",
"dist/scroll-snap.esm.js",
"dist/index.d.ts",
"dist/scroll-snap.js.map",
"dist/scroll-snap.min.js.map",
"dist/scroll-snap.esm.js.map"
],
"author": {
"name": "Luca Falasco",
"email": "falasco.luca@gmail.com",
"url": "https://lucafalasco.com"
},
"repository": {
"type": "git",
"url": "https://github.com/lucafalasco/scroll-snap.git"
},
"keywords": [
"scroll",
"scrolling",
"snap",
"scrollsnap",
"pagesnap",
"custom"
],
"bugs": {
"url": "https://github.com/lucafalasco/scroll-snap/issues"
},
"license": "MIT",
"homepage": "https://github.com/lucafalasco/scroll-snap",
"type": "module",
"devDependencies": {
"@playwright/test": "^1.40.0",
"@testing-library/jest-dom": "^5.16.5",
"@types/jest": "^29.5.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"del-cli": "^5.1.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"mkdirp": "^3.0.1",
"ts-jest": "^29.1.0",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"vite": "^5.0.0",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4"
},
"scripts": {
"start": "webpack serve --env development",
"build:clean": "del ./dist/*",
"build:bundles": "webpack --env production && webpack --env production --env minify && webpack --env production --env esm",
"build:types": "tsc -p tsconfig.types.json",
"build": "yarn build:clean && yarn build:bundles && yarn build:types",
"build:docs": "del ./docs/playground && webpack --env docs",
"prepare": "yarn build",
"test": "yarn test:unit",
"test:unit": "NODE_OPTIONS=--experimental-vm-modules jest",
"test:watch": "yarn test:unit --watch",
"test:coverage": "yarn test:unit --coverage",
"test:e2e": "playwright test",
"test:e2e:headed": "playwright test --headed",
"test:e2e:ui": "playwright test --ui"
},
"packageManager": "yarn@4.4.1"
}