aboutsummaryrefslogtreecommitdiff
path: root/smoke/docs-main/package.json
blob: 1327fc24bbfd66fc679485c3e96b62e8a40ad5fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  "name": "docs",
  "version": "0.0.7",
  "private": true,
  "scripts": {
    "dev": "astro dev",
    "start": "astro dev",
    "build": "astro build",
    "preview": "astro preview",
    "format": "prettier -w .",
    "lint": "run-p --aggregate-output lint:linkcheck",
    "lint:a11y": "start-test 'yarn build && yarn preview' 3000 'yarn 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'",
    "lint:linkcheck": "start-test 'yarn dev --silent' 3000  'yarn 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/'"
  },
  "devDependencies": {
    "astro": "0.23.0-next.10",
    "broken-link-checker": "^0.7.8",
    "npm-run-all": "^4.1.5",
    "pa11y-ci": "^3.0.1",
    "prettier": "^2.5.1",
    "prettier-plugin-astro": "^0.0.12"
  },
  "dependencies": {
    "@docsearch/react": "^3.0.0-alpha.50"
  },
  "volta": {
    "node": "14.18.1"
  }
}