Files
KaTeX/package.json
Erik Demaine 63733f796a Update testing infrastructure NPM packages (#1044)
* Update testing infrastructure NPM packages

Travis is currently failing all tests.  This should fix it,
as documented in https://github.com/eslint/eslint/issues/9767

* Add package-lock.json
2017-12-29 10:06:26 -07:00

91 lines
2.5 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": "^8.1.2",
"babel-jest": "^22.0.4",
"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.26.0",
"babelify": "^7.3.0",
"browserify": "^13.3.0",
"check-dependencies": "^1.1.0",
"clean-css": "^3.4.23",
"eslint": "^4.14.0",
"eslint-plugin-flowtype": "^2.40.1",
"express": "^4.14.0",
"flow-bin": "^0.62.0",
"glob": "^7.1.1",
"jest": "^22.0.4",
"jest-serializer-html": "^4.0.1",
"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",
"rimraf": "^2.6.2",
"selenium-webdriver": "^2.48.2",
"sri-toolbox": "^0.2.0",
"stylelint": "^8.4.0",
"stylelint-config-standard": "^18.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",
"jest-update": "jest --updateSnapshot",
"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": "rimraf build && 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"
}
}
}