package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "name": "@astrojs/markdown-remark",
  3. "version": "4.2.1",
  4. "type": "module",
  5. "author": "withastro",
  6. "license": "MIT",
  7. "repository": {
  8. "type": "git",
  9. "url": "https://github.com/withastro/astro.git",
  10. "directory": "packages/markdown/remark"
  11. },
  12. "bugs": "https://github.com/withastro/astro/issues",
  13. "homepage": "https://astro.build",
  14. "main": "./dist/index.js",
  15. "exports": {
  16. ".": "./dist/index.js",
  17. "./dist/internal.js": "./dist/internal.js"
  18. },
  19. "imports": {
  20. "#import-plugin": {
  21. "browser": "./dist/import-plugin-browser.js",
  22. "default": "./dist/import-plugin-default.js"
  23. }
  24. },
  25. "files": [
  26. "dist"
  27. ],
  28. "scripts": {
  29. "prepublish": "pnpm build",
  30. "build": "astro-scripts build \"src/**/*.ts\" && tsc -p tsconfig.json",
  31. "build:ci": "astro-scripts build \"src/**/*.ts\"",
  32. "postbuild": "astro-scripts copy \"src/**/*.js\"",
  33. "dev": "astro-scripts dev \"src/**/*.ts\"",
  34. "test": "astro-scripts test \"test/**/*.test.js\""
  35. },
  36. "dependencies": {
  37. "@astrojs/prism": "^3.0.0",
  38. "github-slugger": "^2.0.0",
  39. "import-meta-resolve": "^4.0.0",
  40. "mdast-util-definitions": "^6.0.0",
  41. "rehype-raw": "^7.0.0",
  42. "rehype-stringify": "^10.0.0",
  43. "remark-gfm": "^4.0.0",
  44. "remark-parse": "^11.0.0",
  45. "remark-rehype": "^11.0.0",
  46. "remark-smartypants": "^2.0.0",
  47. "shikiji": "^0.9.19",
  48. "unified": "^11.0.4",
  49. "unist-util-visit": "^5.0.0",
  50. "vfile": "^6.0.1"
  51. },
  52. "devDependencies": {
  53. "@types/chai": "^4.3.10",
  54. "@types/estree": "^1.0.5",
  55. "@types/hast": "^3.0.3",
  56. "@types/mdast": "^4.0.3",
  57. "@types/mocha": "^10.0.4",
  58. "@types/unist": "^3.0.2",
  59. "astro-scripts": "workspace:*",
  60. "esbuild": "^0.19.6",
  61. "mdast-util-mdx-expression": "^2.0.0"
  62. },
  63. "publishConfig": {
  64. "provenance": true
  65. }
  66. }