改用peerdep防止multi-instance

This commit is contained in:
undefined committed 2020-09-03 12:50:01 +08:00
1 parent 7fc721676e
commit efa3faea5d
11 files changed
+49 -25

No files matched your search

+4 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/html2md",
"version": "1.0.0",
"version": "1.0.1",
"description": "turn html into markdown",
"main": "lib.js",
"typings": "lib.d.ts",
@@ -8,7 +8,6 @@
"author": "undefined <masnn0@outlook.com>",
"license": "AGPL-3.0-only",
"dependencies": {
"hydrooj": "^2.12.22",
"jsdom": "^16.4.0",
"turndown": "^6.0.0"
},
@@ -16,6 +15,9 @@
"@types/jsdom": "^16.2.3",
"@types/turndown": "^5.0.0"
},
"peerDependencies": {
"hydrooj": "^2.12.22"
},
"scripts": {
"build": "tsc",
"lint": "eslint . --ext ts --fix"