Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-ctk-date-time-picker

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-ctk-date-time-picker - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

.eslintignore

56

package.json
{
"name": "vue-ctk-date-time-picker",
"description": "A vue component for a select date & time (by Chronotruck)",
"version": "0.2.0",
"description": "A vue component for select date & time (by Chronotruck)",
"version": "0.3.0",
"author": "Mazel <loic.mazuel@chronotruck.com>",
"license": "MIT",
"main": "src/main.js",
"private": false,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
"lint": "./node_modules/eslint/bin/eslint.js ./"
},
"main": "dist/ctk-date-time-picker.min.js",
"dependencies": {

@@ -19,29 +20,2 @@ "vue": "^2.5.16",

},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.0.0-beta.15",
"@vue/cli-plugin-eslint": "^3.0.0-beta.15",
"@vue/cli-service": "^3.0.0-beta.15",
"node-sass": "^4.9.0",
"sass-loader": "^7.0.2",
"vue-template-compiler": "^2.5.16"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended"
],
"rules": {},
"parserOptions": {
"parser": "babel-eslint"
}
},
"postcss": {
"plugins": {
"autoprefixer": {}
}
},
"browserslist": [

@@ -52,2 +26,18 @@ "> 1%",

],
"devDependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.0",
"babel-preset-stage-3": "^6.24.1",
"cross-env": "^5.0.5",
"css-loader": "^0.28.7",
"file-loader": "^1.1.4",
"node-sass": "^4.5.3",
"sass-loader": "^6.0.6",
"vue-loader": "^13.0.5",
"vue-template-compiler": "^2.4.4",
"webpack": "^3.6.0",
"webpack-dev-server": "^2.9.1",
"eslint": "^4.19.1"
},
"repository": {

@@ -54,0 +44,0 @@ "type": "git",

@@ -1,7 +0,7 @@

# vue-ctk-datetime-picker
# vue-ctk-time-picker
> A vue component for select date & time (by Chronotruck)
> A vue component for select time (by Chronotruck)
## Demo
An [example](https://htmlpreview.github.io/?https://github.com/chronotruck/vue-ctk-datetime-picker/blob/master/demo/dist/index.html) is available
An [example](https://htmlpreview.github.io/?https://github.com/chronotruck/vue-ctk-time-picker/blob/master/demo/dist/index.html) is available

@@ -11,10 +11,10 @@ ## Install

``` bash
npm install vue-ctk-date-time-picker --save
npm install vue-ctk-time-picker --save
```
#### In single component
``` js
import CtkDateTimePicker from 'vue-ctk-date-time-picker'
import CtkTimePicker from 'vue-ctk-time-picker'
var yourComponent = new Vue({
components: { CtkDateTimePicker },
components: { CtkTimePicker },
...

@@ -26,4 +26,4 @@ })

...
<ctk-date-time-picker
v-model="value"
<ctk-time-picker
v-model="value" // if you want init value : always this format 'HH:mm'
:label="'Choose a time'"

@@ -52,3 +52,3 @@ :hint="'Text'"

**error-hint : When is `true` --> Input border & label are red
**error-hint : When is `true` --> Input border & label are red

@@ -64,6 +64,3 @@ ***color: Replace color for the hint, the borders & time selected in dropdown

# serve with hot reload at localhost:8080
npm run serve
# build component
vue-cli-service build --target wc --name ctk-date-time-picker ./src/main-build.js
npm run dev
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc