-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
48 lines (48 loc) · 1.26 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"name": "fastrender",
"version": "0.3.7",
"description": "Real-time Markdown and LaTeX rendering library using WebAssembly",
"main": "dist/fastrender.js",
"types": "dist/types/fastrender.d.ts",
"type": "module",
"author": "Rach Pradhan",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/justrach/fastrender.git"
},
"keywords": [
"markdown",
"latex",
"wasm",
"webassembly",
"katex",
"renderer"
],
"publishConfig": {
"access": "public"
},
"files": [
"dist",
"pkg",
"dist/types"
],
"scripts": {
"build": "wasm-pack build --target web && mkdir -p dist/types && cp src/fastrender.d.ts dist/types/ && bun build ./src/fastrender.ts --outdir ./dist --target browser && cp pkg/*.wasm dist/",
"prepare": "bun run build",
"prepublishOnly": "bun run test",
"dev": "bun run build && bun --watch scripts/dev-server.ts",
"test": "bun test examples/basic.ts",
"benchmark": "cd benchmark && bun run index.ts",
"publish": "bun run build && bun run test && npm publish"
},
"dependencies": {
"@types/node": "^22.13.4",
"katex": "^0.16.0",
"prismjs": "^1.29.0"
},
"devDependencies": {
"@types/katex": "^0.16.0",
"@types/prismjs": "^1.26.5"
}
}