UNPKG

formatchange

Version:

Utility that monitors named CSS media-query breakpoints and triggers event callbacks when a media-format change occurs.

51 lines (50 loc) 1.57 kB
{ "name": "formatchange", "version": "2.3.1", "description": "Utility that monitors named CSS media-query breakpoints and triggers event callbacks when a media-format change occurs.", "main": "formatchange.js", "types": "index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build:ts": "tsc --project ./tsconfig.build.json", "build": "yarn install && tsc --noEmit && yarn run build:ts", "dev": "yarn install && yarn run concurrently \"tsc --noEmit --watch --preserveWatchOutput\" \"yarn run build:ts --watch\"", "prepublishOnly": "yarn run build" }, "repository": { "type": "git", "url": "git@github.com:maranomynet/formatchange.git" }, "keywords": [ "JavaScript", "events", "media-queries", "responsive-web-design" ], "author": "Hugsmiðjan ehf. <hugsmidjan@hugsmidjan.is> (http://www.hugsmidjan.is/)", "contributors": [ "Már Örlygsson <mar.nospam@anomy.net> (http://mar.anomy.net/)" ], "license": "MIT AND GPL-2.0-or-later", "bugs": { "url": "https://github.com/maranomynet/formatchange/issues" }, "homepage": "https://github.com/maranomynet/formatchange", "devDependencies": { "@types/node": "^17.0.20", "@types/react": "^17.0.39", "concurrently": "^7.0.0", "react": "^17.0.2", "tslib": "^2.3.1", "typescript": "^4.5.5" }, "sideEffects": [ "./jquery.js" ], "exports": { ".": "./formatchange.js", "./jquery": "./jquery.js", "./react": "./react.js", "./makeGroups": "./makeGroups.js" } }