-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 1.86 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "mathjax-render",
"version": "0.0.20",
"license": "MIT",
"author": "Dup4 <lyuzhi.pan@gmail.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/Dup4/mathjax-render.git",
"directory": "packages/libs/mathjax-render"
},
"bugs": {
"url": "https://github.com/Dup4/mathjax-render/issues"
},
"homepage": "https://github.com/Dup4/mathjax-render/tree/main/packages/libs/mathjax-render#readme",
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"./node": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"./browser": {
"require": "./dist/esm/browser/index.mjs",
"import": "./dist/esm/browser/index.mjs",
"types": "./dist/esm/browser/index.d.ts"
}
},
"browser": {
"./dist/index.cjs": "./dist/esm/browser/index.ts",
"./dist/index.d.ts": "./dist/esm/browser/index.d.ts",
"./dist/index.mjs": "./dist/esm/browser/index.ts"
},
"typesVersions": {
"*": {
"*": [
"./dist/index.d.ts",
"./dist/esm/*/index.d.ts"
]
}
},
"files": [
"src",
"dist"
],
"scripts": {
"build": "run-p build:*",
"build:node": "unbuild",
"build:browser": "cross-env BROWSER=1 unbuild",
"dev": "unbuild --stub",
"start": "esmo src/index.ts",
"test": "vitest",
"lint:build": "tsc --noEmit",
"prepublishOnly": "npm run build"
},
"dependencies": {
"escape-html": "^1.0.3",
"mathjax-full": "3.2.0",
"typescript": "5.1.6"
},
"devDependencies": {
"@types/escape-html": "^1.0.2",
"@types/jsdom": "^16.2.15",
"cross-env": "^7.0.3",
"glob": "^8.1.0",
"rimraf": "^3.0.2"
}
}