mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 03:38:39 +00:00
Automatic submodule updating via husky tool (#1391)
* Automatic submodule updating via husky tool * Update documentation
This commit is contained in:
committed by
Kevin Barabash
parent
19d2aa63c3
commit
4f9851fb0c
12
package.json
12
package.json
@@ -31,6 +31,7 @@
|
||||
"eslint-plugin-flowtype": "^2.40.1",
|
||||
"file-loader": "^1.1.11",
|
||||
"flow-bin": "^0.73.0",
|
||||
"husky": "^1.0.0-rc.8",
|
||||
"jest": "^23.0.1",
|
||||
"jest-serializer-html": "^5.0.0",
|
||||
"js-yaml": "^3.10.0",
|
||||
@@ -41,7 +42,6 @@
|
||||
"mini-css-extract-plugin": "^0.4.0",
|
||||
"mkdirp": "^0.5.1",
|
||||
"pako": "1.0.6",
|
||||
"pre-commit": "^1.2.2",
|
||||
"query-string": "^6.1.0",
|
||||
"rimraf": "^2.6.2",
|
||||
"selenium-webdriver": "^3.6.0",
|
||||
@@ -79,13 +79,17 @@
|
||||
"dist:zip": "cd build && tar czf katex.tar.gz katex/ && zip -rq katex.zip katex/",
|
||||
"dist:dist": "rimraf dist/ && cp -r build/katex/ dist/"
|
||||
},
|
||||
"pre-commit": [
|
||||
"test:lint"
|
||||
],
|
||||
"dependencies": {
|
||||
"match-at": "^0.1.1",
|
||||
"nomnom": "^1.8.1"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "npm run test:lint",
|
||||
"post-merge": "git submodule update --init --recursive",
|
||||
"post-checkout": "git submodule update --init --recursive"
|
||||
}
|
||||
},
|
||||
"jest": {
|
||||
"collectCoverageFrom": [
|
||||
"src/**/*.js",
|
||||
|
Reference in New Issue
Block a user