Add "type" property of "commonjs" to package.json to be explicit.

This commit is contained in:
David Anson 2022-04-21 21:09:07 -07:00
parent c8bd6053c7
commit 9b3fd3d16b
2 changed files with 42 additions and 41 deletions

View file

@ -975,6 +975,47 @@ function deepFreeze(obj) {
module.exports.deepFreeze = deepFreeze; module.exports.deepFreeze = deepFreeze;
/***/ }),
/***/ "markdown-it":
/*!*****************************!*\
!*** external "markdownit" ***!
\*****************************/
/***/ ((module) => {
"use strict";
module.exports = markdownit;
/***/ }),
/***/ "?ec0a":
/*!********************!*\
!*** fs (ignored) ***!
\********************/
/***/ (() => {
/* (ignored) */
/***/ }),
/***/ "?b85c":
/*!**********************!*\
!*** path (ignored) ***!
\**********************/
/***/ (() => {
/* (ignored) */
/***/ }),
/***/ "?96a2":
/*!**********************!*\
!*** util (ignored) ***!
\**********************/
/***/ (() => {
/* (ignored) */
/***/ }), /***/ }),
/***/ "../lib/cache.js": /***/ "../lib/cache.js":
@ -4536,47 +4577,6 @@ rules.forEach(function (rule) {
module.exports = rules; module.exports = rules;
/***/ }),
/***/ "markdown-it":
/*!*****************************!*\
!*** external "markdownit" ***!
\*****************************/
/***/ ((module) => {
"use strict";
module.exports = markdownit;
/***/ }),
/***/ "?ec0a":
/*!********************!*\
!*** fs (ignored) ***!
\********************/
/***/ (() => {
/* (ignored) */
/***/ }),
/***/ "?b85c":
/*!**********************!*\
!*** path (ignored) ***!
\**********************/
/***/ (() => {
/* (ignored) */
/***/ }),
/***/ "?96a2":
/*!**********************!*\
!*** util (ignored) ***!
\**********************/
/***/ (() => {
/* (ignored) */
/***/ }) /***/ })
/******/ }); /******/ });

View file

@ -2,6 +2,7 @@
"name": "markdownlint", "name": "markdownlint",
"version": "0.25.1", "version": "0.25.1",
"description": "A Node.js style checker and lint tool for Markdown/CommonMark files.", "description": "A Node.js style checker and lint tool for Markdown/CommonMark files.",
"type": "commonjs",
"main": "lib/markdownlint.js", "main": "lib/markdownlint.js",
"types": "lib/markdownlint.d.ts", "types": "lib/markdownlint.d.ts",
"author": "David Anson (https://dlaa.me/)", "author": "David Anson (https://dlaa.me/)",