forked from KaTeX/KaTeX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 3.94 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"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-core": "^6.26.3",
"babel-eslint": "^8.1.2",
"babel-jest": "^23.0.1",
"babel-loader": "^7.1.4",
"babel-plugin-istanbul": "^4.1.6",
"babel-plugin-transform-class-properties": "^6.23.0",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-plugin-version-inline": "^1.0.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-flow": "^6.23.0",
"babel-register": "^6.26.0",
"benchmark": "^2.1.4",
"codecov": "^3.0.4",
"css-loader": "^1.0.0",
"cssnano": "^4.0.1",
"eslint": "^5.0.0",
"eslint-plugin-flowtype": "^2.40.1",
"eslint-plugin-react": "^7.10.0",
"eslint-plugin-transform-runtime-aliasing": "^1.0.0",
"file-loader": "^1.1.11",
"flow-bin": "^0.79.0",
"fs-extra": "^7.0.0",
"greenkeeper-lockfile": "^1.15.1",
"husky": "^1.0.0-rc.8",
"istanbul-api": "^1.3.1",
"istanbul-lib-coverage": "^1.2.0",
"jest": "^23.0.1",
"jest-serializer-html": "^5.0.0",
"js-yaml": "^3.10.0",
"json-stable-stringify": "^1.0.1",
"jspngopt": "^0.2.0",
"less": "^3.0.4",
"less-loader": "^4.1.0",
"mini-css-extract-plugin": "^0.4.0",
"mkdirp": "^0.5.1",
"pako": "1.0.6",
"postcss-loader": "^3.0.0",
"query-string": "^5.1.1",
"rimraf": "^2.6.2",
"rollup": "^0.65.0",
"rollup-plugin-babel": "^3.0.7",
"selenium-webdriver": "^3.6.0",
"sri-toolbox": "^0.2.0",
"style-loader": "^0.22.0",
"stylelint": "^9.2.1",
"stylelint-config-standard": "^18.0.0",
"uglifyjs-webpack-plugin": "^1.2.5",
"webpack": "^4.9.1",
"webpack-bundle-analyzer": "^2.13.0",
"webpack-cli": "^3.0.1",
"webpack-dev-server": "^3.1.4"
},
"bin": "cli.js",
"scripts": {
"test": "yarn prestart && yarn test:lint && yarn test:flow && yarn test:jest",
"test:lint": "yarn test:lint:js && yarn test:lint:css",
"test:lint:js": "eslint *.js src static test contrib dockers website",
"test:lint:css": "stylelint src/katex.less static/main.css contrib/**/*.css website/static/**/*.css",
"test:flow": "flow",
"test:jest": "jest",
"test:jest:watch": "jest --watch",
"test:jest:update": "jest --updateSnapshot",
"test:jest:coverage": "jest --coverage",
"test:screenshots": "yarn test:screenshots:update --verify",
"test:screenshots:update": "yarn prestart && dockers/screenshotter/screenshotter.sh",
"test:perf": "yarn prestart && NODE_ENV=test node test/perf-test.js",
"clean": "rm -rf dist/ node_modules/",
"clean-install": "yarn clean && yarn",
"prestart": "node check-node-version.js && yarn check && node src/unicodeMake.js",
"start": "webpack-dev-server --hot --config webpack.dev.js",
"analyze": "webpack --config webpack.analyze.js",
"build": "yarn prestart && rimraf dist/ && mkdirp dist && cp README.md dist && rollup -c && webpack",
"watch": "yarn build --watch",
"dist": "yarn test && yarn build && yarn dist:zip",
"dist:zip": "cd dist && tar czf ../katex.tar.gz * && zip -rq ../katex.zip *"
},
"dependencies": {
"commander": "^2.16.0"
},
"husky": {
"hooks": {
"pre-commit": "yarn test:lint",
"post-merge": "git submodule update --init --recursive",
"post-checkout": "git submodule update --init --recursive"
}
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js",
"contrib/**/*.js",
"!src/unicodeMake.js"
],
"setupTestFrameworkScriptFile": "<rootDir>/test/setup.js",
"snapshotSerializers": [
"jest-serializer-html"
],
"testMatch": [
"**/test/*-spec.js"
],
"testURL": "http://localhost/",
"transform": {
"^.+\\.js$": "babel-jest"
}
}
}