Skip to content

Commit 6248b0a

Browse files
author
kilian
committed
added "exports"-field markedjs#1692
Signed-off-by: kilian <[email protected]>
1 parent 7b3036f commit 6248b0a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
"man/",
1515
"marked.min.js"
1616
],
17+
"exports": {
18+
".": {
19+
"import": "lib/marked.esm.js",
20+
"require": "lib/marked.js"
21+
}
22+
},
1723
"repository": "git://github.com/markedjs/marked.git",
1824
"homepage": "https://marked.js.org",
1925
"bugs": {
@@ -34,6 +40,8 @@
3440
"@babel/core": "^7.9.6",
3541
"@babel/preset-env": "^7.9.6",
3642
"@markedjs/html-differ": "^3.0.2",
43+
"@types/node": "^14.0.9",
44+
"babel-eslint": "^10.1.0",
3745
"cheerio": "^1.0.0-rc.3",
3846
"commonmark": "0.29.x",
3947
"eslint": "^7.0.0",
@@ -51,6 +59,7 @@
5159
"rollup-plugin-babel": "^4.4.0",
5260
"rollup-plugin-commonjs": "^10.1.0",
5361
"rollup-plugin-license": "^2.0.1",
62+
"standardx": "^5.0.0",
5463
"uglify-js": "^3.9.3",
5564
"vuln-regex-detector": "^1.3.0"
5665
},

0 commit comments

Comments
 (0)