vue-tel-input 6.0.0-beta.6 → 6.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,57 +1,54 @@
1
1
  {
2
2
  "name": "vue-tel-input",
3
- "version": "6.0.0-beta.6",
3
+ "version": "6.0.1",
4
4
  "description": "International Telephone Input with Vue",
5
5
  "author": "Steven Dao <iamstevendao@gmail.com>",
6
6
  "license": "MIT",
7
- "homepage": "https://iamstevendao.github.io/vue-tel-input/",
7
+ "homepage": "https://vue-tel-input.iamstevendao.com",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/iamstevendao/vue-tel-input.git"
11
11
  },
12
+ "main": "dist/vue-tel-input.cjs.js",
13
+ "module": "dist/vue-tel-input.es.js",
14
+ "unpkg": "dist/vue-tel-input.cjs.js",
15
+ "browser": "dist/vue-tel-input.iife.js",
12
16
  "scripts": {
13
- "serve": "vuepress dev docs",
14
- "build": "vue-cli-service build --target lib src/index.js",
15
- "docs:build": "vuepress build docs",
16
- "test:unit": "vue-cli-service test:unit",
17
- "lint": "vue-cli-service lint",
18
- "prepublishOnly": "npm run build"
17
+ "dev": "vite",
18
+ "build": "run-p type-check build-only",
19
+ "preview": "vite preview --port 4173",
20
+ "build-only": "vite build",
21
+ "type-check": "vue-tsc --noEmit",
22
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
23
+ "docs:dev": "vitepress dev docs",
24
+ "docs:build": "vitepress build docs",
25
+ "docs:serve": "vitepress serve docs"
19
26
  },
20
- "files": [
21
- "dist/"
22
- ],
23
- "main": "dist/vue-tel-input.umd.min.js",
24
- "unpkg": "dist/vue-tel-input.umd.min.js",
25
- "jsdelivr": "dist/vue-tel-input.umd.min.js",
26
27
  "dependencies": {
27
- "core-js": "^3.6.5",
28
- "libphonenumber-js": "^1.9.6",
29
- "vue": "^3.1.1"
30
- },
31
- "devDependencies": {
32
- "@vue/cli-plugin-babel": "~4.5.0",
33
- "@vue/cli-plugin-eslint": "~4.5.0",
34
- "@vue/cli-plugin-unit-jest": "~4.5.0",
35
- "@vue/cli-service": "~4.5.0",
36
- "@vue/compiler-sfc": "^3.1.1",
37
- "@vue/eslint-config-airbnb": "^5.0.2",
38
- "@vue/test-utils": "^2.0.0-rc.6",
39
- "babel-eslint": "^10.1.0",
40
- "copy-webpack-plugin": "^5.1.2",
41
- "eslint": "^6.7.2",
42
- "eslint-plugin-import": "^2.20.2",
43
- "eslint-plugin-jest": "^22.15.1",
44
- "eslint-plugin-vue": "^7.11.1",
45
- "lint-staged": "^9.5.0",
46
- "vuepress": "^2.0.0-beta.18"
28
+ "libphonenumber-js": "^1.10.7"
47
29
  },
48
- "gitHooks": {
49
- "pre-commit": "lint-staged"
30
+ "peerDependencies": {
31
+ "vue": "^3.2.37"
50
32
  },
51
- "browserslist": [
52
- "> 1%",
53
- "last 2 versions"
33
+ "files": [
34
+ "dist"
54
35
  ],
36
+ "devDependencies": {
37
+ "@rushstack/eslint-patch": "^1.1.0",
38
+ "@types/node": "^16.11.41",
39
+ "@vitejs/plugin-vue": "^2.3.3",
40
+ "@vue/eslint-config-typescript": "^11.0.0",
41
+ "@vue/tsconfig": "^0.1.3",
42
+ "eslint": "^8.5.0",
43
+ "eslint-plugin-vue": "^9.0.0",
44
+ "npm-run-all": "^4.1.5",
45
+ "rollup-plugin-copy": "^3.4.0",
46
+ "typescript": "~4.7.4",
47
+ "vite": "^2.9.12",
48
+ "vite-plugin-static-copy": "^0.6.1",
49
+ "vitepress": "^1.0.0-alpha.4",
50
+ "vue-tsc": "^0.38.1"
51
+ },
55
52
  "keywords": [
56
53
  "vue",
57
54
  "telephone",
package/dist/demo.html DELETED
@@ -1,10 +0,0 @@
1
- <meta charset="utf-8">
2
- <title>vue-tel-input demo</title>
3
- <script src="./vue-tel-input.umd.js"></script>
4
-
5
- <link rel="stylesheet" href="./vue-tel-input.css">
6
-
7
-
8
- <script>
9
- console.log(vue-tel-input)
10
- </script>