package.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "name": "@astrojs/prism",
  3. "version": "3.0.0",
  4. "description": "Add Prism syntax highlighting support to your Astro site",
  5. "author": "withastro",
  6. "type": "module",
  7. "license": "MIT",
  8. "bugs": "https://github.com/withastro/astro/issues",
  9. "repository": {
  10. "type": "git",
  11. "url": "https://github.com/withastro/astro.git",
  12. "directory": "packages/astro-prism"
  13. },
  14. "homepage": "https://docs.astro.build/en/reference/api-reference/#prism-",
  15. "main": "dist/index.js",
  16. "scripts": {
  17. "build": "astro-scripts build \"src/**/*.ts\" && tsc -p ./tsconfig.json",
  18. "build:ci": "astro-scripts build \"src/**/*.ts\"",
  19. "dev": "astro-scripts dev \"src/**/*.ts\""
  20. },
  21. "exports": {
  22. ".": "./dist/index.js",
  23. "./Prism.astro": "./Prism.astro",
  24. "./dist/highlighter": "./dist/highlighter.js"
  25. },
  26. "files": [
  27. "dist",
  28. "Prism.astro"
  29. ],
  30. "keywords": [
  31. "astro",
  32. "astro-component"
  33. ],
  34. "dependencies": {
  35. "prismjs": "^1.29.0"
  36. },
  37. "devDependencies": {
  38. "@types/prismjs": "1.26.3",
  39. "astro-scripts": "workspace:*"
  40. },
  41. "engines": {
  42. "node": ">=18.14.1"
  43. }
  44. }