vue-on-click-outside
Version:
vue mixin/directive that does something when you click outside a container
36 lines (35 loc) • 1.1 kB
JSON
{
"name": "vue-on-click-outside",
"version": "1.0.3",
"description": "vue mixin/directive that does something when you click outside a container",
"main": "dist/vue-on-click-outside.js",
"scripts": {
"test": "standard src/*.js",
"rollup": "rollup -c .rollup.js",
"min": "uglifyjs dist/vue-on-click-outside.js --output dist/vue-on-click-outside.min.js --screw-ie8 --compress --mangle",
"build": "yarn run test && yarn run rollup && yarn run min",
"prepublish": "yarn run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kmohrf/vue-on-click-outside.git"
},
"keywords": [
"vue",
"vuejs",
"directive"
],
"author": "Konrad Mohrfeldt <konrad.mohrfeldt@farbdev.org>",
"license": "MIT",
"bugs": {
"url": "https://github.com/kmohrf/vue-on-click-outside/issues"
},
"homepage": "https://github.com/kmohrf/vue-on-click-outside#readme",
"devDependencies": {
"babel-preset-es2015": "^6.24.1",
"rollup": "^0.41.4",
"rollup-plugin-babel": "^2.7.1",
"standard": "^8.6.0",
"uglifyjs": "^2.4.10"
}
}