forked from fast-reflexes/better-react-mathjax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 2.7 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
{
"name": "better-react-mathjax",
"version": "2.0.2",
"description": "Up-to-date component for using MathJax in latest React (using functional components and hooks API). Focuses on being versatile and making the use of MathJax in React a pleasant experience without flashes of non-typeset content, both with respect to initial rendering as well as dynamic updates. Simple to use but with many configuration options.",
"main": "index.js",
"module": "esm/index.js",
"types": "index.d.ts",
"sideEffects": false,
"scripts": {
"build-esm": "tsc --module es6 --outDir ./build/esm --declaration false",
"build-tsc": "tsc --outDir ./build",
"build": "npm run build-esm && npm run build-tsc && cp ./src/MathJax2.d.ts ./src/MathJax3.d.ts ./build",
"test": "jest --config jestconfig.json",
"lint": "tslint -p tsconfig.json",
"prebuild": "rm -rf ./build",
"minify-with-source-maps": "find ./build -iname \"*.js\" -execdir uglifyjs --source-map \"includeSources,content='{}.map',url='{}.map'\" --compress --mangle -o {} -- {} \\;",
"minify": "find ./build -iname \"*.js\" -execdir uglifyjs --compress --mangle -o {} -- {} \\;",
"postbuild": "npm run build-package-json && node build-post-process.js && cp README-min.md ./build/README.md && npm run minify",
"build-package-json": "cat package.json | json -e \"delete this.scripts;delete this.devDependencies\" > ./build/package.json",
"preupload": "npm run build",
"upload": "npm publish ./build --access public",
"preversion": "npm run lint && npm test",
"release": "git add -A && npm version -f",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fast-reflexes/better-react-mathjax.git"
},
"keywords": [
"MathJax",
"MathML",
"Latex",
"React",
"AsciiMath"
],
"author": "Elias Lousseief",
"license": "MIT",
"bugs": {
"url": "https://github.com/fast-reflexes/better-react-mathjax/issues"
},
"homepage": "https://github.com/fast-reflexes/better-react-mathjax#readme",
"peerDependencies": {
"react": ">=16.8"
},
"dependencies": {
"mathjax-full": "^3.2.2"
},
"devDependencies": {
"uglify-js": "^3.16.3",
"@types/react": "^18.0.15",
"typescript": "^4.7.4",
"tslint": "^6.1.3",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"ts-jest": "^28.0.7",
"@types/jest": "^28.1.6",
"@testing-library/react": "^13.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"json": "^11.0.0"
}
}