UNPKG

vue-avatar-cropper

Version:

A simple and elegant component to crop and upload avatars

86 lines 2.4 kB
{ "name": "vue-avatar-cropper", "description": "A simple and elegant component to crop and upload avatars", "version": "6.1.1", "main": "./dist/avatar-cropper.umd.js", "module": "./dist/avatar-cropper.esm.js", "unpkg": "./dist/avatar-cropper.umd.js", "exports": { "require": "./dist/avatar-cropper.umd.js", "import": "./dist/avatar-cropper.esm.js" }, "browser": { "./sfc": "src/AvatarCropper.vue" }, "files": [ "dist/avatar-cropper.umd.js", "dist/avatar-cropper.esm.js", "src/AvatarCropper.vue", "src/index.js" ], "repository": { "type": "git", "url": "git+https://github.com/overtrue/vue-avatar-cropper.git" }, "keywords": [ "vue", "cropper", "vue-cropper", "vue-avatar", "avatar-cropper", "vue-avatar-cropper" ], "peerDependencies": { "vue": "^3.2.21" }, "devDependencies": { "@babel/core": "^7.15.5", "@babel/plugin-transform-async-to-generator": "^7.16.8", "@babel/plugin-transform-regenerator": "^7.16.7", "@babel/plugin-transform-runtime": "^7.17.0", "@babel/preset-env": "^7.15.6", "@rollup/plugin-babel": "^6.0.4", "@vue/compiler-sfc": "^3.2.11", "autoprefixer": "^10.3.4", "eslint": "^8.1.0", "eslint-plugin-vue": "^9.17.0", "node-sass": "^9.0.0", "npm-run-all": "^4.1.5", "postcss": "^8.3.6", "rollup": "^2.64.0", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-postcss": "^4.0.1", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-vue": "^6.0.0", "sirv-cli": "^2.0.1", "vue": "^3.2.21", "vue-eslint-parser": "^9.0.3" }, "dependencies": { "cropperjs": "^1.5.12", "mime": "^4.0.0" }, "author": { "name": "overtrue", "email": "i@overtrue.me", "url": "https://github.com/overtrue" }, "engines": { "node": ">=10" }, "license": "MIT", "bugs": { "url": "https://github.com/overtrue/vue-avatar-cropper/issues" }, "homepage": "https://github.com/overtrue/vue-avatar-cropper#readme", "scripts": { "build": "NODE_ENV=production rollup -c", "dev:build": "rollup -c -w --no-watch.clearScreen", "dev:serve": "sirv ./dev -s -D -p 8629", "dev": "run-p dev:build dev:serve", "dev:net": "run-p dev:build 'dev:serve --host'", "test:lint": "eslint .", "pretest": "run-s build", "test": "run-p --aggregate-output test:*" } }