@allior/wmake-utils 0.0.1 → 0.0.4

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/README_RU.md +1 -1
  3. package/package.json +42 -43
package/README.md CHANGED
@@ -8,7 +8,7 @@ Utilities for widgets: message content parsers (emotes, mentions, HTML), image p
8
8
 
9
9
  Converts a message object (`text` + `emotes`) into an HTML string: emotes become `<img>`, mentions `@nick` become `<span class="mentioned">`.
10
10
 
11
- Logic ported from blyoka-chat (StreamElements): zero-width emote support, large/medium emote options when the message is “emotes only”.
11
+ Logic ported from StreamElements: zero-width emote support, large/medium emote options when the message is “emotes only”.
12
12
 
13
13
  ### Usage
14
14
 
package/README_RU.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Преобразует объект сообщения (`text` + `emotes`) в HTML-строку: эмоуты становятся `<img>`, упоминания `@nick` — `<span class="mentioned">`.
8
8
 
9
- Логика перенесена из blyoka-chat (StreamElements): поддержка zero-width эмоутов, опции large/medium эмоутов при сообщении «только эмоуты».
9
+ Логика перенесена из StreamElements: поддержка zero-width эмоутов, опции large/medium эмоутов при сообщении «только эмоуты».
10
10
 
11
11
  ### Использование
12
12
 
package/package.json CHANGED
@@ -1,44 +1,43 @@
1
- {
2
- "name": "@allior/wmake-utils",
3
- "version": "0.0.1",
4
- "description": "Utilities: message content parsers, image preloading, and more.",
5
- "type": "module",
6
- "types": "./dist/root/index.d.ts",
7
- "exports": {
8
- ".": {
9
- "types": "./dist/root/index.d.ts",
10
- "import": "./dist/root/index.js"
11
- },
12
- "./react": {
13
- "types": "./dist/react/index.d.ts",
14
- "import": "./dist/react/index.js"
15
- }
16
- },
17
- "files": [
18
- "dist",
19
- "src",
20
- "README.md",
21
- "README_RU.md"
22
- ],
23
- "scripts": {
24
- "build": "rimraf dist && vite build && cross-env VITE_IIFE_ENTRY=root vite build --config vite.iife.config.ts && cross-env VITE_IIFE_ENTRY=react vite build --config vite.iife.config.ts && tsc -p tsconfig.types.json",
25
- "clean": "rimraf dist",
26
- "prepublishOnly": "npm run build"
27
- },
28
- "keywords": [
29
- "wmake",
30
- "parser",
31
- "chat",
32
- "emotes",
33
- "message"
34
- ],
35
- "author": "An1by",
36
- "license": "ISC",
37
- "peerDependencies": {
38
- "react": ">=18.0.0"
39
- },
40
- "devDependencies": {
41
- "cross-env": "^10.1.0",
42
- "react": "^19.0.0"
43
- }
1
+ {
2
+ "name": "@allior/wmake-utils",
3
+ "version": "0.0.4",
4
+ "description": "Utilities: message content parsers, image preloading, and more.",
5
+ "type": "module",
6
+ "types": "./dist/root/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./dist/root/index.d.ts",
10
+ "import": "./dist/root/index.js"
11
+ },
12
+ "./react": {
13
+ "types": "./dist/react/index.d.ts",
14
+ "import": "./dist/react/index.js"
15
+ }
16
+ },
17
+ "files": [
18
+ "dist",
19
+ "src",
20
+ "README.md",
21
+ "README_RU.md"
22
+ ],
23
+ "keywords": [
24
+ "wmake",
25
+ "parser",
26
+ "chat",
27
+ "emotes",
28
+ "message"
29
+ ],
30
+ "author": "An1by",
31
+ "license": "ISC",
32
+ "peerDependencies": {
33
+ "react": ">=18.0.0"
34
+ },
35
+ "devDependencies": {
36
+ "cross-env": "^10.1.0",
37
+ "react": "^19.0.0"
38
+ },
39
+ "scripts": {
40
+ "build": "rimraf dist && vite build && cross-env VITE_IIFE_ENTRY=root vite build --config vite.iife.config.ts && cross-env VITE_IIFE_ENTRY=react vite build --config vite.iife.config.ts && tsc -p tsconfig.types.json",
41
+ "clean": "rimraf dist"
42
+ }
44
43
  }