Replace require("package.json") with constants.js to simplify and remove that file from markdownlint-browser.js.

This commit is contained in:
David Anson 2021-11-10 21:48:15 -08:00
parent 8179adf38e
commit c5345f45eb
6 changed files with 33 additions and 21 deletions

6
lib/constants.js Normal file
View file

@ -0,0 +1,6 @@
// @ts-check
"use strict";
module.exports.homepage = "https://github.com/DavidAnson/markdownlint";
module.exports.version = "0.24.0";