@pie-lib/math-rendering 0.1.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/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/package.json +27 -0
- package/src/index.ts +10 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-lib/packages/math-rendering
|
|
3
|
+
* @auto-generated
|
|
4
|
+
*
|
|
5
|
+
* This is a thin wrapper that re-exports from @pie-element/shared-math-rendering-mathjax.
|
|
6
|
+
* The actual implementation is in packages/shared/math-rendering-mathjax.
|
|
7
|
+
*/
|
|
8
|
+
export { renderMath, wrapMath, unWrapMath, mmlToLatex } from '@pie-element/shared-math-rendering-mathjax';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA;;;;;;GAMG;AAEH,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAC"}
|
package/dist/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pie-lib/math-rendering",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "math rendering utilities",
|
|
5
|
+
"dependencies": {
|
|
6
|
+
"@pie-element/shared-math-rendering-mathjax": "0.1.0"
|
|
7
|
+
},
|
|
8
|
+
"type": "module",
|
|
9
|
+
"main": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"default": "./dist/index.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"src"
|
|
20
|
+
],
|
|
21
|
+
"sideEffects": false,
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build": "bun x vite build && bun x tsc --emitDeclarationOnly",
|
|
24
|
+
"dev": "bun x vite",
|
|
25
|
+
"test": "bun x vitest run"
|
|
26
|
+
}
|
|
27
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/**
|
|
3
|
+
* @synced-from pie-lib/packages/math-rendering
|
|
4
|
+
* @auto-generated
|
|
5
|
+
*
|
|
6
|
+
* This is a thin wrapper that re-exports from @pie-element/shared-math-rendering-mathjax.
|
|
7
|
+
* The actual implementation is in packages/shared/math-rendering-mathjax.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
export { renderMath, wrapMath, unWrapMath, mmlToLatex } from '@pie-element/shared-math-rendering-mathjax';
|