@corti/dictation-web 0.1.7 → 0.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/LICENSE +21 -0
- package/README.md +37 -31
- package/dist/CortiDictation.d.ts +6 -1
- package/dist/CortiDictation.js +20 -14
- package/dist/CortiDictation.js.map +1 -1
- package/dist/DictationService.d.ts +4 -4
- package/dist/DictationService.js +4 -11
- package/dist/DictationService.js.map +1 -1
- package/dist/RecorderManager.d.ts +2 -2
- package/dist/RecorderManager.js.map +1 -1
- package/dist/bundle.js +57 -80
- package/dist/components/settings-menu.js +3 -4
- package/dist/components/settings-menu.js.map +1 -1
- package/dist/constants.js +1 -1
- package/dist/constants.js.map +1 -1
- package/dist/styles/callout.js +29 -29
- package/dist/styles/callout.js.map +1 -1
- package/dist/styles/theme.js +20 -41
- package/dist/styles/theme.js.map +1 -1
- package/dist/types.d.ts +3 -3
- package/dist/types.js.map +1 -1
- package/dist/utils.d.ts +2 -2
- package/dist/utils.js +2 -2
- package/dist/utils.js.map +1 -1
- package/package.json +98 -98
package/package.json
CHANGED
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@corti/dictation-web",
|
|
3
|
-
"description": "Web component for Corti Dictation",
|
|
4
|
-
"author": "Corti ApS",
|
|
5
|
-
"version": "0.1.
|
|
6
|
-
"type": "module",
|
|
7
|
-
"main": "dist/index.js",
|
|
8
|
-
"module": "dist/index.js",
|
|
9
|
-
"exports": {
|
|
10
|
-
"import": "./dist/index.js",
|
|
11
|
-
"default": "./dist/bundle.js"
|
|
12
|
-
},
|
|
13
|
-
"unpkg": "dist/bundle.js",
|
|
14
|
-
"files": [
|
|
15
|
-
"dist"
|
|
16
|
-
],
|
|
17
|
-
"scripts": {
|
|
18
|
-
"analyze": "cem analyze --litelement",
|
|
19
|
-
"build": "tsc && npm run analyze -- --exclude dist",
|
|
20
|
-
"build:bundle": "esbuild dist/index.js --bundle --outfile=dist/bundle.js --format=esm --platform=browser",
|
|
21
|
-
"release": "npm run build && npm run build:bundle && npm publish --access public",
|
|
22
|
-
"start": "npm run build && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"web-dev-server\"",
|
|
23
|
-
"prepublish": "tsc && npm run analyze -- --exclude dist",
|
|
24
|
-
"lint": "eslint --ext .ts,.tsx src --ignore-path .gitignore && prettier \"src/**/*.ts\" --check --ignore-path .gitignore",
|
|
25
|
-
"format": "eslint --ext .ts,.tsx src --fix --ignore-path .gitignore && prettier \"src/**/*.ts\" --write --ignore-path .gitignore",
|
|
26
|
-
"prepare": "husky && husky install",
|
|
27
|
-
"test": "tsc && wtr --coverage",
|
|
28
|
-
"test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\"",
|
|
29
|
-
"storybook": "tsc && npm run analyze -- --exclude dist && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"storybook dev -p 8080\"",
|
|
30
|
-
"storybook:build": "tsc && npm run analyze -- --exclude dist && storybook build"
|
|
31
|
-
},
|
|
32
|
-
"dependencies": {
|
|
33
|
-
"lit": "^3.1.4"
|
|
34
|
-
},
|
|
35
|
-
"devDependencies": {
|
|
36
|
-
"@custom-elements-manifest/analyzer": "^0.10.3",
|
|
37
|
-
"@open-wc/eslint-config": "^12.0.3",
|
|
38
|
-
"@open-wc/testing": "^4.0.0",
|
|
39
|
-
"@storybook/addon-a11y": "^7.6.20",
|
|
40
|
-
"@storybook/addon-essentials": "^7.6.20",
|
|
41
|
-
"@storybook/addon-links": "^7.6.20",
|
|
42
|
-
"@storybook/web-components": "^7.6.20",
|
|
43
|
-
"@types/mocha": "^10.0.7",
|
|
44
|
-
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
45
|
-
"@typescript-eslint/parser": "^7.18.0",
|
|
46
|
-
"@web/dev-server": "^0.4.6",
|
|
47
|
-
"@web/storybook-builder": "^0.1.16",
|
|
48
|
-
"@web/storybook-framework-web-components": "^0.1.2",
|
|
49
|
-
"@web/test-runner": "^0.18.2",
|
|
50
|
-
"concurrently": "^8.2.2",
|
|
51
|
-
"esbuild": "^0.25.0",
|
|
52
|
-
"eslint": "^8.57.0",
|
|
53
|
-
"eslint-config-prettier": "^9.1.0",
|
|
54
|
-
"eslint-plugin-html": "^8.1.2",
|
|
55
|
-
"husky": "^8.0.0",
|
|
56
|
-
"lint-staged": "^15.2.7",
|
|
57
|
-
"prettier": "^3.3.2",
|
|
58
|
-
"sinon": "^19.0.2",
|
|
59
|
-
"storybook": "^7.6.20",
|
|
60
|
-
"tslib": "^2.6.3",
|
|
61
|
-
"typescript": "^5.5.3"
|
|
62
|
-
},
|
|
63
|
-
"customElements": "custom-elements.json",
|
|
64
|
-
"eslintConfig": {
|
|
65
|
-
"parser": "@typescript-eslint/parser",
|
|
66
|
-
"extends": [
|
|
67
|
-
"@open-wc",
|
|
68
|
-
"prettier"
|
|
69
|
-
],
|
|
70
|
-
"plugins": [
|
|
71
|
-
"@typescript-eslint"
|
|
72
|
-
],
|
|
73
|
-
"rules": {
|
|
74
|
-
"no-unused-vars": "off",
|
|
75
|
-
"@typescript-eslint/no-unused-vars": [
|
|
76
|
-
"error"
|
|
77
|
-
],
|
|
78
|
-
"import/no-unresolved": "off",
|
|
79
|
-
"import/extensions": [
|
|
80
|
-
"error",
|
|
81
|
-
"always",
|
|
82
|
-
{
|
|
83
|
-
"ignorePackages": true
|
|
84
|
-
}
|
|
85
|
-
]
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
"prettier": {
|
|
89
|
-
"singleQuote": true,
|
|
90
|
-
"arrowParens": "avoid"
|
|
91
|
-
},
|
|
92
|
-
"lint-staged": {
|
|
93
|
-
"*.ts": [
|
|
94
|
-
"eslint --fix",
|
|
95
|
-
"prettier --write"
|
|
96
|
-
]
|
|
97
|
-
}
|
|
98
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@corti/dictation-web",
|
|
3
|
+
"description": "Web component for Corti Dictation",
|
|
4
|
+
"author": "Corti ApS",
|
|
5
|
+
"version": "0.1.9",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "dist/index.js",
|
|
8
|
+
"module": "dist/index.js",
|
|
9
|
+
"exports": {
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"default": "./dist/bundle.js"
|
|
12
|
+
},
|
|
13
|
+
"unpkg": "dist/bundle.js",
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"analyze": "cem analyze --litelement",
|
|
19
|
+
"build": "tsc && npm run analyze -- --exclude dist",
|
|
20
|
+
"build:bundle": "esbuild dist/index.js --bundle --outfile=dist/bundle.js --format=esm --platform=browser",
|
|
21
|
+
"release": "npm run build && npm run build:bundle && npm publish --access public",
|
|
22
|
+
"start": "npm run build && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"web-dev-server\"",
|
|
23
|
+
"prepublish": "tsc && npm run analyze -- --exclude dist",
|
|
24
|
+
"lint": "eslint --ext .ts,.tsx src --ignore-path .gitignore && prettier \"src/**/*.ts\" --check --ignore-path .gitignore",
|
|
25
|
+
"format": "eslint --ext .ts,.tsx src --fix --ignore-path .gitignore && prettier \"src/**/*.ts\" --write --ignore-path .gitignore",
|
|
26
|
+
"prepare": "husky && husky install",
|
|
27
|
+
"test": "tsc && wtr --coverage",
|
|
28
|
+
"test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\"",
|
|
29
|
+
"storybook": "tsc && npm run analyze -- --exclude dist && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"storybook dev -p 8080\"",
|
|
30
|
+
"storybook:build": "tsc && npm run analyze -- --exclude dist && storybook build"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"lit": "^3.1.4"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@custom-elements-manifest/analyzer": "^0.10.3",
|
|
37
|
+
"@open-wc/eslint-config": "^12.0.3",
|
|
38
|
+
"@open-wc/testing": "^4.0.0",
|
|
39
|
+
"@storybook/addon-a11y": "^7.6.20",
|
|
40
|
+
"@storybook/addon-essentials": "^7.6.20",
|
|
41
|
+
"@storybook/addon-links": "^7.6.20",
|
|
42
|
+
"@storybook/web-components": "^7.6.20",
|
|
43
|
+
"@types/mocha": "^10.0.7",
|
|
44
|
+
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
45
|
+
"@typescript-eslint/parser": "^7.18.0",
|
|
46
|
+
"@web/dev-server": "^0.4.6",
|
|
47
|
+
"@web/storybook-builder": "^0.1.16",
|
|
48
|
+
"@web/storybook-framework-web-components": "^0.1.2",
|
|
49
|
+
"@web/test-runner": "^0.18.2",
|
|
50
|
+
"concurrently": "^8.2.2",
|
|
51
|
+
"esbuild": "^0.25.0",
|
|
52
|
+
"eslint": "^8.57.0",
|
|
53
|
+
"eslint-config-prettier": "^9.1.0",
|
|
54
|
+
"eslint-plugin-html": "^8.1.2",
|
|
55
|
+
"husky": "^8.0.0",
|
|
56
|
+
"lint-staged": "^15.2.7",
|
|
57
|
+
"prettier": "^3.3.2",
|
|
58
|
+
"sinon": "^19.0.2",
|
|
59
|
+
"storybook": "^7.6.20",
|
|
60
|
+
"tslib": "^2.6.3",
|
|
61
|
+
"typescript": "^5.5.3"
|
|
62
|
+
},
|
|
63
|
+
"customElements": "custom-elements.json",
|
|
64
|
+
"eslintConfig": {
|
|
65
|
+
"parser": "@typescript-eslint/parser",
|
|
66
|
+
"extends": [
|
|
67
|
+
"@open-wc",
|
|
68
|
+
"prettier"
|
|
69
|
+
],
|
|
70
|
+
"plugins": [
|
|
71
|
+
"@typescript-eslint"
|
|
72
|
+
],
|
|
73
|
+
"rules": {
|
|
74
|
+
"no-unused-vars": "off",
|
|
75
|
+
"@typescript-eslint/no-unused-vars": [
|
|
76
|
+
"error"
|
|
77
|
+
],
|
|
78
|
+
"import/no-unresolved": "off",
|
|
79
|
+
"import/extensions": [
|
|
80
|
+
"error",
|
|
81
|
+
"always",
|
|
82
|
+
{
|
|
83
|
+
"ignorePackages": true
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"prettier": {
|
|
89
|
+
"singleQuote": true,
|
|
90
|
+
"arrowParens": "avoid"
|
|
91
|
+
},
|
|
92
|
+
"lint-staged": {
|
|
93
|
+
"*.ts": [
|
|
94
|
+
"eslint --fix",
|
|
95
|
+
"prettier --write"
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
}
|