yyjj 2025.12.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/LICENSE +202 -0
- package/README.mbt.md +3 -0
- package/dist/index.cjs +4547 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.mjs +4539 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +50 -0
package/package.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "yyjj",
|
|
3
|
+
"version": "2025.12.0",
|
|
4
|
+
"description": "JSONC⇔YAML converter library with comment preservation, powered by MoonBit",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"author": "f12o",
|
|
7
|
+
"license": "Apache-2.0",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/f4ah6o/yyjj.mbt.git"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [
|
|
13
|
+
"jsonc",
|
|
14
|
+
"yaml",
|
|
15
|
+
"converter",
|
|
16
|
+
"parser",
|
|
17
|
+
"comment-preservation",
|
|
18
|
+
"moonbit"
|
|
19
|
+
],
|
|
20
|
+
"main": "./dist/index.cjs",
|
|
21
|
+
"module": "./dist/index.mjs",
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
|
+
"import": "./dist/index.mjs",
|
|
27
|
+
"require": "./dist/index.cjs"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist",
|
|
32
|
+
"README.md",
|
|
33
|
+
"LICENSE"
|
|
34
|
+
],
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"rolldown": "1.0.0-beta.57",
|
|
37
|
+
"typescript": "^5.9.3",
|
|
38
|
+
"vite": "^7.3.0",
|
|
39
|
+
"vite-plugin-moonbit": "^0.1.0"
|
|
40
|
+
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"clean": "rm -rf target dist",
|
|
43
|
+
"build:moon": "moon build --target js",
|
|
44
|
+
"build:bundle": "rolldown -c rolldown.config.mjs",
|
|
45
|
+
"build:types": "moon build --target js && mkdir -p dist && cp target/js/release/build/yyjj.d.ts dist/index.d.ts",
|
|
46
|
+
"build": "pnpm run clean && pnpm run build:moon && pnpm run build:bundle && pnpm run build:types",
|
|
47
|
+
"dev": "vite",
|
|
48
|
+
"test": "moon test"
|
|
49
|
+
}
|
|
50
|
+
}
|