208 lines
6.7 KiB
JSON
208 lines
6.7 KiB
JSON
{
|
|
"name": "astro",
|
|
"version": "1.6.7",
|
|
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
|
|
"type": "module",
|
|
"author": "withastro",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/withastro/astro.git",
|
|
"directory": "packages/astro"
|
|
},
|
|
"bugs": "https://github.com/withastro/astro/issues",
|
|
"homepage": "https://astro.build",
|
|
"types": "./dist/@types/astro.d.ts",
|
|
"typesVersions": {
|
|
"*": {
|
|
"app": [
|
|
"./dist/core/app/index"
|
|
],
|
|
"app/*": [
|
|
"./dist/core/app/*"
|
|
]
|
|
}
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/@types/astro.d.ts",
|
|
"default": "./astro.js"
|
|
},
|
|
"./env": "./env.d.ts",
|
|
"./types": "./types.d.ts",
|
|
"./client": "./client.d.ts",
|
|
"./client-base": "./client-base.d.ts",
|
|
"./import-meta": "./import-meta.d.ts",
|
|
"./astro-jsx": "./astro-jsx.d.ts",
|
|
"./tsconfigs/*.json": "./tsconfigs/*",
|
|
"./tsconfigs/*": "./tsconfigs/*.json",
|
|
"./jsx/*": "./dist/jsx/*",
|
|
"./jsx-runtime": "./dist/jsx-runtime/index.js",
|
|
"./config": {
|
|
"types": "./config.d.ts",
|
|
"default": "./config.mjs"
|
|
},
|
|
"./app": "./dist/core/app/index.js",
|
|
"./app/node": "./dist/core/app/node.js",
|
|
"./client/*": "./dist/runtime/client/*",
|
|
"./components": "./components/index.ts",
|
|
"./components/*": "./components/*",
|
|
"./debug": "./components/Debug.astro",
|
|
"./internal/*": "./dist/runtime/server/*",
|
|
"./package.json": "./package.json",
|
|
"./runtime/*": "./dist/runtime/*",
|
|
"./server/*": "./dist/runtime/server/*",
|
|
"./vite-plugin-astro": "./dist/vite-plugin-astro/index.js",
|
|
"./vite-plugin-astro/*": "./dist/vite-plugin-astro/*",
|
|
"./vite-plugin-astro-postprocess": "./dist/vite-plugin-astro-postprocess/index.js",
|
|
"./vite-plugin-astro-postprocess/*": "./dist/vite-plugin-astro-postprocess/*",
|
|
"./vite-plugin-jsx/*": "./dist/vite-plugin-jsx/*",
|
|
"./vite-plugin-jsx": "./dist/vite-plugin-jsx/index.js",
|
|
"./vite-plugin-markdown-legacy": "./dist/vite-plugin-markdown-legacy/index.js",
|
|
"./vite-plugin-markdown-legacy/*": "./dist/vite-plugin-markdown-legacy/*",
|
|
"./vite-plugin-markdown": "./dist/vite-plugin-markdown/index.js",
|
|
"./vite-plugin-markdown/*": "./dist/vite-plugin-markdown/*",
|
|
"./dist/jsx/*": "./dist/jsx/*"
|
|
},
|
|
"imports": {
|
|
"#astro/*": "./dist/*.js"
|
|
},
|
|
"bin": {
|
|
"astro": "astro.js"
|
|
},
|
|
"files": [
|
|
"components",
|
|
"tsconfigs",
|
|
"dist",
|
|
"astro.js",
|
|
"config.d.ts",
|
|
"config.mjs",
|
|
"env.d.ts",
|
|
"client.d.ts",
|
|
"client-base.d.ts",
|
|
"import-meta.d.ts",
|
|
"astro-jsx.d.ts",
|
|
"types.d.ts",
|
|
"README.md",
|
|
"vendor"
|
|
],
|
|
"scripts": {
|
|
"prebuild": "astro-scripts prebuild --to-string \"src/runtime/server/astro-island.ts\" \"src/runtime/client/{idle,load,media,only,visible}.ts\"",
|
|
"build": "pnpm run prebuild && astro-scripts build \"src/**/*.ts\" && tsc",
|
|
"build:ci": "pnpm run prebuild && astro-scripts build \"src/**/*.ts\"",
|
|
"dev": "astro-scripts dev --prebuild \"src/runtime/server/astro-island.ts\" --prebuild \"src/runtime/client/{idle,load,media,only,visible}.ts\" \"src/**/*.ts\"",
|
|
"postbuild": "astro-scripts copy \"src/**/*.astro\"",
|
|
"benchmark": "node test/benchmark/dev.bench.js && node test/benchmark/build.bench.js",
|
|
"test:unit": "mocha --exit --timeout 30000 ./test/units/**/*.test.js",
|
|
"test": "pnpm run test:unit && mocha --exit --timeout 20000 --ignore **/lit-element.test.js && mocha --timeout 20000 **/lit-element.test.js",
|
|
"test:match": "mocha --timeout 20000 -g",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:match": "playwright test -g"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/compiler": "^0.29.11",
|
|
"@astrojs/language-server": "^0.28.3",
|
|
"@astrojs/markdown-remark": "^1.1.3",
|
|
"@astrojs/telemetry": "^1.0.1",
|
|
"@astrojs/webapi": "^1.1.1",
|
|
"@babel/core": "^7.18.2",
|
|
"@babel/generator": "^7.18.2",
|
|
"@babel/parser": "^7.18.4",
|
|
"@babel/plugin-transform-react-jsx": "^7.17.12",
|
|
"@babel/traverse": "^7.18.2",
|
|
"@babel/types": "^7.18.4",
|
|
"@proload/core": "^0.3.3",
|
|
"@proload/plugin-tsm": "^0.2.1",
|
|
"@types/babel__core": "^7.1.19",
|
|
"@types/html-escaper": "^3.0.0",
|
|
"@types/yargs-parser": "^21.0.0",
|
|
"boxen": "^6.2.1",
|
|
"ci-info": "^3.3.1",
|
|
"common-ancestor-path": "^1.0.1",
|
|
"cookie": "^0.5.0",
|
|
"debug": "^4.3.4",
|
|
"deepmerge-ts": "^4.2.2",
|
|
"diff": "^5.1.0",
|
|
"es-module-lexer": "^0.10.5",
|
|
"esbuild": "^0.14.43",
|
|
"execa": "^6.1.0",
|
|
"fast-glob": "^3.2.11",
|
|
"github-slugger": "^1.4.0",
|
|
"gray-matter": "^4.0.3",
|
|
"html-entities": "^2.3.3",
|
|
"html-escaper": "^3.0.3",
|
|
"import-meta-resolve": "^2.1.0",
|
|
"kleur": "^4.1.4",
|
|
"magic-string": "^0.25.9",
|
|
"mime": "^3.0.0",
|
|
"ora": "^6.1.0",
|
|
"path-browserify": "^1.0.1",
|
|
"path-to-regexp": "^6.2.1",
|
|
"postcss": "^8.4.14",
|
|
"postcss-load-config": "^3.1.4",
|
|
"preferred-pm": "^3.0.3",
|
|
"prompts": "^2.4.2",
|
|
"recast": "^0.20.5",
|
|
"rehype": "^12.0.1",
|
|
"resolve": "^1.22.0",
|
|
"rollup": "^2.79.1",
|
|
"semver": "^7.3.7",
|
|
"shiki": "^0.11.1",
|
|
"sirv": "^2.0.2",
|
|
"slash": "^4.0.0",
|
|
"string-width": "^5.1.2",
|
|
"strip-ansi": "^7.0.1",
|
|
"supports-esm": "^1.0.0",
|
|
"tsconfig-resolver": "^3.0.1",
|
|
"typescript": "*",
|
|
"unist-util-visit": "^4.1.0",
|
|
"vfile": "^5.3.2",
|
|
"vite": "~3.2.1",
|
|
"vitefu": "^0.2.0",
|
|
"yargs-parser": "^21.0.1",
|
|
"zod": "^3.17.3"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.22.2",
|
|
"@types/babel__generator": "^7.6.4",
|
|
"@types/babel__traverse": "^7.17.1",
|
|
"@types/chai": "^4.3.1",
|
|
"@types/common-ancestor-path": "^1.0.0",
|
|
"@types/connect": "^3.4.35",
|
|
"@types/cookie": "^0.5.1",
|
|
"@types/debug": "^4.1.7",
|
|
"@types/diff": "^5.0.2",
|
|
"@types/estree": "^0.0.51",
|
|
"@types/hast": "^2.3.4",
|
|
"@types/mime": "^2.0.3",
|
|
"@types/mocha": "^9.1.1",
|
|
"@types/parse5": "^6.0.3",
|
|
"@types/path-browserify": "^1.0.0",
|
|
"@types/prettier": "^2.6.3",
|
|
"@types/prompts": "^2.0.14",
|
|
"@types/resolve": "^1.20.2",
|
|
"@types/rimraf": "^3.0.2",
|
|
"@types/send": "^0.17.1",
|
|
"@types/unist": "^2.0.6",
|
|
"ast-types": "^0.14.2",
|
|
"astro-scripts": "workspace:*",
|
|
"chai": "^4.3.6",
|
|
"cheerio": "^1.0.0-rc.11",
|
|
"eol": "^0.9.1",
|
|
"memfs": "^3.4.7",
|
|
"mocha": "^9.2.2",
|
|
"node-fetch": "^3.2.5",
|
|
"node-mocks-http": "^1.11.0",
|
|
"rehype-autolink-headings": "^6.1.1",
|
|
"rehype-slug": "^5.0.1",
|
|
"rehype-toc": "^3.0.2",
|
|
"remark-code-titles": "^0.1.2",
|
|
"sass": "^1.52.2",
|
|
"srcset-parse": "^1.1.0",
|
|
"unified": "^10.1.2"
|
|
},
|
|
"engines": {
|
|
"node": "^14.18.0 || >=16.12.0",
|
|
"npm": ">=6.14.0"
|
|
}
|
|
}
|