@tmsoft/webphone 1.0.27 → 1.1.9

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmsoft/webphone",
3
- "version": "1.0.27",
3
+ "version": "1.1.9",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
@@ -10,7 +10,7 @@
10
10
  "license": "MIT",
11
11
  "main": "./dist/webphone.cjs.js",
12
12
  "module": "./dist/webphone.es.js",
13
- "browser": "./dist/webphone-standalone.umd.js",
13
+ "browser": "./dist/webphone.umd.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "exports": {
16
16
  ".": {
@@ -18,16 +18,6 @@
18
18
  "browser": "./dist/webphone.umd.js",
19
19
  "import": "./dist/webphone.es.js",
20
20
  "require": "./dist/webphone.cjs.js"
21
- },
22
- "./standalone": {
23
- "browser": "./dist/webphone-standalone.umd.js",
24
- "import": "./dist/webphone-standalone.es.js",
25
- "require": "./dist/webphone-standalone.cjs.js"
26
- },
27
- "./web-component": {
28
- "browser": "./dist/webphone-web-component.umd.js",
29
- "import": "./dist/webphone-web-component.es.js",
30
- "require": "./dist/webphone-web-component.cjs.js"
31
21
  }
32
22
  },
33
23
  "repository": {
@@ -38,47 +28,34 @@
38
28
  "access": "public"
39
29
  },
40
30
  "scripts": {
41
- "dev": "vite --host",
42
- "build": "run-p type-check \"build-only {@}\" --",
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",
43
34
  "preview": "vite preview",
44
35
  "test:unit": "vitest",
45
36
  "test:e2e": "playwright test",
46
- "build-only": "npm run build:main && npm run build:standalone && npm run build:web-component",
47
- "build:clean": "node -e \"require('fs').rmSync('dist', {recursive: true, force: true})\"",
48
- "build:main": "vite build",
49
- "build:standalone": "vite build --config vite.config.standalone.ts",
50
- "build:web-component": "vite build --config vite.config.web-component.ts",
37
+ "build-only": "vite build",
51
38
  "type-check": "vue-tsc --build",
52
39
  "lint": "eslint . --fix",
53
40
  "format": "prettier --write src/",
54
41
  "publish:local": "npm publish --registry http://localhost:4873/",
55
- "prepare": "npm run build",
56
- "publish:lib": "npm version patch && npm publish --access public",
57
- "serve:example": "npx http-server . -p 3000 -o example-cdn.html",
58
- "test:cdn": "npm run build && npm run serve:example"
42
+ "publish:lib": "npm version patch && npm publish --access public"
59
43
  },
60
44
  "peerDependencies": {
61
- "vue": "^3.5.13"
62
- },
63
- "dependencies": {
64
- "@primeuix/themes": "^1.0.0-rc.1",
65
- "@tailwindcss/vite": "^4.0.8",
66
- "jssip": "^3.10.1",
67
- "lodash": "^4.17.21",
68
- "pinia": "^3.0.1",
69
- "pinia-plugin-persistedstate": "^4.2.0",
45
+ "@vueuse/core": "^13.5.0",
70
46
  "primeicons": "^7.0.0",
71
47
  "primevue": "^4.2.5",
72
- "tailwindcss": "^4.0.8",
73
- "vite-plugin-css-injected-by-js": "^3.5.2",
74
- "vite-svg-loader": "^5.1.0",
75
48
  "vue": "^3.5.13"
76
49
  },
50
+ "dependencies": {
51
+ "jssip": "^3.10.1"
52
+ },
77
53
  "devDependencies": {
78
54
  "@playwright/test": "^1.50.1",
55
+ "@primeuix/themes": "^1.0.0-rc.1",
56
+ "@tailwindcss/vite": "^4.1.11",
79
57
  "@tsconfig/node22": "^22.0.0",
80
58
  "@types/jsdom": "^21.1.7",
81
- "@types/lodash": "^4.17.15",
82
59
  "@types/node": "^22.13.4",
83
60
  "@vitejs/plugin-vue": "^5.2.1",
84
61
  "@vitest/eslint-plugin": "1.1.31",
@@ -86,19 +63,29 @@
86
63
  "@vue/eslint-config-typescript": "^14.4.0",
87
64
  "@vue/test-utils": "^2.4.6",
88
65
  "@vue/tsconfig": "^0.7.0",
66
+ "@vueuse/core": "^13.5.0",
89
67
  "eslint": "^9.20.1",
90
68
  "eslint-plugin-playwright": "^2.2.0",
91
69
  "eslint-plugin-vue": "^9.32.0",
92
70
  "jiti": "^2.4.2",
93
71
  "jsdom": "^26.0.0",
94
72
  "npm-run-all2": "^7.0.2",
73
+ "pinia": "^3.0.1",
74
+ "pinia-plugin-persistedstate": "^4.2.0",
95
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",
96
80
  "typescript": "~5.7.3",
97
81
  "vite": "^6.1.0",
82
+ "vite-plugin-css-injected-by-js": "^3.5.2",
98
83
  "vite-plugin-dts": "^4.5.0",
99
84
  "vite-plugin-qrcode": "^0.2.4",
100
85
  "vite-plugin-vue-devtools": "^7.7.2",
86
+ "vite-svg-loader": "^5.1.0",
101
87
  "vitest": "^3.0.5",
88
+ "vue": "^3.5.13",
102
89
  "vue-tsc": "^2.2.2"
103
90
  }
104
91
  }