4842d6acb0
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
198 lines
6 KiB
JSON
198 lines
6 KiB
JSON
{
|
|
"name": "astro",
|
|
"version": "2.0.1",
|
|
"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/*",
|
|
"./content/internal": "./dist/content/internal.js",
|
|
"./debug": "./components/Debug.astro",
|
|
"./internal/*": "./dist/runtime/server/*",
|
|
"./package.json": "./package.json",
|
|
"./runtime/*": "./dist/runtime/*",
|
|
"./server/*": "./dist/runtime/server/*",
|
|
"./dist/jsx/*": "./dist/jsx/*",
|
|
"./zod": {
|
|
"types": "./zod.d.ts",
|
|
"default": "./zod.mjs"
|
|
}
|
|
},
|
|
"imports": {
|
|
"#astro/*": "./dist/*.js"
|
|
},
|
|
"bin": {
|
|
"astro": "astro.js"
|
|
},
|
|
"files": [
|
|
"components",
|
|
"tsconfigs",
|
|
"dist",
|
|
"astro.js",
|
|
"config.d.ts",
|
|
"config.mjs",
|
|
"zod.d.ts",
|
|
"zod.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",
|
|
"src/content/template"
|
|
],
|
|
"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:unit:match": "mocha --exit --timeout 30000 ./test/units/**/*.test.js -g",
|
|
"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": "^1.0.1",
|
|
"@astrojs/language-server": "^0.28.3",
|
|
"@astrojs/markdown-remark": "^2.0.0",
|
|
"@astrojs/telemetry": "^2.0.0",
|
|
"@astrojs/webapi": "^2.0.0",
|
|
"@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",
|
|
"@types/babel__core": "^7.1.19",
|
|
"@types/yargs-parser": "^21.0.0",
|
|
"acorn": "^8.8.1",
|
|
"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",
|
|
"devalue": "^4.2.0",
|
|
"diff": "^5.1.0",
|
|
"es-module-lexer": "^1.1.0",
|
|
"estree-walker": "^3.0.1",
|
|
"execa": "^6.1.0",
|
|
"fast-glob": "^3.2.11",
|
|
"github-slugger": "^2.0.0",
|
|
"gray-matter": "^4.0.3",
|
|
"html-escaper": "^3.0.3",
|
|
"kleur": "^4.1.4",
|
|
"magic-string": "^0.27.0",
|
|
"mime": "^3.0.0",
|
|
"ora": "^6.1.0",
|
|
"path-to-regexp": "^6.2.1",
|
|
"preferred-pm": "^3.0.3",
|
|
"prompts": "^2.4.2",
|
|
"rehype": "^12.0.1",
|
|
"semver": "^7.3.8",
|
|
"server-destroy": "^1.0.1",
|
|
"shiki": "^0.11.1",
|
|
"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": "^4.0.3",
|
|
"vitefu": "^0.2.4",
|
|
"yargs-parser": "^21.0.1",
|
|
"zod": "^3.17.3"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.29.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/html-escaper": "^3.0.0",
|
|
"@types/mime": "^2.0.3",
|
|
"@types/mocha": "^9.1.1",
|
|
"@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/server-destroy": "^1.0.1",
|
|
"@types/unist": "^2.0.6",
|
|
"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-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",
|
|
"rollup": "^3.9.0",
|
|
"sass": "^1.52.2",
|
|
"srcset-parse": "^1.1.0",
|
|
"undici": "^5.14.0",
|
|
"unified": "^10.1.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.12.0",
|
|
"npm": ">=6.14.0"
|
|
}
|
|
}
|