@tmsoft/webphone 1.0.0
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/README.md +64 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.d.ts +1 -0
- package/dist/webphone.cjs.js +1632 -0
- package/dist/webphone.es.js +23768 -0
- package/dist/webphone.iife.js +1632 -0
- package/dist/webphone.umd.js +1632 -0
- package/package.json +84 -0
package/README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# webphone-lib
|
|
2
|
+
|
|
3
|
+
This template should help get you started developing with Vue 3 in Vite.
|
|
4
|
+
|
|
5
|
+
## Recommended IDE Setup
|
|
6
|
+
|
|
7
|
+
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
|
|
8
|
+
|
|
9
|
+
## Type Support for `.vue` Imports in TS
|
|
10
|
+
|
|
11
|
+
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.
|
|
12
|
+
|
|
13
|
+
## Customize configuration
|
|
14
|
+
|
|
15
|
+
See [Vite Configuration Reference](https://vite.dev/config/).
|
|
16
|
+
|
|
17
|
+
## Project Setup
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
yarn
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Compile and Hot-Reload for Development
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
yarn dev
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Type-Check, Compile and Minify for Production
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
yarn build
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Run Unit Tests with [Vitest](https://vitest.dev/)
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
yarn test:unit
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Run End-to-End Tests with [Playwright](https://playwright.dev)
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
# Install browsers for the first run
|
|
45
|
+
npx playwright install
|
|
46
|
+
|
|
47
|
+
# When testing on CI, must build the project first
|
|
48
|
+
yarn build
|
|
49
|
+
|
|
50
|
+
# Runs the end-to-end tests
|
|
51
|
+
yarn test:e2e
|
|
52
|
+
# Runs the tests only on Chromium
|
|
53
|
+
yarn test:e2e --project=chromium
|
|
54
|
+
# Runs the tests of a specific file
|
|
55
|
+
yarn test:e2e tests/example.spec.ts
|
|
56
|
+
# Runs the tests in debug mode
|
|
57
|
+
yarn test:e2e --debug
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Lint with [ESLint](https://eslint.org/)
|
|
61
|
+
|
|
62
|
+
```sh
|
|
63
|
+
yarn lint
|
|
64
|
+
```
|
package/dist/favicon.ico
ADDED
|
Binary file
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { }
|