astro/packages/markdown/remark/package.json
JuanM04 679d4395ec
Markdown package improvements (#1954)
* Re-add smartypants

* Updated packages

* Remove all the default plugins if there are either remark or rehype plugins

* Replace deperecated remark-slug with rehype-slug

* Added MarkdownParserResponse type

* Update documentation

* Removed type import from markdown package

* Updated remark-smartypants

* Changelog

* Missed one change

* Split changelogs

* Upgraded some MDX dependencies

* Fix typos in documentation

* Changed CHANGELOG.md package name

* Renamed smartypants
2021-11-22 14:48:00 -06:00

45 lines
1.3 KiB
JSON

{
"name": "@astrojs/markdown-remark",
"version": "0.4.0",
"main": "./dist/index.js",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/snowpackjs/astro.git",
"directory": "packages/markdown/remark"
},
"exports": {
".": "./dist/index.js"
},
"scripts": {
"prepublish": "yarn build",
"build": "astro-scripts build \"src/**/*.ts\" && tsc -p tsconfig.json",
"postbuild": "astro-scripts copy \"src/**/*.js\"",
"dev": "astro-scripts dev \"src/**/*.ts\""
},
"dependencies": {
"@astrojs/prism": "^0.3.0",
"assert": "^2.0.0",
"github-slugger": "^1.4.0",
"gray-matter": "^4.0.3",
"mdast-util-mdx-expression": "^1.1.1",
"mdast-util-mdx-jsx": "^1.1.3",
"micromark-extension-mdx-expression": "^1.0.3",
"micromark-extension-mdx-jsx": "^1.0.2",
"prismjs": "^1.25.0",
"rehype-raw": "^6.1.0",
"rehype-slug": "^5.0.0",
"rehype-stringify": "^9.0.2",
"remark-gfm": "^3.0.1",
"remark-parse": "^10.0.1",
"remark-rehype": "^10.0.1",
"remark-smartypants": "^2.0.0",
"unified": "^10.1.1",
"unist-util-map": "^3.0.0",
"unist-util-visit": "^4.1.0"
},
"devDependencies": {
"@types/github-slugger": "^1.3.0",
"@types/prismjs": "^1.16.6"
}
}