vue-slider-component
Advanced tools
Comparing version 1.0.9 to 1.1.0
@@ -1,2 +0,4 @@ | ||
import vue2Slider from './vue2-slider.vue' | ||
export default vue2Slider | ||
import vueSlider from './vue2-slider'; | ||
export default vueSlider | ||
@@ -11,2 +11,5 @@ var path = require('path') | ||
}, | ||
resolve: { | ||
extensions: [ '', '.js', '.vue' ] | ||
}, | ||
resolveLoader: { | ||
@@ -13,0 +16,0 @@ root: path.join(__dirname, 'node_modules'), |
{ | ||
"name": "vue-slider-component", | ||
"version": "1.0.9", | ||
"version": "1.1.0", | ||
"description": "Can use the Slider component in vue1.x and vue2.x", | ||
"main": "index.js", | ||
"scripts": { | ||
}, | ||
"keywords": [ | ||
"vue", | ||
"vue-component", | ||
"vue-slider-component" | ||
], | ||
"main": "./dist/index.js", | ||
"repository": { | ||
@@ -13,7 +16,27 @@ "type": "git", | ||
"author": "NightCatSama <642163903@qq.com>", | ||
"license": "ISC", | ||
"licenses": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/NightCatSama/vue-slider-component/issues" | ||
}, | ||
"homepage": "https://github.com/NightCatSama/vue-slider-component#readme" | ||
"homepage": "https://github.com/NightCatSama/vue-slider-component#readme", | ||
"scripts": { | ||
"build": "rm -rf ./dist && webpack --config ./webpack.config.js" | ||
}, | ||
"devDependencies": { | ||
"babel-core": "^6.10.4", | ||
"babel-loader": "^6.2.4", | ||
"babel-plugin-transform-runtime": "^6.9.0", | ||
"babel-preset-es2015": "^6.9.0", | ||
"babel-preset-stage-2": "^6.11.0", | ||
"babel-runtime": "^6.9.2", | ||
"css-loader": "^0.23.1", | ||
"style-loader": "^0.13.1", | ||
"vue-html-loader": "^1.2.3", | ||
"vue-loader": "^8.5.3", | ||
"vue-style-loader": "^1.0.0", | ||
"webpack": "^1.13.1" | ||
}, | ||
"dependencies": { | ||
"vue": "^1.0.26" | ||
} | ||
} |
# vue-slider-component | ||
Can use the slider in vue1.x and vue2.x | ||
[demo](https://nightcatsama.github.io/vue-slider-component/example/) | ||
[Live Demo](https://nightcatsama.github.io/vue-slider-component/example/) | ||
@@ -49,3 +49,3 @@ ## Install | ||
<script> | ||
import vueSlider from 'vue-slider-component/vue-sliders.vue'; | ||
import vueSlider from 'vue-slider-component/vue-slider.vue'; | ||
@@ -83,3 +83,3 @@ new Vue({ | ||
<script> | ||
import vueSlider from 'vue-sliders-component' | ||
import vueSlider from 'vue-slider-component' | ||
@@ -115,5 +115,5 @@ new Vue({ | ||
| direction | String | horizontal | set the direction of the component, optional value: ['horizontal', 'vertical'] | | ||
| eventType | String | 'auto' | the event type, optional value: ['auto', 'touch', 'mouse', 'none'] | | ||
| width | Number,String | 150 | width of the component | | ||
| height | Number | 4 | height of the component | | ||
| eventType | String | auto | the event type, optional value: ['auto', 'touch', 'mouse', 'none'] | | ||
| width | Number[,String(in horizontal)] | 150 | width of the component | | ||
| height | Number[,String(in vertical)] | 4 | height of the component | | ||
| dotSize | Number | 15 | size of the sliders | | ||
@@ -128,3 +128,3 @@ | min | Number | 0 | the minimum value | | ||
| tooltip | String,Boolean| false | control the tooltip, optional value: ['hover', 'always', false] | | ||
| tooltipDir | String | top or left | set the direction of the tooltip, optional value: ['top', 'bottom', 'left', 'right'] | | ||
| tooltipDir | String | top(in horizontal)or left(in vertical) | set the direction of the tooltip, optional value: ['top', 'bottom', 'left', 'right'] | | ||
| val | Number,Array | 0 | initial value (if the value for the array open range model) | | ||
@@ -131,0 +131,0 @@ | data | Array | null | the custom data | |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
198139
21
0
372
1
12
+ Addedvue@^1.0.26
+ Addedacorn@5.7.4(transitive)
+ Addedamdefine@1.0.1(transitive)
+ Addedast-types@0.9.6(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbase62@1.2.8(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addedcommoner@0.10.8(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addeddefined@1.0.1(transitive)
+ Addeddetective@4.7.1(transitive)
+ Addedenvify@3.4.1(transitive)
+ Addedesprima@3.1.3(transitive)
+ Addedesprima-fb@15001.1.0-dev-harmony-fb(transitive)
+ Addedglob@5.0.15(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addediconv-lite@0.4.24(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedjstransform@11.0.3(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addedobject-assign@2.1.1(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedprivate@0.1.8(transitive)
+ Addedq@1.5.1(transitive)
+ Addedrecast@0.11.23(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsource-map@0.4.40.5.7(transitive)
+ Addedthrough@2.3.8(transitive)
+ Addedvue@1.0.28(transitive)
+ Addedwrappy@1.0.2(transitive)