react-markdown-typer 0.0.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.
- package/README.md +0 -0
- package/README.zh.md +846 -0
- package/dist/cjs/index.d.ts +77 -0
- package/dist/cjs/index.js +570 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/esm/index.d.ts +77 -0
- package/dist/esm/index.js +564 -0
- package/dist/esm/index.js.map +1 -0
- package/license +21 -0
- package/package.json +121 -0
package/package.json
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "react-markdown-typer",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.0.1",
|
|
5
|
+
"main": "./dist/cjs/index.js",
|
|
6
|
+
"types": "./dist/cjs/index.d.ts",
|
|
7
|
+
"module": "./dist/esm/index.js",
|
|
8
|
+
"style": "./dist/style.css",
|
|
9
|
+
"type": "module",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/onshinpei/react-markdown-typer"
|
|
14
|
+
},
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/onshinpei/react-markdown-typer/issues"
|
|
17
|
+
},
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"browser": "./dist/esm/index.js",
|
|
21
|
+
"import": {
|
|
22
|
+
"types": "./dist/esm/index.d.ts",
|
|
23
|
+
"default": "./dist/esm/index.js"
|
|
24
|
+
},
|
|
25
|
+
"require": {
|
|
26
|
+
"types": "./dist/cjs/index.d.ts",
|
|
27
|
+
"default": "./dist/cjs/index.js"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"dist"
|
|
33
|
+
],
|
|
34
|
+
"scripts": {
|
|
35
|
+
"dev": "vite",
|
|
36
|
+
"build:docs": "rimraf docs && vite build",
|
|
37
|
+
"build": "rimraf dist && rollup -c",
|
|
38
|
+
"lint": "eslint .",
|
|
39
|
+
"preview": "vite preview",
|
|
40
|
+
"release": "npm run build && node scripts/set-tag.cjs && cross-env RELEASE_MODE=true npm publish",
|
|
41
|
+
"prepublishOnly": "node scripts/prepublish.js",
|
|
42
|
+
"pretest": "rimraf dist && npm run build:esm",
|
|
43
|
+
"test": "jest"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"react-markdown": "^10.1.0"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@antfu/eslint-config": "^4.12.0",
|
|
50
|
+
"@babel/core": "^7.27.1",
|
|
51
|
+
"@babel/preset-env": "^7.27.2",
|
|
52
|
+
"@babel/preset-react": "^7.27.1",
|
|
53
|
+
"@babel/preset-typescript": "^7.27.1",
|
|
54
|
+
"@eslint-react/eslint-plugin": "^1.48.5",
|
|
55
|
+
"@eslint/js": "^9.25.0",
|
|
56
|
+
"@rollup/plugin-babel": "^6.0.4",
|
|
57
|
+
"@rollup/plugin-commonjs": "^27.0.0",
|
|
58
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
59
|
+
"@rollup/plugin-replace": "^5.0.5",
|
|
60
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
61
|
+
"@rollup/plugin-typescript": "^12.1.1",
|
|
62
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
63
|
+
"@types/jest": "^29.5.14",
|
|
64
|
+
"@types/react": "^19.1.2",
|
|
65
|
+
"@types/react-dom": "^19.1.2",
|
|
66
|
+
"@types/react-syntax-highlighter": "^15.5.13",
|
|
67
|
+
"@vitejs/plugin-react": "^4.4.1",
|
|
68
|
+
"babel-jest": "^29.0.0",
|
|
69
|
+
"cross-env": "^7.0.3",
|
|
70
|
+
"eslint": "^9.25.0",
|
|
71
|
+
"eslint-config-prettier": "^10.1.2",
|
|
72
|
+
"eslint-plugin-compat": "^6.0.2",
|
|
73
|
+
"eslint-plugin-prettier": "^5.3.1",
|
|
74
|
+
"eslint-plugin-react": "^7.37.5",
|
|
75
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
76
|
+
"eslint-plugin-react-refresh": "^0.4.19",
|
|
77
|
+
"globals": "^16.0.0",
|
|
78
|
+
"identity-obj-proxy": "^3.0.0",
|
|
79
|
+
"jest": "^29.7.0",
|
|
80
|
+
"jest-environment-jsdom": "^30.0.0-beta.3",
|
|
81
|
+
"jsdom": "^26.1.0",
|
|
82
|
+
"less": "^4.3.0",
|
|
83
|
+
"prettier": "3.5.3",
|
|
84
|
+
"react": "^19.1.0",
|
|
85
|
+
"react-dom": "^19.1.0",
|
|
86
|
+
"react-refresh": "^0.17.0",
|
|
87
|
+
"rehype-katex": "^7.0.1",
|
|
88
|
+
"rehype-stringify": "^10.0.1",
|
|
89
|
+
"remark-math": "^6.0.0",
|
|
90
|
+
"remark-parse": "^11.0.0",
|
|
91
|
+
"remark-rehype": "^11.1.2",
|
|
92
|
+
"rimraf": "^6.0.1",
|
|
93
|
+
"rollup": "^4.21.1",
|
|
94
|
+
"rollup-plugin-dts": "^6.2.1",
|
|
95
|
+
"rollup-plugin-less": "^1.1.3",
|
|
96
|
+
"rollup-plugin-livereload": "^2.0.5",
|
|
97
|
+
"rollup-plugin-serve": "^2.0.2",
|
|
98
|
+
"ts-jest": "^29.3.4",
|
|
99
|
+
"typescript": "~5.8.3",
|
|
100
|
+
"typescript-eslint": "^8.30.1",
|
|
101
|
+
"unified": "^11.0.5",
|
|
102
|
+
"vite": "^6.3.2"
|
|
103
|
+
},
|
|
104
|
+
"peerDependencies": {
|
|
105
|
+
"react": ">=18.0.0",
|
|
106
|
+
"react-dom": ">=18.0.0"
|
|
107
|
+
},
|
|
108
|
+
"keywords": [
|
|
109
|
+
"markdown",
|
|
110
|
+
"ai-markdown",
|
|
111
|
+
"react-markdown-typing",
|
|
112
|
+
"react-markdown-typewriter",
|
|
113
|
+
"react-markdown-animation",
|
|
114
|
+
"react",
|
|
115
|
+
"react-component",
|
|
116
|
+
"react-markdown"
|
|
117
|
+
],
|
|
118
|
+
"publishConfig": {
|
|
119
|
+
"tag": "latest"
|
|
120
|
+
}
|
|
121
|
+
}
|