@ai-react-markdown/core 1.0.0 → 1.0.2

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/package.json CHANGED
@@ -1,35 +1,58 @@
1
1
  {
2
2
  "name": "@ai-react-markdown/core",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
+ "description": "Core rendering engine for ai-react-markdown — LaTeX preprocessing, plugin pipeline, and React components.",
4
5
  "publishConfig": {
5
6
  "access": "public"
6
7
  },
7
8
  "type": "module",
8
- "main": "./dist/index.js",
9
- "module": "./dist/index.mjs",
9
+ "license": "MIT",
10
+ "author": "Brian Lee <aiephoenixbl@gmail.com> (https://github.com/AIEPhoenix)",
11
+ "homepage": "https://github.com/AIEPhoenix/ai-react-markdown/tree/main/packages/core#readme",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/AIEPhoenix/ai-react-markdown.git",
15
+ "directory": "packages/core"
16
+ },
17
+ "bugs": {
18
+ "url": "https://github.com/AIEPhoenix/ai-react-markdown/issues"
19
+ },
20
+ "keywords": [
21
+ "react",
22
+ "markdown",
23
+ "ai",
24
+ "llm",
25
+ "latex",
26
+ "katex",
27
+ "gfm",
28
+ "streaming"
29
+ ],
30
+ "sideEffects": [
31
+ "**/*.css"
32
+ ],
33
+ "main": "./dist/index.cjs",
34
+ "module": "./dist/index.js",
10
35
  "types": "./dist/index.d.ts",
11
36
  "files": [
12
37
  "dist"
13
38
  ],
14
39
  "exports": {
15
40
  ".": {
16
- "types": "./dist/index.d.ts",
17
- "import": "./dist/index.mjs",
18
- "require": "./dist/index.js"
41
+ "types": {
42
+ "import": "./dist/index.d.ts",
43
+ "require": "./dist/index.d.cts"
44
+ },
45
+ "import": "./dist/index.js",
46
+ "require": "./dist/index.cjs"
19
47
  },
20
48
  "./typography/*.css": "./dist/typography/*.css"
21
49
  },
22
- "scripts": {
23
- "build:js": "tsup",
24
- "build:css": "sass src/components/typography/variants/:dist/typography/ && postcss dist/typography/*.css --replace",
25
- "build": "pnpm run build:js && pnpm run build:css"
26
- },
27
50
  "peerDependencies": {
28
51
  "react": ">=19.0.0",
29
52
  "react-dom": ">=19.0.0"
30
53
  },
31
54
  "dependencies": {
32
- "lodash": "^4.17.23",
55
+ "lodash-es": "^4.17.23",
33
56
  "react-markdown": "^10.1.0",
34
57
  "rehype-katex": "^7.0.1",
35
58
  "rehype-raw": "^7.0.0",
@@ -50,6 +73,11 @@
50
73
  "remark-supersub": "^1.0.0"
51
74
  },
52
75
  "devDependencies": {
53
- "@types/lodash": "^4.17.24"
76
+ "@types/lodash-es": "^4.17.12"
77
+ },
78
+ "scripts": {
79
+ "build:js": "tsup",
80
+ "build:css": "sass src/components/typography/variants/:dist/typography/ && postcss dist/typography/*.css --replace",
81
+ "build": "pnpm run build:js && pnpm run build:css"
54
82
  }
55
- }
83
+ }