2021-03-15 12:22:05 -05:00
|
|
|
{
|
2021-03-15 13:18:39 -05:00
|
|
|
"name": "astro",
|
2021-04-30 09:36:19 -05:00
|
|
|
"version": "0.0.9",
|
2021-03-15 13:18:39 -05:00
|
|
|
"author": "Skypack",
|
2021-03-15 12:22:05 -05:00
|
|
|
"license": "MIT",
|
|
|
|
"type": "module",
|
|
|
|
"exports": {
|
2021-04-06 14:27:42 -05:00
|
|
|
".": "./astro.mjs",
|
2021-03-15 12:22:05 -05:00
|
|
|
"./snowpack-plugin": "./snowpack-plugin.cjs",
|
2021-04-21 11:14:44 -05:00
|
|
|
"./parser": "./parser.cjs",
|
2021-04-30 09:35:18 -05:00
|
|
|
"./components/*.astro": "./components/*.astro",
|
|
|
|
"./runtime/svelte": "./runtime/svelte.js"
|
2021-03-15 12:22:05 -05:00
|
|
|
},
|
2021-03-15 13:18:39 -05:00
|
|
|
"bin": {
|
|
|
|
"astro": "astro.mjs"
|
|
|
|
},
|
2021-04-06 14:27:42 -05:00
|
|
|
"files": [
|
|
|
|
"components",
|
|
|
|
"lib",
|
2021-04-30 09:35:18 -05:00
|
|
|
"runtime",
|
2021-04-10 23:59:59 -05:00
|
|
|
"astro-prism",
|
2021-04-11 00:02:19 -05:00
|
|
|
"snowpack-plugin.cjs",
|
2021-04-10 23:59:59 -05:00
|
|
|
"astro.mjs"
|
2021-04-06 14:27:42 -05:00
|
|
|
],
|
2021-03-15 12:22:05 -05:00
|
|
|
"scripts": {
|
2021-04-21 11:14:44 -05:00
|
|
|
"build": "npm run build:core && npm run build:parser",
|
2021-04-26 15:42:11 -05:00
|
|
|
"build:core": "tsc -p tsconfig.json && cp src/frontend/500.astro lib/frontend/500.astro",
|
2021-04-21 11:14:44 -05:00
|
|
|
"build:parser": "tsc -p tsconfig.parser.json",
|
|
|
|
"postbuild:parser": "echo '{ \"type\": \"commonjs\" }' > parser/package.json",
|
2021-03-25 02:00:22 -05:00
|
|
|
"dev": "tsc --watch",
|
2021-03-16 13:37:45 -05:00
|
|
|
"lint": "eslint 'src/**/*.{js,ts}'",
|
2021-03-26 14:45:53 -05:00
|
|
|
"format": "prettier -w '{src,test}/**/*.{js,ts}'",
|
2021-03-25 10:38:17 -05:00
|
|
|
"test": "uvu test -i fixtures -i test-utils.js",
|
2021-04-23 17:53:01 -05:00
|
|
|
"build:extension": "cd vscode && npm run build",
|
2021-04-10 23:59:59 -05:00
|
|
|
"publish-hidden": "npm run build && npm publish --tag shhhhh"
|
2021-03-15 12:22:05 -05:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-04-23 14:20:05 -05:00
|
|
|
"@babel/code-frame": "^7.12.13",
|
2021-03-25 02:00:22 -05:00
|
|
|
"@babel/generator": "^7.13.9",
|
2021-04-12 18:21:29 -05:00
|
|
|
"@babel/parser": "^7.13.15",
|
|
|
|
"@babel/traverse": "^7.13.15",
|
2021-03-26 14:14:32 -05:00
|
|
|
"@snowpack/plugin-sass": "^1.4.0",
|
2021-04-29 20:32:53 -05:00
|
|
|
"@snowpack/plugin-svelte": "^3.6.1",
|
2021-04-02 11:16:16 -05:00
|
|
|
"@snowpack/plugin-vue": "^2.4.0",
|
2021-04-15 10:55:50 -05:00
|
|
|
"@vue/server-renderer": "^3.0.10",
|
2021-03-15 12:22:05 -05:00
|
|
|
"acorn": "^7.4.0",
|
2021-03-18 12:25:19 -05:00
|
|
|
"autoprefixer": "^10.2.5",
|
2021-04-10 15:17:09 -05:00
|
|
|
"cheerio": "^1.0.0-rc.5",
|
2021-03-15 12:22:05 -05:00
|
|
|
"es-module-lexer": "^0.4.1",
|
2021-03-26 14:14:32 -05:00
|
|
|
"esbuild": "^0.10.1",
|
2021-04-02 12:04:48 -05:00
|
|
|
"estree-walker": "^3.0.0",
|
2021-04-23 11:44:41 -05:00
|
|
|
"fast-xml-parser": "^3.19.0",
|
2021-04-02 11:16:16 -05:00
|
|
|
"fdir": "^5.0.0",
|
2021-03-23 14:15:59 -05:00
|
|
|
"find-up": "^5.0.0",
|
2021-03-21 02:44:42 -05:00
|
|
|
"github-slugger": "^1.3.0",
|
2021-03-15 12:22:05 -05:00
|
|
|
"gray-matter": "^4.0.2",
|
2021-04-15 10:55:50 -05:00
|
|
|
"hast-to-hyperscript": "^9.0.1",
|
2021-03-15 14:26:23 -05:00
|
|
|
"kleur": "^4.1.4",
|
2021-03-16 15:08:11 -05:00
|
|
|
"locate-character": "^2.0.5",
|
2021-03-15 12:22:05 -05:00
|
|
|
"magic-string": "^0.25.3",
|
|
|
|
"micromark": "^2.11.4",
|
|
|
|
"micromark-extension-gfm": "^0.3.3",
|
2021-04-01 15:34:11 -05:00
|
|
|
"micromark-extension-mdx-expression": "^0.3.2",
|
|
|
|
"micromark-extension-mdx-jsx": "^0.3.3",
|
2021-04-15 10:55:50 -05:00
|
|
|
"moize": "^6.0.1",
|
2021-03-21 18:16:18 -05:00
|
|
|
"node-fetch": "^2.6.1",
|
2021-04-12 18:21:29 -05:00
|
|
|
"picomatch": "^2.2.3",
|
2021-03-18 12:25:19 -05:00
|
|
|
"postcss": "^8.2.8",
|
2021-04-02 21:44:23 -05:00
|
|
|
"postcss-icss-keyframes": "^0.2.1",
|
2021-04-02 12:04:48 -05:00
|
|
|
"preact": "^10.5.13",
|
|
|
|
"preact-render-to-string": "^5.1.18",
|
2021-04-06 14:27:42 -05:00
|
|
|
"prismjs": "^1.23.0",
|
2021-03-15 12:22:05 -05:00
|
|
|
"react": "^17.0.1",
|
|
|
|
"react-dom": "^17.0.1",
|
2021-04-15 10:55:50 -05:00
|
|
|
"rehype-parse": "^7.0.1",
|
2021-03-30 08:24:26 -05:00
|
|
|
"rollup": "^2.43.1",
|
2021-03-30 15:07:12 -05:00
|
|
|
"rollup-plugin-terser": "^7.0.2",
|
2021-03-18 12:25:19 -05:00
|
|
|
"sass": "^1.32.8",
|
2021-04-29 20:32:53 -05:00
|
|
|
"snowpack": "^3.3.7",
|
2021-03-15 12:22:05 -05:00
|
|
|
"svelte": "^3.35.0",
|
2021-04-15 10:55:50 -05:00
|
|
|
"tiny-glob": "^0.2.8",
|
|
|
|
"unified": "^9.2.1",
|
|
|
|
"vue": "^3.0.10",
|
2021-03-15 14:26:23 -05:00
|
|
|
"yargs-parser": "^20.2.7"
|
2021-03-15 12:22:05 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-04-12 18:21:29 -05:00
|
|
|
"@babel/types": "^7.13.14",
|
2021-04-23 14:20:05 -05:00
|
|
|
"@types/babel__code-frame": "^7.0.2",
|
2021-04-02 11:16:16 -05:00
|
|
|
"@types/babel__generator": "^7.6.2",
|
2021-04-12 18:21:29 -05:00
|
|
|
"@types/babel__parser": "^7.1.1",
|
2021-04-02 11:16:16 -05:00
|
|
|
"@types/babel__traverse": "^7.11.1",
|
|
|
|
"@types/estree": "0.0.46",
|
2021-03-21 02:44:42 -05:00
|
|
|
"@types/github-slugger": "^1.3.0",
|
2021-04-02 11:16:16 -05:00
|
|
|
"@types/node": "^14.14.31",
|
|
|
|
"@types/react": "^17.0.3",
|
|
|
|
"@types/react-dom": "^17.0.2",
|
2021-03-18 12:25:19 -05:00
|
|
|
"@types/sass": "^1.16.0",
|
2021-03-15 14:26:23 -05:00
|
|
|
"@types/yargs-parser": "^20.2.0",
|
2021-03-16 13:37:45 -05:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.18.0",
|
|
|
|
"@typescript-eslint/parser": "^4.18.0",
|
2021-03-16 12:54:43 -05:00
|
|
|
"concurrently": "^6.0.0",
|
2021-04-23 11:44:41 -05:00
|
|
|
"del": "^6.0.0",
|
2021-04-12 10:20:58 -05:00
|
|
|
"domhandler": "^4.1.0",
|
2021-03-16 13:37:45 -05:00
|
|
|
"eslint": "^7.22.0",
|
|
|
|
"eslint-config-prettier": "^8.1.0",
|
|
|
|
"eslint-plugin-prettier": "^3.3.1",
|
2021-04-22 07:25:57 -05:00
|
|
|
"execa": "^5.0.0",
|
2021-03-16 13:37:45 -05:00
|
|
|
"prettier": "^2.2.1",
|
2021-03-19 16:07:45 -05:00
|
|
|
"typescript": "^4.2.3",
|
|
|
|
"uvu": "^0.5.1"
|
2021-04-13 12:03:26 -05:00
|
|
|
},
|
2021-04-13 19:08:32 -05:00
|
|
|
"engines": {
|
2021-04-21 11:14:44 -05:00
|
|
|
"node": ">=14.0.0",
|
|
|
|
"npm": ">=6.14.0"
|
2021-04-13 19:08:32 -05:00
|
|
|
}
|
2021-03-15 12:22:05 -05:00
|
|
|
}
|