UNPKG

nuxt-ssr-screen-size

Version:

Get easy and reactive access to the width and height of your screen.

87 lines (86 loc) 2.8 kB
{ "name": "nuxt-ssr-screen-size", "version": "1.0.0", "description": "Get easy and reactive access to the width and height of your screen.", "authors": [ "Hugo Jerez <hugojerez21@gmail.com>", "John Datserakis <johndatserakis@gmail.com>" ], "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/promosis/nuxt-ssr-screen-size.git" }, "bugs": { "url": "https://github.com/promosis/nuxt-ssr-screen-size/issues" }, "keywords": [ "vue", "screen", "size", "width", "height" ], "main": "dist/nuxt-ssr-screen-size.umd.js", "module": "dist/nuxt-ssr-screen-size.esm.js", "unpkg": "dist/nuxt-ssr-screen-size.min.js", "browser": { "./sfc": "src/nuxt-ssr-screen-size.vue" }, "scripts": { "watch": "cross-env NODE_ENV=development webpack-dev-server --open --hot", "watch:vue-cli": "vue serve ./src/nuxt-ssr-screen-size.vue", "build": "rm -rf ./dist npm run build:unpkg & npm run build:es & npm run build:umd & npm run build:unpkg", "build:umd": "rollup --config build/rollup.config.js --format umd --file dist/nuxt-ssr-screen-size.umd.js", "build:es": "rollup --config build/rollup.config.js --format es --file dist/nuxt-ssr-screen-size.esm.js", "build:unpkg": "rollup --config build/rollup.config.js --format iife --file dist/nuxt-ssr-screen-size.min.js", "build:example": "rm -rf ./docs && cross-env NODE_ENV=production webpack --progress --hide-modules", "test": "jest" }, "dependencies": {}, "devDependencies": { "@vue/test-utils": "^1.0.0-beta.25", "babel-core": "^6.26.3", "babel-loader": "^8.0.6", "babel-preset-env": "^1.7.0", "babel-preset-stage-3": "^6.24.1", "cross-env": "^7.0.2", "css-loader": "^3.4.2", "file-loader": "^5.1.0", "minimist": "^1.2.5", "node-sass": "^4.13.1", "rollup": "^2.0.5", "rollup-plugin-buble": "^0.19.8", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-terser": "^5.3.0", "rollup-plugin-vue": "^5.1.6", "rollup-plugin-css-only": "^2.0.0", "sass-loader": "^8.0.2", "vue": "^2.6.11", "vue-loader": "^15.9.0", "vue-template-compiler": "^2.6.11", "webpack": "^4.42.0", "webpack-dev-server": "^3.10.3", "html-webpack-plugin": "^3.2.0", "jest": "^25.1.0", "jest-serializer-vue": "^2.0.2", "vue-jest": "^3.0.5" }, "jest": { "moduleFileExtensions": [ "js", "vue" ], "moduleNameMapper": { "^@/(.*)$": "<rootDir>/src/$1" }, "transform": { "^.+\\.js$": "<rootDir>/node_modules/babel-jest", ".*\\.(vue)$": "<rootDir>/node_modules/vue-jest" }, "snapshotSerializers": [ "<rootDir>/node_modules/jest-serializer-vue" ] } }