diff --git a/.gitignore b/.gitignore index c8f50f7..0db216b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ npm-debug.log +node_modules diff --git a/README.md b/README.md index 6bd49f5..51f498e 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ # vue-numeric [![npm version](https://badge.fury.io/js/vue-numeric.svg)](https://badge.fury.io/js/vue-numeric) -[![npm](https://img.shields.io/npm/dt/vue-numeric.svg)](https://www.npmjs.com/package/vue-numeric) -[![npm](https://img.shields.io/npm/l/vue-numeric.svg)](http://opensource.org/licenses/MIT) +[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](http://opensource.org/licenses/MIT) Numeric input component based on [Vue](https://vuejs.org/). @@ -29,17 +28,17 @@ import VueNumeric from 'vue-numeric' export default { name: 'App', - + components: { VueNumeric }, - + data () { return { price: '' } } - + } diff --git a/package.json b/package.json index aaf35d7..0c0726c 100644 --- a/package.json +++ b/package.json @@ -1,27 +1,27 @@ { - "name": "vue-numeric", - "version": "1.0.2", - "description": "Numeric input component based on Vue", - "author": "Kevin Ongko", - "main": "src/vue-numeric.vue", - "repository": { - "type": "git", - "url": "git+https://github.com/kevinongko/vue-numeric.git" - }, - "bugs": { - "url": "https://github.com/kevinongko/vue-numeric/issues" - }, - "keywords": [ - "component", - "currency", - "input", - "text", - "number", - "numeric", - "separator", - "vue", - "vue.js" - ], - "homepage": "https://github.com/kevinongko/vue-numeric#readme", - "license": "MIT" + "name": "vue-numeric", + "version": "1.1.0", + "description": "Numeric input component based on Vue", + "author": "Kevin Ongko", + "main": "src/vue-numeric.vue", + "repository": { + "type": "git", + "url": "git+https://github.com/kevinongko/vue-numeric.git" + }, + "bugs": { + "url": "https://github.com/kevinongko/vue-numeric/issues" + }, + "keywords": [ + "component", + "currency", + "input", + "text", + "number", + "numeric", + "separator", + "vue", + "vue.js" + ], + "homepage": "https://github.com/kevinongko/vue-numeric#readme", + "license": "MIT" } diff --git a/src/vue-numeric.vue b/src/vue-numeric.vue index 8a4a4ac..a462a65 100644 --- a/src/vue-numeric.vue +++ b/src/vue-numeric.vue @@ -1,21 +1,29 @@ + \ No newline at end of file