@codeexpander/plugin-currency 0.1.1

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.
@@ -0,0 +1,16 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="UTF-8" />
6
+ <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
+ <title>Currency</title>
8
+ <script type="module" crossorigin src="./assets/index-CQRYo-Xh.js"></script>
9
+ <link rel="stylesheet" crossorigin href="./assets/index-BvU_11jC.css">
10
+ </head>
11
+
12
+ <body>
13
+ <div id="root"></div>
14
+ </body>
15
+
16
+ </html>
@@ -0,0 +1,30 @@
1
+ {
2
+ "main": "index.html",
3
+ "title": "Currency",
4
+ "description": "Exchange rate lookup and currency converter. 汇率查询与货币转换。",
5
+ "category": "convertors",
6
+ "order": 6,
7
+ "features": [
8
+ {
9
+ "code": "currency",
10
+ "explain": "Exchange rate lookup",
11
+ "cmds": [
12
+ "currency",
13
+ "exchange",
14
+ "汇率"
15
+ ]
16
+ },
17
+ {
18
+ "code": "convert",
19
+ "explain": "Currency converter",
20
+ "cmds": [
21
+ "convert",
22
+ "转换"
23
+ ]
24
+ }
25
+ ],
26
+ "pluginSetting": {
27
+ "height": 800,
28
+ "width": 1200
29
+ }
30
+ }
package/package.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "@codeexpander/plugin-currency",
3
+ "version": "0.1.1",
4
+ "private": false,
5
+ "type": "module",
6
+ "main": "dist/index.html",
7
+ "files": [
8
+ "dist",
9
+ "plugin.json",
10
+ "README.md"
11
+ ],
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "description": "CodeExpander plugin: exchange rate lookup and currency converter. 汇率查询与货币转换。",
16
+ "keywords": [
17
+ "codeexpander",
18
+ "plugin",
19
+ "currency",
20
+ "exchange",
21
+ "rate",
22
+ "convert",
23
+ "汇率",
24
+ "货币"
25
+ ],
26
+ "dependencies": {
27
+ "lucide-react": "^0.462.0",
28
+ "react": "^18.3.1",
29
+ "react-dom": "^18.3.1"
30
+ },
31
+ "devDependencies": {
32
+ "@types/react": "^18.3.3",
33
+ "@types/react-dom": "^18.3.0",
34
+ "@vitejs/plugin-react-swc": "^3.5.0",
35
+ "autoprefixer": "^10.4.20",
36
+ "postcss": "^8.4.47",
37
+ "tailwindcss": "^3.4.11",
38
+ "tailwindcss-animate": "^1.0.7",
39
+ "typescript": "^5.5.3",
40
+ "vite": "^5.4.1",
41
+ "@codeexpander/dev-tools-ui": "0.0.0",
42
+ "@codeexpander/dev-tools-i18n": "0.0.0",
43
+ "@codeexpander/plugin-types": "0.0.8"
44
+ },
45
+ "scripts": {
46
+ "dev": "vite",
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));\"",
48
+ "lint": "eslint . --max-warnings 0"
49
+ }
50
+ }
package/plugin.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "main": "dist/index.html",
3
+ "title": "Currency",
4
+ "description": "Exchange rate lookup and currency converter. 汇率查询与货币转换。",
5
+ "category": "convertors",
6
+ "order": 6,
7
+ "features": [
8
+ { "code": "currency", "explain": "Exchange rate lookup", "cmds": ["currency", "exchange", "汇率"] },
9
+ { "code": "convert", "explain": "Currency converter", "cmds": ["convert", "转换"] }
10
+ ],
11
+ "pluginSetting": { "height": 800, "width": 1200 }
12
+ }