mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
64432bcb87
* Upgrade @astrojs/prism to a real package, fix component import not working * Remove `@astrojs/prism` as a dependency of `astro` * Update lock file * Refactor to multiple files * Oops, can't have astro imports run inside node * Follow Nate's suggestion on being minors instead of patchs * Update lockfile
40 lines
1,012 B
JSON
40 lines
1,012 B
JSON
{
|
|
"name": "@astrojs/prism",
|
|
"version": "0.6.1",
|
|
"description": "Supports Prism highlighting in Astro projects",
|
|
"author": "withastro",
|
|
"type": "module",
|
|
"license": "MIT",
|
|
"bugs": "https://github.com/withastro/astro/issues",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/withastro/astro.git",
|
|
"directory": "packages/astro-prism"
|
|
},
|
|
"homepage": "https://astro.build",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
|
|
"build:ci": "astro-scripts build \"src/**/*.ts\"",
|
|
"dev": "astro-scripts dev \"src/**/*.ts\""
|
|
},
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./Prism.astro": "./Prism.astro",
|
|
"./dist/highlighter": "./dist/highlighter.js"
|
|
},
|
|
"keywords": [
|
|
"astro",
|
|
"astro-component"
|
|
],
|
|
"dependencies": {
|
|
"prismjs": "^1.28.0"
|
|
},
|
|
"devDependencies": {
|
|
"astro-scripts": "workspace:*",
|
|
"@types/prismjs": "1.26.0"
|
|
},
|
|
"engines": {
|
|
"node": "^14.18.0 || >=16.12.0"
|
|
}
|
|
}
|