UNPKG

sticky-state

Version:

StickyState is a high performant module making native position:sticky statefull and polyfill the missing sticky browser feature

57 lines (56 loc) 2 kB
{ "name": "sticky-state", "version": "2.4.1", "description": "StickyState is a high performant module making native position:sticky statefull and polyfill the missing sticky browser feature", "main": "dist/sticky-state.js", "jsnext:main": "src/sticky-state.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "watch-js": "NODE_ENV=development webpack -wd --config ./webpack.dev.js", "build": "NODE_ENV=production webpack -p --config ./webpack.prod.js && cp src/sticky-state.css dist/", "build:debug": "NODE_ENV=production webpack --config ./webpack.prod.js && cp src/sticky-state.css dist/", "dist": "npm run build && npm run build-lib", "start": "npm run build && run-p watch-js devserver", "build-lib": "BABEL_ENV=production babel src -d dist", "devserver": "webpack-dev-server --config ./webpack.dev.js" }, "repository": { "type": "git", "url": "git+https://github.com/soenkekluth/sticky-state.git" }, "keywords": [ "position:sticky", "sticky", "polyfill", "state", "statefull", "performant", "position" ], "author": "Sönke Kluth <soenke.kluth@gmail.com> (http://soenkekluth.com/)", "license": "MIT", "bugs": { "url": "https://github.com/soenkekluth/sticky-state/issues" }, "homepage": "https://github.com/soenkekluth/sticky-state#readme", "dependencies": { "classstring": "1.0.0", "eventdispatcher": "2.1.2", "object-assign": "4.1.0", "scrollfeatures": "1.5.0" }, "devDependencies": { "babel-cli": "6.18.0", "babel-core": "6.18.2", "babel-loader": "6.2.8", "babel-plugin-add-module-exports": "0.2.1", "babel-plugin-transform-class-constructor-call": "6.18.0", "babel-plugin-transform-class-properties": "6.19.0", "babel-plugin-transform-es2015-classes": "6.18.0", "babel-preset-es2015": "6.18.0", "jsdom": "9.8.3", "npm-run-all": "3.1.1", "webpack": "1.13.3", "webpack-dev-server": "1.16.2" } }