UNPKG

vue-image-upload-resize

Version:

A simple Vue.js component for client-side image upload with resizing

159 lines (158 loc) 4.73 kB
{ "name": "vue-image-upload-resize", "version": "1.1.5", "description": "A simple Vue.js component for client-side image upload with resizing", "author": "Svale Fossåskaret <svale@3by5.no>", "main": "dist/vue-image-upload-resize.common.js", "module": "dist/vue-image-upload-resize.esm.js", "browser": "dist/vue-image-upload-resize.js", "unpkg": "dist/vue-image-upload-resize.js", "keywords": [ "vue", "upload", "uploader", "img", "image", "resize" ], "files": [ "dist", "src" ], "watch": { "build": { "patterns": [ "src" ], "extensions": "js,vue" } }, "scripts": { "clean": "rimraf dist", "build": "node build/build.js", "build:dll": "webpack --progress --config build/webpack.config.dll.js", "lint": "yon run lint:js && yon run lint:css", "lint:js": "eslint --ext js --ext jsx --ext vue src test/**/*.spec.js test/*.js build", "lint:js:fix": "yon run lint:js -- --fix", "lint:css": "stylelint src/**/*.{vue,css}", "lint:staged": "lint-staged", "pretest": "yon run lint", "test": "echo \"Error: no test specified\" && exit 1", "futureTest": "cross-env BABEL_ENV=test karma start test/karma.conf.js --single-run", "dev": "webpack-dashboard -- webpack-dev-server --config build/webpack.config.dev.js --open", "dev:coverage": "cross-env BABEL_ENV=test karma start test/karma.conf.js", "prepublishOnly": "yon run build", "watch": "npm-watch" }, "lint-staged": { "*.{vue,jsx,js}": [ "eslint --fix" ], "*.{vue,css}": [ "stylefmt", "stylelint" ] }, "#pre-commit": "lint:staged", "dependencies": { "exif-js": "^2.3.0", "blueimp-canvas-to-blob": "^3.14.0" }, "peerDependencies": { "vue": "^2.4.2" }, "devDependencies": { "add-asset-html-webpack-plugin": "^2.1.1", "babel-core": "^6.26.0", "babel-eslint": "^7.2.0", "babel-helper-vue-jsx-merge-props": "^2.0.0", "babel-loader": "^7.1.2", "babel-plugin-istanbul": "^4.1.0", "babel-plugin-syntax-jsx": "^6.18.0", "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-plugin-transform-runtime": "^6.23.0", "babel-plugin-transform-vue-jsx": "^3.4.0", "babel-preset-env": "^1.4.0", "buble": "^0.15.2", "chai": "^3.5.0", "chai-dom": "^1.4.0", "clean-css": "^4.1.8", "cross-env": "^4.0.0", "css-loader": "^0.28.7", "eslint": "^3.19.0", "eslint-config-vue": "^2.0.0", "eslint-plugin-vue": "^2.0.0", "extract-text-webpack-plugin": "^2.1.0", "html-webpack-plugin": "^2.28.0", "karma": "^1.7.1", "karma-chai-dom": "^1.1.0", "karma-chrome-launcher": "^2.1.0", "karma-coverage": "^1.1.0", "karma-mocha": "^1.3.0", "karma-sinon-chai": "^1.3.2", "karma-sourcemap-loader": "^0.3.7", "karma-spec-reporter": "^0.0.31", "karma-webpack": "^2.0.0", "lint-staged": "^3.4.0", "mkdirp": "^0.5.1", "mocha": "^3.5.3", "mocha-css": "^1.0.1", "npm-watch": "^0.2.0", "postcss": "^6.0.11", "postcss-cssnext": "^2.10.0", "pre-commit": "^1.2.0", "rimraf": "^2.6.2", "rollup": "^0.41.6", "rollup-plugin-buble": "^0.15.0", "rollup-plugin-commonjs": "^8.2.1", "rollup-plugin-jsx": "^1.0.0", "rollup-plugin-node-resolve": "^3.0.0", "rollup-plugin-postcss": "^0.4.1", "rollup-plugin-replace": "^1.2.1", "rollup-plugin-vue": "^2.4.2", "sinon": "2.2.0", "sinon-chai": "^2.13.0", "style-loader": "^0.17.0", "stylefmt": "^5.3.0", "stylelint": "^7.10.0", "stylelint-config-standard": "^16.0.0", "stylelint-processor-html": "^1.0.0", "uglify-js": "^3.1.0", "uppercamelcase": "^3.0.0", "vue": "^2.4.3", "vue-loader": "^12.2.2", "vue-template-compiler": "^2.4.3", "webpack": "^2.5.0", "webpack-bundle-analyzer": "^2.4.0", "webpack-dashboard": "^0.4.0", "webpack-dev-server": "^2.7.1", "webpack-merge": "^4.0.0", "yarn-or-npm": "^2.0.0" }, "dllPlugin": { "name": "vuePluginTemplateDeps", "include": [ "mocha/mocha.js", "style-loader!css-loader!mocha-css", "html-entities", "vue/dist/vue.js", "chai", "core-js/library", "url", "sockjs-client", "vue-style-loader/lib/addStylesClient.js", "events", "ansi-html", "style-loader/addStyles.js" ] }, "repository": { "type": "git", "url": "git+https://github.com/kartoteket/vue-image-upload-resize.git" }, "bugs": { "url": "https://github.com/kartoteket/vue-image-upload-resize/issues" }, "homepage": "https://github.com/kartoteket/vue-image-upload-resize#readme", "license": "MIT" }