mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 19:58:40 +00:00
* screenshotter: replace promisify(fs) and mkdirp with fs-extra * screenshotter: replace selenium.promise with builtin Promise * Lint all JavaScript files in the root * unicodeMake: replace console.log with writeFile(string) * unicodeMake: check timestamp, do not build if up-to-date * Replace check-dependencies with yarn check * Exclude src/unicodeMake.js from coverage * Add (missing) dependencies * Skip CircleCI if only unrelated has been changed * Fix commit range * Use fs-extra in update-sri
11 lines
322 B
JavaScript
11 lines
322 B
JavaScript
const v = process.version
|
|
.replace(/^v/, "")
|
|
.split(".")
|
|
.map(parseInt);
|
|
if (v[0] < 6 || (v[0] === 6 && v[1] < 9)) {
|
|
// eslint-disable-next-line no-console
|
|
console.error("Node 6.9 or later required for development. " +
|
|
"Version " + process.version + " found");
|
|
process.exit(1);
|
|
}
|