mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 03:08:40 +00:00
89 lines
2.4 KiB
JSON
89 lines
2.4 KiB
JSON
{
|
|
"name": "katex",
|
|
"version": "0.10.0-pre",
|
|
"description": "Fast math typesetting for the web.",
|
|
"main": "dist/katex.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/Khan/KaTeX.git"
|
|
},
|
|
"files": [
|
|
"katex.js",
|
|
"cli.js",
|
|
"src/",
|
|
"contrib/",
|
|
"dist/"
|
|
],
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"babel-eslint": "^7.2.0",
|
|
"babel-jest": "^20.0.3",
|
|
"babel-loader": "^7.1.2",
|
|
"babel-plugin-transform-class-properties": "^6.23.0",
|
|
"babel-plugin-transform-runtime": "^6.15.0",
|
|
"babel-preset-es2015": "^6.18.0",
|
|
"babel-preset-flow": "^6.23.0",
|
|
"babel-register": "^6.24.0",
|
|
"babelify": "^7.3.0",
|
|
"browserify": "^13.3.0",
|
|
"check-dependencies": "^1.1.0",
|
|
"clean-css": "^3.4.23",
|
|
"eslint": "^4.6.1",
|
|
"eslint-plugin-flowtype": "^2.35.1",
|
|
"express": "^4.14.0",
|
|
"flow-bin": "^0.54.0",
|
|
"glob": "^7.1.1",
|
|
"jest": "^20.0.4",
|
|
"jest-serializer-html": "^4.0.0",
|
|
"js-yaml": "^3.3.1",
|
|
"json-stable-stringify": "^1.0.1",
|
|
"jspngopt": "^0.2.0",
|
|
"less": "~2.7.1",
|
|
"less-plugin-clean-css": "^1.5.1",
|
|
"morgan": "^1.7.0",
|
|
"nomnom": "^1.8.1",
|
|
"object-assign": "^4.1.0",
|
|
"pako": "1.0.4",
|
|
"pre-commit": "^1.2.2",
|
|
"selenium-webdriver": "^2.48.2",
|
|
"sri-toolbox": "^0.2.0",
|
|
"stylelint": "^8.2.0",
|
|
"stylelint-config-standard": "^17.0.0",
|
|
"uglify-js": "~2.7.5",
|
|
"webpack": "^3.6.0",
|
|
"webpack-dev-server": "^2.8.2"
|
|
},
|
|
"bin": "cli.js",
|
|
"scripts": {
|
|
"lint": "eslint katex.js server.js cli.js webpack.config.js webpackDevServer.js src test contrib dockers && stylelint static/fonts.less static/katex.less",
|
|
"flow": "flow",
|
|
"jest": "jest",
|
|
"coverage": "jest --coverage",
|
|
"copy": "cp -a static/. build/ && cp -a contrib build/",
|
|
"clean": "rm -rf build/* node_modules/",
|
|
"clean-install": "npm run clean && npm i",
|
|
"test": "check-dependencies && npm run lint && npm run flow && npm run jest",
|
|
"build-css": "lessc --clean-css static/katex.less build/katex.css",
|
|
"prestart": "npm run build-css && npm run copy",
|
|
"start": "check-dependencies && node webpackDevServer.js",
|
|
"prepublishOnly": "make NIS= dist"
|
|
},
|
|
"pre-commit": [
|
|
"lint"
|
|
],
|
|
"dependencies": {
|
|
"match-at": "^0.1.1"
|
|
},
|
|
"jest": {
|
|
"snapshotSerializers": [
|
|
"jest-serializer-html"
|
|
],
|
|
"testMatch": [
|
|
"**/test/*-spec.js"
|
|
],
|
|
"transform": {
|
|
"^.+\\.js$": "babel-jest"
|
|
}
|
|
}
|
|
}
|