@tmsoft/webphone 1.1.25 → 2.0.8

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,91 +1,118 @@
1
1
  {
2
2
  "name": "@tmsoft/webphone",
3
- "version": "1.1.25",
3
+ "version": "2.0.8",
4
+ "description": "WebPhone - SIP softphone component for Vue 3 and Web Components",
4
5
  "private": false,
5
6
  "type": "module",
6
- "files": [
7
- "dist",
8
- "index.d.ts"
9
- ],
10
- "license": "MIT",
11
- "main": "./dist/webphone.cjs.js",
7
+ "engines": {
8
+ "node": "^20.19.0 || >=22.12.0"
9
+ },
10
+ "main": "./dist/webphone.umd.js",
12
11
  "module": "./dist/webphone.es.js",
13
- "browser": "./dist/webphone.umd.js",
14
12
  "types": "./dist/index.d.ts",
15
13
  "exports": {
16
14
  ".": {
17
15
  "types": "./dist/index.d.ts",
18
- "browser": "./dist/webphone.umd.js",
19
16
  "import": "./dist/webphone.es.js",
20
- "require": "./dist/webphone.cjs.js"
17
+ "require": "./dist/webphone.umd.js"
18
+ },
19
+ "./component": {
20
+ "import": "./dist/webphone.component.js",
21
+ "require": "./dist/webphone.component.js"
21
22
  }
22
23
  },
24
+ "files": [
25
+ "dist",
26
+ "README.md",
27
+ "LICENSE"
28
+ ],
29
+ "sideEffects": [
30
+ "*.css",
31
+ "./dist/webphone.component.js"
32
+ ],
23
33
  "repository": {
24
34
  "type": "git",
25
- "url": "git+https://github.com/alternaus/webphone-lib.git"
26
- },
27
- "publishConfig": {
28
- "access": "public"
35
+ "url": "https://github.com/alternaus/webphone-lib.git"
29
36
  },
37
+ "keywords": [
38
+ "webphone",
39
+ "sip",
40
+ "voip",
41
+ "softphone",
42
+ "vue",
43
+ "vue3",
44
+ "web-component",
45
+ "jssip",
46
+ "sip.js"
47
+ ],
48
+ "author": "Nebula123",
49
+ "license": "MIT",
30
50
  "scripts": {
31
- "dev": "vite --host --config vite.dev.config.ts",
32
- "build": "run-p type-check \"build-only {@}\" -- && npm run build:umd",
33
- "build:umd": "vite build --config vite.umd.config.ts && mv temp-umd/* dist/ && rm -rf temp-umd",
51
+ "dev": "vite",
52
+ "build": "run-p type-check \"build-only {@}\" --",
53
+ "build:lib": "run-s type-check build:lib-only build:wc-only",
54
+ "build:lib-only": "vite build --config vite.config.lib.ts",
55
+ "build:wc-only": "vite build --config vite.config.wc.ts",
34
56
  "preview": "vite preview",
35
57
  "test:unit": "vitest",
58
+ "test:coverage": "vitest run --coverage",
36
59
  "test:e2e": "playwright test",
37
60
  "build-only": "vite build",
38
61
  "type-check": "vue-tsc --build",
39
- "lint": "eslint . --fix",
40
- "format": "prettier --write src/",
41
- "publish:local": "npm publish --registry http://localhost:4873/",
42
- "release:patch": "npm version patch && git push --follow-tags"
43
- },
44
- "peerDependencies": {
45
- "@vueuse/core": "^13.5.0",
46
- "primeicons": "^7.0.0",
47
- "primevue": "^4.2.5",
48
- "vue": "^3.5.13"
62
+ "lint:oxlint": "oxlint . --fix -D correctness --ignore-path .gitignore",
63
+ "lint:eslint": "eslint . --fix --cache",
64
+ "lint": "run-s lint:*",
65
+ "format": "prettier --write --experimental-cli src/",
66
+ "prepublishOnly": "npm run build:lib"
49
67
  },
50
68
  "dependencies": {
51
- "jssip": "^3.10.1"
69
+ "@tailwindcss/vite": "^4.1.17",
70
+ "@types/jssip": "^3.5.3",
71
+ "@vueuse/core": "^14.1.0",
72
+ "class-variance-authority": "^0.7.1",
73
+ "clsx": "^2.1.1",
74
+ "jssip": "^3.10.1",
75
+ "lucide-vue-next": "^0.556.0",
76
+ "pinia": "^3.0.4",
77
+ "reka-ui": "^2.6.1",
78
+ "sip.js": "^0.21.2",
79
+ "tailwind-merge": "^3.4.0",
80
+ "tailwindcss": "^4.1.17",
81
+ "vee-validate": "^4.15.1",
82
+ "vue": "^3.5.25",
83
+ "vue-router": "^4.6.3",
84
+ "yup": "^1.7.1"
52
85
  },
53
86
  "devDependencies": {
54
- "@playwright/test": "^1.50.1",
55
- "@primeuix/themes": "^1.0.0-rc.1",
56
- "@tailwindcss/vite": "^4.1.11",
57
- "@tsconfig/node22": "^22.0.0",
58
- "@types/jsdom": "^21.1.7",
59
- "@types/node": "^22.13.4",
60
- "@vitejs/plugin-vue": "^5.2.1",
61
- "@vitest/eslint-plugin": "1.1.31",
87
+ "@playwright/test": "^1.57.0",
88
+ "@prettier/plugin-oxc": "^0.0.5",
89
+ "@tsconfig/node24": "^24.0.3",
90
+ "@types/jsdom": "^27.0.0",
91
+ "@types/node": "^24.10.1",
92
+ "@vitejs/plugin-vue": "^6.0.2",
93
+ "@vitest/coverage-v8": "4.0.15",
94
+ "@vitest/eslint-plugin": "^1.5.0",
62
95
  "@vue/eslint-config-prettier": "^10.2.0",
63
- "@vue/eslint-config-typescript": "^14.4.0",
96
+ "@vue/eslint-config-typescript": "^14.6.0",
64
97
  "@vue/test-utils": "^2.4.6",
65
- "@vue/tsconfig": "^0.7.0",
66
- "@vueuse/core": "^13.5.0",
67
- "eslint": "^9.20.1",
68
- "eslint-plugin-playwright": "^2.2.0",
69
- "eslint-plugin-vue": "^9.32.0",
70
- "jiti": "^2.4.2",
71
- "jsdom": "^26.0.0",
72
- "npm-run-all2": "^7.0.2",
73
- "pinia": "^3.0.1",
74
- "pinia-plugin-persistedstate": "^4.2.0",
75
- "prettier": "^3.5.1",
76
- "primeicons": "^7.0.0",
77
- "primevue": "^4.2.5",
78
- "sass-embedded": "^1.89.2",
79
- "tailwindcss": "^4.1.11",
80
- "typescript": "~5.7.3",
81
- "vite": "^6.1.0",
98
+ "@vue/tsconfig": "^0.8.1",
99
+ "eslint": "^9.39.1",
100
+ "eslint-plugin-oxlint": "~1.29.0",
101
+ "eslint-plugin-playwright": "^2.3.0",
102
+ "eslint-plugin-vue": "~10.5.1",
103
+ "fake-indexeddb": "^6.2.5",
104
+ "jiti": "^2.6.1",
105
+ "jsdom": "^27.2.0",
106
+ "npm-run-all2": "^8.0.4",
107
+ "oxlint": "~1.29.0",
108
+ "prettier": "3.6.2",
109
+ "tw-animate-css": "^1.4.0",
110
+ "typescript": "~5.9.0",
111
+ "vite": "npm:rolldown-vite@latest",
82
112
  "vite-plugin-css-injected-by-js": "^3.5.2",
83
- "vite-plugin-dts": "^4.5.0",
84
- "vite-plugin-qrcode": "^0.2.4",
85
- "vite-plugin-vue-devtools": "^7.7.2",
86
- "vite-svg-loader": "^5.1.0",
87
- "vitest": "^3.0.5",
88
- "vue": "^3.5.13",
89
- "vue-tsc": "^2.2.2"
113
+ "vite-plugin-dts": "^4.5.4",
114
+ "vite-plugin-vue-devtools": "^8.0.5",
115
+ "vitest": "^4.0.14",
116
+ "vue-tsc": "^3.1.5"
90
117
  }
91
118
  }