116 lines
3.4 KiB
JSON
116 lines
3.4 KiB
JSON
{
|
|
"name": "astro",
|
|
"version": "0.0.9",
|
|
"author": "Skypack",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./astro.mjs",
|
|
"./snowpack-plugin": "./snowpack-plugin.cjs",
|
|
"./parser": "./parser.cjs",
|
|
"./components/*.astro": "./components/*.astro",
|
|
"./runtime/svelte": "./runtime/svelte.js"
|
|
},
|
|
"bin": {
|
|
"astro": "astro.mjs"
|
|
},
|
|
"files": [
|
|
"components",
|
|
"lib",
|
|
"runtime",
|
|
"astro-prism",
|
|
"snowpack-plugin.cjs",
|
|
"astro.mjs"
|
|
],
|
|
"scripts": {
|
|
"build": "npm run build:core && npm run build:parser",
|
|
"build:core": "tsc -p tsconfig.json && cp src/frontend/500.astro lib/frontend/500.astro",
|
|
"build:parser": "tsc -p tsconfig.parser.json",
|
|
"postbuild:parser": "echo '{ \"type\": \"commonjs\" }' > parser/package.json",
|
|
"dev": "tsc --watch",
|
|
"lint": "eslint 'src/**/*.{js,ts}'",
|
|
"format": "prettier -w '{src,test}/**/*.{js,ts}'",
|
|
"test": "uvu test -i fixtures -i test-utils.js",
|
|
"build:extension": "cd vscode && npm run build",
|
|
"publish-hidden": "npm run build && npm publish --tag shhhhh"
|
|
},
|
|
"dependencies": {
|
|
"@babel/code-frame": "^7.12.13",
|
|
"@babel/generator": "^7.13.9",
|
|
"@babel/parser": "^7.13.15",
|
|
"@babel/traverse": "^7.13.15",
|
|
"@snowpack/plugin-sass": "^1.4.0",
|
|
"@snowpack/plugin-svelte": "^3.6.1",
|
|
"@snowpack/plugin-vue": "^2.4.0",
|
|
"@vue/server-renderer": "^3.0.10",
|
|
"acorn": "^7.4.0",
|
|
"autoprefixer": "^10.2.5",
|
|
"cheerio": "^1.0.0-rc.5",
|
|
"es-module-lexer": "^0.4.1",
|
|
"esbuild": "^0.10.1",
|
|
"estree-walker": "^3.0.0",
|
|
"fast-xml-parser": "^3.19.0",
|
|
"fdir": "^5.0.0",
|
|
"find-up": "^5.0.0",
|
|
"github-slugger": "^1.3.0",
|
|
"gray-matter": "^4.0.2",
|
|
"hast-to-hyperscript": "^9.0.1",
|
|
"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",
|
|
"moize": "^6.0.1",
|
|
"node-fetch": "^2.6.1",
|
|
"picomatch": "^2.2.3",
|
|
"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",
|
|
"rehype-parse": "^7.0.1",
|
|
"rollup": "^2.43.1",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"sass": "^1.32.8",
|
|
"snowpack": "^3.3.7",
|
|
"svelte": "^3.35.0",
|
|
"tiny-glob": "^0.2.8",
|
|
"unified": "^9.2.1",
|
|
"vue": "^3.0.10",
|
|
"yargs-parser": "^20.2.7"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/types": "^7.13.14",
|
|
"@types/babel__code-frame": "^7.0.2",
|
|
"@types/babel__generator": "^7.6.2",
|
|
"@types/babel__parser": "^7.1.1",
|
|
"@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",
|
|
"concurrently": "^6.0.0",
|
|
"del": "^6.0.0",
|
|
"domhandler": "^4.1.0",
|
|
"eslint": "^7.22.0",
|
|
"eslint-config-prettier": "^8.1.0",
|
|
"eslint-plugin-prettier": "^3.3.1",
|
|
"execa": "^5.0.0",
|
|
"prettier": "^2.2.1",
|
|
"typescript": "^4.2.3",
|
|
"uvu": "^0.5.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.0.0",
|
|
"npm": ">=6.14.0"
|
|
}
|
|
}
|