-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (76 loc) · 2.53 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
75
76
{
"name": "react-mathjax-component",
"version": "1.0.3",
"description": "React component to render math expressions with Mathjax through LiteDOM. Neither dangerouslySetInnerHTML nor real DOM insertion is necessary.",
"main": "index.js",
"files": [
"index.js",
"index.d.ts",
"litedom.js",
"litedom.d.ts",
"README.md",
"LICENSE.txt"
],
"scripts": {
"start": "concurrently -c auto npm:demo npm:watch:ts npm:watch:bundle",
"demo": "http-server -p 1234 ./demo",
"watch:ts": "tsc -p . --watch --preserveWatchOutput --pretty",
"watch:bundle": "esbuild demo/index.tsx --bundle --outfile=demo/bundle.js --platform=browser --color=true --watch",
"build": "tsc -p . -d",
"bundle": "esbuild demo/index.tsx --bundle --outfile=demo/bundle.js --platform=browser --color=true --minify",
"lint": "concurrently -c auto npm:eslint npm:prettier",
"eslint": "eslint '*.ts' '*.tsx' 'demo/*.tsx'",
"prettier": "prettier --check '*.ts' '*.tsx' 'demo/*.tsx'",
"fix": "npm run fix:eslint && npm run fix:prettier",
"fix:eslint": "npm run eslint -- --fix",
"fix:prettier": "prettier --write '*.ts' '*.tsx' 'demo/*.tsx'",
"test": "mocha test.js --forbid-only --fail-zero --color",
"bench": "node bench.js",
"prepare": "cp node_modules/bulma/css/bulma.min.css ./demo/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rhysd/react-mathjax-component.git"
},
"keywords": [
"react",
"component",
"mathjax",
"math"
],
"author": "rhysd <lin90162@yahoo.co.jp> (https://rhysd.github.io/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/rhysd/react-mathjax-component/issues"
},
"homepage": "https://github.com/rhysd/react-mathjax-component#readme",
"devDependencies": {
"@types/benchmark": "^2.1.2",
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.3",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"benchmark": "^2.1.4",
"bulma": "^0.9.4",
"concurrently": "^7.6.0",
"esbuild": "^0.17.12",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-security": "^1.7.1",
"http-server": "^14.1.1",
"mocha": "^10.2.0",
"prettier": "^2.8.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.0.2"
},
"dependencies": {
"mathjax-full": "^3.2.2"
},
"peerDependencies": {
"react": ">=16.0.0"
}
}