mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
7240f0d677
This adds astro/components/ and moves the Prism.astro component into there. So to use in a project you can do: ```html --- import Prism from 'astro/components/Prism.astro'; --- <Prism lang="html" code={`<html> ... </html>`} ```
98 lines
2.7 KiB
JSON
98 lines
2.7 KiB
JSON
{
|
|
"name": "astro",
|
|
"version": "0.0.1",
|
|
"main": "index.js",
|
|
"private": true,
|
|
"author": "Skypack",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./astro.mjs",
|
|
"./snowpack-plugin": "./snowpack-plugin.cjs",
|
|
"./components/*.astro": "./components/*.astro"
|
|
},
|
|
"bin": {
|
|
"astro": "astro.mjs"
|
|
},
|
|
"files": [
|
|
"components",
|
|
"lib",
|
|
"prism-astro"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsc --watch",
|
|
"lint": "eslint 'src/**/*.{js,ts}'",
|
|
"format": "prettier -w '{src,test}/**/*.{js,ts}'",
|
|
"test": "uvu test -i fixtures -i test-utils.js",
|
|
"watch:extension": "cd vscode && npm run watch"
|
|
},
|
|
"dependencies": {
|
|
"@babel/generator": "^7.13.9",
|
|
"@babel/traverse": "^7.13.0",
|
|
"@snowpack/plugin-sass": "^1.4.0",
|
|
"@snowpack/plugin-svelte": "^3.6.0",
|
|
"@snowpack/plugin-vue": "^2.4.0",
|
|
"@vue/server-renderer": "^3.0.11",
|
|
"acorn": "^7.4.0",
|
|
"acorn-jsx": "^5.3.1",
|
|
"astring": "^1.7.0",
|
|
"autoprefixer": "^10.2.5",
|
|
"css-tree": "^1.1.2",
|
|
"deepmerge": "^4.2.2",
|
|
"domhandler": "^4.0.0",
|
|
"es-module-lexer": "^0.4.1",
|
|
"esbuild": "^0.10.1",
|
|
"estree-walker": "^3.0.0",
|
|
"fdir": "^5.0.0",
|
|
"find-up": "^5.0.0",
|
|
"github-slugger": "^1.3.0",
|
|
"gray-matter": "^4.0.2",
|
|
"htmlparser2": "^6.0.0",
|
|
"kleur": "^4.1.4",
|
|
"locate-character": "^2.0.5",
|
|
"magic-string": "^0.25.3",
|
|
"micromark": "^2.11.4",
|
|
"micromark-extension-gfm": "^0.3.3",
|
|
"micromark-extension-mdx-expression": "^0.3.2",
|
|
"micromark-extension-mdx-jsx": "^0.3.3",
|
|
"node-fetch": "^2.6.1",
|
|
"postcss": "^8.2.8",
|
|
"postcss-icss-keyframes": "^0.2.1",
|
|
"preact": "^10.5.13",
|
|
"preact-render-to-string": "^5.1.18",
|
|
"prismjs": "^1.23.0",
|
|
"react": "^17.0.1",
|
|
"react-dom": "^17.0.1",
|
|
"rollup": "^2.43.1",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"sass": "^1.32.8",
|
|
"snowpack": "^3.2.2",
|
|
"svelte": "^3.35.0",
|
|
"vue": "^3.0.11",
|
|
"yargs-parser": "^20.2.7"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/parser": "^7.13.11",
|
|
"@types/babel__generator": "^7.6.2",
|
|
"@types/babel__traverse": "^7.11.1",
|
|
"@types/estree": "0.0.46",
|
|
"@types/github-slugger": "^1.3.0",
|
|
"@types/node": "^14.14.31",
|
|
"@types/react": "^17.0.3",
|
|
"@types/react-dom": "^17.0.2",
|
|
"@types/sass": "^1.16.0",
|
|
"@types/yargs-parser": "^20.2.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.18.0",
|
|
"@typescript-eslint/parser": "^4.18.0",
|
|
"cheerio": "^1.0.0-rc.5",
|
|
"concurrently": "^6.0.0",
|
|
"eslint": "^7.22.0",
|
|
"eslint-config-prettier": "^8.1.0",
|
|
"eslint-plugin-prettier": "^3.3.1",
|
|
"nodemon": "^2.0.7",
|
|
"prettier": "^2.2.1",
|
|
"typescript": "^4.2.3",
|
|
"uvu": "^0.5.1"
|
|
}
|
|
}
|