UNPKG

ismobilejs-es5

Version:

A simple JS library that detects mobile devices.

54 lines (53 loc) 1.52 kB
{ "name": "ismobilejs-es5", "publishConfig": { "access": "public" }, "version": "0.0.1", "description": "A simple JS library that detects mobile devices.", "keywords": [ "ismobile", "device detection", "mobile devices", "useragent" ], "homepage": "https://github.com/DeviousM/isMobile", "license": "MIT", "author": { "name": "Kai Mallea", "email": "kmallea@gmail.com" }, "repository": { "type": "git", "url": "https://github.com/DeviousM/isMobile.git" }, "main": "cjs/index.js", "module": "esm/index.js", "jsdelivr": "dist/isMobile.min.js", "types": "types", "scripts": { "prebuild": "rm -rf cjs esm dist", "build": "yarn build:library && yarn build:browser", "build:library": "web-scripts build", "build:browser": "parcel build --target browser --experimental-scope-hoisting --global isMobile --out-file isMobile.min.js src/index.browser.ts", "test": "jest", "lint": "web-scripts lint", "commit": "web-scripts commit", "release": "web-scripts release" }, "husky": { "hooks": { "pre-commit": "web-scripts precommit --jest-config ./jest.config.js", "commit-msg": "web-scripts commitmsg" } }, "devDependencies": { "@spotify/web-scripts": "^1.2.0", "@types/puppeteer": "^1.19.1", "husky": "^3.0.3", "jest-puppeteer": "^4.3.0", "parcel-bundler": "^1.12.3", "puppeteer": "^1.19.0", "ts-jest": "^24.0.2" } }