sommark 4.2.0 → 4.3.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/core/helpers/lib.js +1 -1
- package/dist/assets/emscripten-module-B1g2L2eS.wasm +0 -0
- package/dist/assets/emscripten-module-DHbYPfAp.wasm +0 -0
- package/dist/assets/emscripten-module-ZrHFMo7O.wasm +0 -0
- package/dist/assets/emscripten-module-uFzwHH0Y.wasm +0 -0
- package/dist/emscripten-module.browser-LGpDp2J2.js +24 -0
- package/dist/ffi-7DRR-T-4.js +3 -0
- package/dist/module-ES6BEMUI-SZ556_bi.js +10 -0
- package/dist/sommark.browser.js +14532 -0
- package/package.json +10 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sommark",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"description": "SomMark is a declarative, extensible markup language for structured content that can be converted to HTML, Markdown, MDX, JSON, XML, and more.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"constants/",
|
|
15
15
|
"cli/",
|
|
16
16
|
"assets/",
|
|
17
|
+
"dist/",
|
|
17
18
|
"grammar.ebnf",
|
|
18
19
|
"README.md",
|
|
19
20
|
"LICENSE"
|
|
@@ -24,13 +25,16 @@
|
|
|
24
25
|
"type": "module",
|
|
25
26
|
"exports": {
|
|
26
27
|
".": "./index.js",
|
|
27
|
-
"./browser": "./index.browser.js"
|
|
28
|
+
"./browser": "./index.browser.js",
|
|
29
|
+
"./browser/cdn": "./dist/sommark.browser.js"
|
|
28
30
|
},
|
|
29
31
|
"scripts": {
|
|
30
32
|
"test": "vitest",
|
|
31
33
|
"test:run": "vitest run --pool=forks --maxWorkers=1",
|
|
32
34
|
"test:watch": "vitest watch",
|
|
33
|
-
"test:html": "vitest run tests/html"
|
|
35
|
+
"test:html": "vitest run tests/html",
|
|
36
|
+
"build:browser": "rollup -c rollup.browser.config.js",
|
|
37
|
+
"prepublishOnly": "npm run build:browser"
|
|
34
38
|
},
|
|
35
39
|
"bin": {
|
|
36
40
|
"sommark": "cli/cli.mjs"
|
|
@@ -63,12 +67,15 @@
|
|
|
63
67
|
"homepage": "https://github.com/Adam-Elmi/SomMark#readme",
|
|
64
68
|
"devDependencies": {
|
|
65
69
|
"@mdx-js/mdx": "^3.1.1",
|
|
70
|
+
"@rollup/plugin-commonjs": "^29.0.3",
|
|
71
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
66
72
|
"fast-xml-parser": "^5.5.11",
|
|
67
73
|
"isomorphic-dompurify": "^3.14.0",
|
|
68
74
|
"jsdom": "^29.0.2",
|
|
69
75
|
"remark": "^15.0.1",
|
|
70
76
|
"remark-gfm": "^4.0.1",
|
|
71
77
|
"remark-parse": "^11.0.0",
|
|
78
|
+
"rollup": "^4.61.1",
|
|
72
79
|
"vitest": "^4.0.16"
|
|
73
80
|
},
|
|
74
81
|
"dependencies": {
|