forked from sonoisa/XyJax-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
28 lines (28 loc) · 1.32 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
{
"name": "xyjax",
"version": "3.0.0-alpha.1",
"description": "XyJax for MathJax 3",
"license": "Apache-2.0",
"author": "Isao Sonobe",
"repository": {
"type": "git",
"url": "https://github.com/sonoisa/XyJax-v3/"
},
"main": "index.js",
"scripts": {
"build_mathjax": "git clone https://github.com/mathjax/MathJax-src.git mathjax; cd mathjax; npm install; npm run compile; npm run make-components",
"build_mathjax_for_debug": "git clone https://github.com/mathjax/MathJax-src.git mathjax; cd mathjax; npm install; npm install --save source-map-support; gsed -i 's/module.exports = PACKAGE;/module.exports = function (name, mathjax, libs, dir, dist) { const config = PACKAGE(name, mathjax, libs, dir, dist); config[\"devtool\"] = \"inline-source-map\"; return config };/' components/webpack.common.js; npm run compile; npm run make-components",
"build": "[ ! -d \"./mathjax\" ] && npm run build_mathjax; cd src; node ../mathjax/components/bin/makeAll",
"test": "echo \"Error: no test specified\" && exit 1",
"clean": "rm ./build/*.js ./build/*.txt"
},
"devDependencies": {
"@babel/core": "^7.11.1",
"@babel/preset-env": "^7.11.0",
"babel-loader": "^8.1.0",
"source-map-support": "^0.5.19",
"terser-webpack-plugin": "^4.1.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12"
}
}