build: move to dependencies for esm

This commit is contained in:
Rongjian Zhang 2022-06-12 12:55:55 +08:00
parent 6b7d7c7e4b
commit 0095a28eee
9 changed files with 31 additions and 22 deletions

View File

@ -38,12 +38,9 @@
"test": "tsdv test"
},
"dependencies": {
"@types/codemirror": "^5.60.5"
},
"devDependencies": {
"@icon-park/svg": "^1.4.0",
"@popperjs/core": "^2.11.5",
"@primer/css": "^15.2.0",
"@types/codemirror": "^5.60.5",
"@types/hast": "^2.3.4",
"@types/lodash-es": "^4.17.6",
"@types/mdast": "^3.0.10",
@ -61,5 +58,8 @@
"unist-util-visit": "^4.1.0",
"vfile": "^5.3.2",
"word-count": "^0.2.2"
},
"devDependencies": {
"@primer/css": "^15.2.0"
}
}

View File

@ -29,10 +29,12 @@
"build": "tsdv build",
"test": "tsdv test"
},
"devDependencies": {
"bytemd": "workspace:*",
"dependencies": {
"remark-breaks": "^3.0.2"
},
"devDependencies": {
"bytemd": "workspace:*"
},
"peerDependencies": {
"bytemd": "^1.5.0"
}

View File

@ -29,13 +29,15 @@
"build": "tsdv build",
"test": "tsdv test"
},
"devDependencies": {
"dependencies": {
"@types/js-yaml": "^4.0.5",
"bytemd": "workspace:*",
"js-yaml": "^4.1.0",
"remark-frontmatter": "^4.0.1",
"vfile": "^5.3.2"
},
"devDependencies": {
"bytemd": "workspace:*"
},
"peerDependencies": {
"bytemd": "^1.5.0"
}

View File

@ -29,10 +29,12 @@
"build": "tsdv build",
"test": "tsdv test"
},
"devDependencies": {
"bytemd": "workspace:*",
"dependencies": {
"remark-gemoji": "^7.0.1"
},
"devDependencies": {
"bytemd": "workspace:*"
},
"peerDependencies": {
"bytemd": "^1.5.0"
}

View File

@ -29,11 +29,13 @@
"build": "tsdv build",
"test": "tsdv test"
},
"devDependencies": {
"dependencies": {
"@icon-park/svg": "^1.4.0",
"bytemd": "workspace:*",
"remark-gfm": "^3.0.1"
},
"devDependencies": {
"bytemd": "workspace:*"
},
"peerDependencies": {
"bytemd": "^1.5.0"
}

View File

@ -30,11 +30,10 @@
"test": "tsdv test"
},
"dependencies": {
"highlight.js": "^11.5.1"
"rehype-highlight": "^5.0.2"
},
"devDependencies": {
"bytemd": "workspace:*",
"rehype-highlight": "^5.0.2"
"bytemd": "workspace:*"
},
"peerDependencies": {
"bytemd": "^1.5.0"

View File

@ -29,12 +29,14 @@
"build": "tsdv build",
"test": "tsdv test"
},
"devDependencies": {
"dependencies": {
"@icon-park/svg": "^1.4.0",
"bytemd": "workspace:*",
"rehype-katex": "^6.0.2",
"remark-math": "^5.1.1"
},
"devDependencies": {
"bytemd": "workspace:*"
},
"peerDependencies": {
"bytemd": "^1.5.0"
}

View File

@ -30,13 +30,13 @@
"test": "tsdv test"
},
"dependencies": {
"@icon-park/svg": "^1.4.0",
"@types/katex": "^0.14.0",
"katex": "^0.15.6"
"katex": "^0.15.6",
"remark-math": "^5.1.1"
},
"devDependencies": {
"@icon-park/svg": "^1.4.0",
"bytemd": "workspace:*",
"remark-math": "^5.1.1"
"bytemd": "workspace:*"
},
"peerDependencies": {
"bytemd": "^1.5.0"

View File

@ -30,11 +30,11 @@
"test": "tsdv test"
},
"dependencies": {
"@icon-park/svg": "^1.4.0",
"@types/mermaid": "^8.2.9",
"mermaid": "^9.1.1"
},
"devDependencies": {
"@icon-park/svg": "^1.4.0",
"bytemd": "workspace:*"
},
"peerDependencies": {