@codeexpander/plugin-html 0.1.2 → 0.1.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.
package/dist/index.html CHANGED
@@ -1,4 +1,4 @@
1
1
  <!DOCTYPE html>
2
- <html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><title>HTML Tools</title> <script type="module" crossorigin src="./assets/index-D019drR8.js"></script>
2
+ <html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><title>HTML Tools</title> <script type="module" crossorigin src="./assets/index-DLSRvO0E.js"></script>
3
3
  <link rel="stylesheet" crossorigin href="./assets/index-Bqz9Zoqd.css">
4
4
  </head><body><div id="root"></div></body></html>
package/dist/plugin.json CHANGED
@@ -5,9 +5,29 @@
5
5
  "category": "html",
6
6
  "order": 3,
7
7
  "features": [
8
- { "code": "html_minifier", "explain": "Minify HTML", "cmds": ["html minify"] },
9
- { "code": "html_beautifier", "explain": "Beautify HTML", "cmds": ["html format"] },
10
- { "code": "html_to_markdown", "explain": "Convert HTML to Markdown", "cmds": ["html markdown"] }
8
+ {
9
+ "code": "html_minifier",
10
+ "explain": "Minify HTML",
11
+ "cmds": [
12
+ "html minify"
13
+ ]
14
+ },
15
+ {
16
+ "code": "html_beautifier",
17
+ "explain": "Beautify HTML",
18
+ "cmds": [
19
+ "html format"
20
+ ]
21
+ },
22
+ {
23
+ "code": "html_to_markdown",
24
+ "explain": "Convert HTML to Markdown",
25
+ "cmds": [
26
+ "html markdown"
27
+ ]
28
+ }
11
29
  ],
12
- "pluginSetting": { "height": 520 }
13
- }
30
+ "pluginSetting": {
31
+ "height": 520
32
+ }
33
+ }
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@codeexpander/plugin-html",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.html",
7
7
  "files": [
8
8
  "dist",
9
+ "plugin.json",
9
10
  "README.md"
10
11
  ],
11
12
  "publishConfig": {
@@ -25,10 +26,7 @@
25
26
  "dependencies": {
26
27
  "lucide-react": "^0.462.0",
27
28
  "react": "^18.3.1",
28
- "react-dom": "^18.3.1",
29
- "@codeexpander/dev-tools-i18n": "0.0.0",
30
- "@codeexpander/plugin-types": "0.0.2",
31
- "@codeexpander/dev-tools-ui": "0.0.0"
29
+ "react-dom": "^18.3.1"
32
30
  },
33
31
  "devDependencies": {
34
32
  "@types/react": "^18.3.3",
@@ -39,11 +37,14 @@
39
37
  "tailwindcss": "^3.4.11",
40
38
  "tailwindcss-animate": "^1.0.7",
41
39
  "typescript": "^5.5.3",
42
- "vite": "^5.4.1"
40
+ "vite": "^5.4.1",
41
+ "@codeexpander/dev-tools-i18n": "0.0.0",
42
+ "@codeexpander/plugin-types": "0.0.4",
43
+ "@codeexpander/dev-tools-ui": "0.0.0"
43
44
  },
44
45
  "scripts": {
45
46
  "dev": "vite",
46
- "build": "vite build && cp plugin.json dist/",
47
+ "build": "vite build && cp plugin.json dist/ && node -e \"const fs=require('fs');const p=require('./dist/plugin.json');p.main='index.html';fs.writeFileSync('dist/plugin.json',JSON.stringify(p,null,2));\"",
47
48
  "lint": "eslint . --max-warnings 0"
48
49
  }
49
50
  }
package/plugin.json ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "main": "dist/index.html",
3
+ "title": "HTML Tools",
4
+ "description": "HTML tools: minifier, beautifier, to Markdown/JSX/plain text, preview, entity encoder, WYSIWYG editor. EN | HTML工具:压缩、格式化、转Markdown/JSX、预览、实体编码、所见即所得。",
5
+ "category": "html",
6
+ "order": 3,
7
+ "features": [
8
+ { "code": "html_minifier", "explain": "Minify HTML", "cmds": ["html minify"] },
9
+ { "code": "html_beautifier", "explain": "Beautify HTML", "cmds": ["html format"] },
10
+ { "code": "html_to_markdown", "explain": "Convert HTML to Markdown", "cmds": ["html markdown"] }
11
+ ],
12
+ "pluginSetting": { "height": 520 }
13
+ }