2021-03-15 12:22:05 -05:00
|
|
|
{
|
2021-04-30 16:33:35 -05:00
|
|
|
"name": "root",
|
2021-05-05 12:44:31 -05:00
|
|
|
"version": "0.0.0",
|
2021-04-30 16:33:35 -05:00
|
|
|
"private": true,
|
2021-06-16 13:09:35 -05:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2021-11-23 17:47:05 -05:00
|
|
|
"url": "https://github.com/withastro/astro.git"
|
2021-06-16 13:09:35 -05:00
|
|
|
},
|
2021-03-15 12:22:05 -05:00
|
|
|
"scripts": {
|
2022-04-04 17:22:36 -05:00
|
|
|
"release": "pnpm run build && changeset publish",
|
2023-04-26 22:39:15 -05:00
|
|
|
"build": "turbo run build --filter=astro --filter=create-astro --filter=\"@astrojs/*\" --filter=\"@benchmark/*\"",
|
|
|
|
"build:ci": "turbo run build:ci --filter=astro --filter=create-astro --filter=\"@astrojs/*\" --filter=\"@benchmark/*\"",
|
2022-08-05 16:18:56 -05:00
|
|
|
"build:examples": "turbo run build --filter=\"@example/*\"",
|
2023-06-20 13:06:36 -05:00
|
|
|
"dev": "turbo run dev --concurrency=40 --parallel --filter=astro --filter=create-astro --filter=\"@astrojs/*\" --filter=\"@benchmark/*\"",
|
2022-06-06 11:47:28 -05:00
|
|
|
"format": "pnpm run format:code",
|
|
|
|
"format:ci": "pnpm run format:imports && pnpm run format:code",
|
2022-08-05 23:36:31 -05:00
|
|
|
"format:code": "prettier -w . --cache --plugin-search-dir=.",
|
2022-06-06 11:47:28 -05:00
|
|
|
"format:imports": "organize-imports-cli ./packages/*/tsconfig.json ./packages/*/*/tsconfig.json",
|
2023-04-26 22:39:15 -05:00
|
|
|
"test": "turbo run test --concurrency=1 --filter=astro --filter=create-astro --filter=\"@astrojs/*\"",
|
2022-03-08 16:46:11 -05:00
|
|
|
"test:match": "cd packages/astro && pnpm run test:match",
|
2023-05-17 10:36:27 -05:00
|
|
|
"test:unit": "cd packages/astro && pnpm run test:unit",
|
|
|
|
"test:unit:match": "cd packages/astro && pnpm run test:unit:match",
|
2023-04-26 22:39:15 -05:00
|
|
|
"test:smoke": "pnpm test:smoke:example && pnpm test:smoke:docs",
|
|
|
|
"test:smoke:example": "turbo run build --concurrency=100% --filter=\"@example/*\"",
|
|
|
|
"test:smoke:docs": "turbo run build --filter=docs",
|
2022-10-12 07:48:29 -05:00
|
|
|
"test:check-examples": "node ./scripts/smoke/check.js",
|
2023-04-26 22:39:15 -05:00
|
|
|
"test:vite-ci": "turbo run test --filter=astro",
|
2022-05-15 16:47:28 -05:00
|
|
|
"test:e2e": "cd packages/astro && pnpm playwright install && pnpm run test:e2e",
|
2022-05-23 11:56:45 -05:00
|
|
|
"test:e2e:match": "cd packages/astro && pnpm playwright install && pnpm run test:e2e:match",
|
2023-03-01 03:46:06 -05:00
|
|
|
"benchmark": "astro-benchmark",
|
2023-07-03 07:59:43 -05:00
|
|
|
"lint": "eslint . --report-unused-disable-directives",
|
2023-06-12 07:48:04 -05:00
|
|
|
"version": "changeset version && node ./scripts/deps/update-example-versions.js && pnpm install --no-frozen-lockfile && pnpm run format",
|
2022-10-24 13:17:23 -05:00
|
|
|
"preinstall": "npx only-allow pnpm"
|
2021-12-09 19:11:49 -05:00
|
|
|
},
|
2023-04-27 09:55:48 -05:00
|
|
|
"workspaces": [
|
|
|
|
"packages/markdown/*",
|
|
|
|
"packages/integrations/*",
|
|
|
|
"packages/*"
|
|
|
|
],
|
2022-03-09 13:36:56 -05:00
|
|
|
"engines": {
|
2023-03-06 13:57:16 -05:00
|
|
|
"node": ">=16.12.0",
|
2023-06-19 02:29:30 -05:00
|
|
|
"pnpm": ">=8.6.2"
|
2022-03-08 16:46:11 -05:00
|
|
|
},
|
2023-06-19 02:29:30 -05:00
|
|
|
"packageManager": "pnpm@8.6.2",
|
2022-03-08 16:46:11 -05:00
|
|
|
"pnpm": {
|
2022-07-08 16:47:01 -05:00
|
|
|
"packageExtensions": {
|
|
|
|
"svelte2tsx": {
|
|
|
|
"peerDependenciesMeta": {
|
|
|
|
"typescript": {
|
|
|
|
"optional": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-10-12 13:11:25 -05:00
|
|
|
"overrides": {
|
|
|
|
"tsconfig-resolver>type-fest": "3.0.0"
|
|
|
|
},
|
2022-03-08 16:46:11 -05:00
|
|
|
"peerDependencyRules": {
|
|
|
|
"ignoreMissing": [
|
2022-06-30 13:09:09 -05:00
|
|
|
"rollup",
|
2022-03-08 16:46:11 -05:00
|
|
|
"@babel/core",
|
2022-03-09 16:44:26 -05:00
|
|
|
"@babel/plugin-transform-react-jsx",
|
2022-07-18 15:00:00 -05:00
|
|
|
"vite",
|
|
|
|
"react",
|
|
|
|
"react-dom",
|
|
|
|
"@types/react"
|
2023-01-12 09:46:56 -05:00
|
|
|
],
|
|
|
|
"allowAny": [
|
|
|
|
"astro"
|
2022-03-08 16:46:11 -05:00
|
|
|
]
|
|
|
|
}
|
2021-03-15 12:22:05 -05:00
|
|
|
},
|
2022-03-09 13:36:56 -05:00
|
|
|
"dependencies": {
|
2023-03-01 03:46:06 -05:00
|
|
|
"@astrojs/webapi": "workspace:*",
|
|
|
|
"astro-benchmark": "workspace:*"
|
2022-03-09 13:36:56 -05:00
|
|
|
},
|
2021-03-15 12:22:05 -05:00
|
|
|
"devDependencies": {
|
2023-06-12 07:48:04 -05:00
|
|
|
"@changesets/changelog-github": "^0.4.8",
|
|
|
|
"@changesets/cli": "^2.26.1",
|
2023-06-21 08:09:49 -05:00
|
|
|
"@types/node": "^18.16.18",
|
2023-07-12 02:11:46 -05:00
|
|
|
"@typescript-eslint/eslint-plugin": "6.0.0",
|
|
|
|
"@typescript-eslint/parser": "6.0.0",
|
2023-06-21 08:09:49 -05:00
|
|
|
"esbuild": "^0.17.19",
|
|
|
|
"eslint": "^8.43.0",
|
2023-04-13 12:08:54 -05:00
|
|
|
"eslint-config-prettier": "^8.8.0",
|
2022-06-22 10:59:49 -05:00
|
|
|
"eslint-plugin-no-only-tests": "^2.6.0",
|
2023-04-13 12:08:54 -05:00
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
2022-12-16 14:19:53 -05:00
|
|
|
"only-allow": "^1.1.1",
|
2022-06-06 11:47:28 -05:00
|
|
|
"organize-imports-cli": "^0.10.0",
|
2023-05-01 09:41:21 -05:00
|
|
|
"prettier": "^2.8.8",
|
2023-06-25 22:34:13 -05:00
|
|
|
"prettier-plugin-astro": "^0.10.0",
|
2022-03-09 16:44:26 -05:00
|
|
|
"tiny-glob": "^0.2.9",
|
2023-06-21 08:09:49 -05:00
|
|
|
"turbo": "^1.10.3",
|
2023-03-20 11:02:07 -05:00
|
|
|
"typescript": "~5.0.2"
|
2022-03-08 16:46:11 -05:00
|
|
|
}
|
2021-06-11 15:34:45 -05:00
|
|
|
}
|