UNPKG

vue-mobile-detection

Version:

Vue.js prototype function `this.$isMobile()` that returns a Boolean value depending on whether or not the user is browsing with a mobile

47 lines (46 loc) 1.4 kB
{ "name": "vue-mobile-detection", "description": "Vue.js prototype function `this.$isMobile()` that returns a Boolean value depending on whether or not the user is browsing with a mobile", "author": "Alberto Jerez <albertoj04@gmail.com>", "main": "dist/vue-mobile-detection.umd.min.js", "unpkg": "dist/vue-mobile-detection.umd.min.js", "version": "2.0.1", "private": false, "repository": { "type": "git", "url": "git://github.com/ajerez/vue-mobile-detection.git" }, "keywords": [ "vue", "mobile", "detection" ], "scripts": { "serve": "vue-cli-service serve", "build:docs": "vue-cli-service build --dest docs --name vue-mobile-detection src/main.js", "lint": "vue-cli-service lint", "build": "vue-cli-service build --target lib --name vue-mobile-detection ./src/components/index.js" }, "dependencies": { "vue": "^3.2.20" }, "devDependencies": { "@vue/cli-plugin-babel": "~4.5.15", "@vue/cli-plugin-eslint": "~4.5.15", "@vue/cli-service": "~4.5.15", "@vue/compiler-sfc": "^3.2.20", "@vue/eslint-config-prettier": "^6.0.0", "babel-eslint": "^10.1.0", "eslint": "^6.7.2", "eslint-plugin-prettier": "^3.3.1", "eslint-plugin-vue": "^8.0.1", "lint-staged": "^9.5.0", "prettier": "^2.2.1" }, "lint-staged": { "*.{js,jsx,vue}": [ "vue-cli-service lint", "git add" ] } }