@tmsoft/webphone 1.0.27 → 1.1.10

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.10",
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,35 @@
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
+ "release:patch": "git add -A && npm version patch --no-git-tag-version && VERSION=$(node -p \"require('./package.json').version\") && git commit -m \"chore(release): v$VERSION\" && git tag v$VERSION && git push && git push --tags",
43
+ "release:patch:publish": "npm run release:patch && npm publish --access public"
59
44
  },
60
45
  "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",
46
+ "@vueuse/core": "^13.5.0",
70
47
  "primeicons": "^7.0.0",
71
48
  "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
49
  "vue": "^3.5.13"
76
50
  },
51
+ "dependencies": {
52
+ "jssip": "^3.10.1"
53
+ },
77
54
  "devDependencies": {
78
55
  "@playwright/test": "^1.50.1",
56
+ "@primeuix/themes": "^1.0.0-rc.1",
57
+ "@tailwindcss/vite": "^4.1.11",
79
58
  "@tsconfig/node22": "^22.0.0",
80
59
  "@types/jsdom": "^21.1.7",
81
- "@types/lodash": "^4.17.15",
82
60
  "@types/node": "^22.13.4",
83
61
  "@vitejs/plugin-vue": "^5.2.1",
84
62
  "@vitest/eslint-plugin": "1.1.31",
@@ -86,19 +64,29 @@
86
64
  "@vue/eslint-config-typescript": "^14.4.0",
87
65
  "@vue/test-utils": "^2.4.6",
88
66
  "@vue/tsconfig": "^0.7.0",
67
+ "@vueuse/core": "^13.5.0",
89
68
  "eslint": "^9.20.1",
90
69
  "eslint-plugin-playwright": "^2.2.0",
91
70
  "eslint-plugin-vue": "^9.32.0",
92
71
  "jiti": "^2.4.2",
93
72
  "jsdom": "^26.0.0",
94
73
  "npm-run-all2": "^7.0.2",
74
+ "pinia": "^3.0.1",
75
+ "pinia-plugin-persistedstate": "^4.2.0",
95
76
  "prettier": "^3.5.1",
77
+ "primeicons": "^7.0.0",
78
+ "primevue": "^4.2.5",
79
+ "sass-embedded": "^1.89.2",
80
+ "tailwindcss": "^4.1.11",
96
81
  "typescript": "~5.7.3",
97
82
  "vite": "^6.1.0",
83
+ "vite-plugin-css-injected-by-js": "^3.5.2",
98
84
  "vite-plugin-dts": "^4.5.0",
99
85
  "vite-plugin-qrcode": "^0.2.4",
100
86
  "vite-plugin-vue-devtools": "^7.7.2",
87
+ "vite-svg-loader": "^5.1.0",
101
88
  "vitest": "^3.0.5",
89
+ "vue": "^3.5.13",
102
90
  "vue-tsc": "^2.2.2"
103
91
  }
104
92
  }