mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
da033e27ea
* Start of cli docs * Document the CLI Also adds support for the `--config` option and `--port` option for the dev server. * Add tests for --config and --port flags * Add port to validateConfig
110 lines
3.2 KiB
JSON
110 lines
3.2 KiB
JSON
{
|
|
"name": "astro",
|
|
"version": "0.0.6",
|
|
"author": "Skypack",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./astro.mjs",
|
|
"./snowpack-plugin": "./snowpack-plugin.cjs",
|
|
"./parser": "./parser.cjs",
|
|
"./components/*.astro": "./components/*.astro"
|
|
},
|
|
"bin": {
|
|
"astro": "astro.mjs"
|
|
},
|
|
"files": [
|
|
"components",
|
|
"lib",
|
|
"astro-prism",
|
|
"snowpack-plugin.cjs",
|
|
"astro.mjs"
|
|
],
|
|
"scripts": {
|
|
"build": "npm run build:core && npm run build:parser",
|
|
"build:core": "tsc -p tsconfig.json",
|
|
"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",
|
|
"watch:extension": "cd vscode && npm run watch",
|
|
"publish-hidden": "npm run build && npm publish --tag shhhhh"
|
|
},
|
|
"dependencies": {
|
|
"@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.0",
|
|
"@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",
|
|
"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.4",
|
|
"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__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",
|
|
"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"
|
|
}
|
|
}
|