astro/smoke/docs-main/package.json
Fred K. Schott 9ec8980bd2
fix failing format command in CI (#2696)
* fix failing format command in CI

* adds a check to formatting to ci

* ignore the prettier plugin for now

* update smoke to remove prettier plugin
2022-03-01 11:59:06 -08:00

33 lines
1.3 KiB
JSON

{
"name": "docs",
"version": "0.0.7",
"private": true,
"scripts": {
"dev": "astro dev --experimental-static-build",
"start": "astro dev --experimental-static-build",
"build": "astro build --experimental-static-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.3",
"broken-link-checker": "^0.7.8",
"npm-run-all": "^4.1.5",
"pa11y-ci": "^3.0.1",
"prettier": "^2.5.1"
},
"dependencies": {
"@docsearch/react": "^3.0.0-alpha.50",
"sass": "^1.49.8"
},
"volta": {
"node": "14.18.1"
}
}