Switch npm to Yarn (#1522)

* Add testUrl to jest config

* Switch npm to Yarn
This commit is contained in:
ylemkimon
2018-07-30 03:36:27 +09:00
committed by Kevin Barabash
parent 702b3c807f
commit a76c4b9a2f
16 changed files with 8010 additions and 13106 deletions

4
cli.js
View File

@@ -2,7 +2,7 @@
// Simple CLI for KaTeX.
// Reads TeX from stdin, outputs HTML to stdout.
// To run this from the repository, you must first build KaTeX by running
// `npm install` and `npm run build`.
// `yarn install` and `yarn run build`.
/* eslint no-console:0 */
@@ -12,7 +12,7 @@ try {
} catch (e) {
console.error(
"KaTeX could not import, likely because dist/katex.js is missing.");
console.error("Please run 'npm install' and 'npm run build' before running");
console.error("Please run 'yarn install' and 'yarn run build' before running");
console.error("cli.js from the KaTeX repository.");
console.error();
throw e;