astro/docs/package.json

33 lines
1.2 KiB
JSON
Raw Permalink Normal View History

2021-07-15 18:13:35 +00:00
{
2021-07-15 18:33:06 +00:00
"name": "docs",
"version": "0.0.7",
2021-07-15 18:13:35 +00:00
"private": true,
"scripts": {
"dev": "astro dev",
2021-07-15 18:13:35 +00:00
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
2021-07-15 18:13:35 +00:00
"lint": "run-p --aggregate-output lint:linkcheck",
2022-01-18 22:15:25 +00:00
"lint:a11y": "start-test 'pnpm run build && pnpm run preview' 3000 'pnpm run lint:a11y:local'",
"lint:a11y:local": "pa11y-ci --sitemap 'http://localhost:3000/sitemap.xml' --sitemap-find 'https://docs.astro.build' --sitemap-replace 'http://localhost:3000'",
"lint:a11y:remote": "pa11y-ci --sitemap 'https://docs.astro.build/sitemap.xml'",
2022-01-18 22:15:25 +00:00
"lint:linkcheck": "start-test 'pnpm run dev --silent' 3000 'pnpm run lint:linkcheck:local'",
"lint:linkcheck:local": "blc -roe --user-agent 'broken-link-checker/0.7.8' 'http://localhost:3000/en/getting-started'",
"lint:linkcheck:remote": "blc -ro --user-agent 'broken-link-checker/0.7.8' 'https://docs.astro.build/'"
2021-07-15 18:13:35 +00:00
},
"devDependencies": {
2022-01-18 23:03:42 +00:00
"astro": "workspace:^0.22.14",
2021-07-15 18:13:35 +00:00
"broken-link-checker": "^0.7.8",
"npm-run-all": "^4.1.5",
"pa11y-ci": "^3.0.1",
2022-01-18 23:03:42 +00:00
"prettier": "^2.5.1",
"start-server-and-test": "^1.14.0"
},
"dependencies": {
"@docsearch/react": "^1.0.0-alpha.28"
},
"volta": {
"node": "14.18.1"
2021-07-15 18:13:35 +00:00
}
}