diff --git a/packages/web-components/fast-ssr/.prettierignore b/packages/web-components/fast-ssr/.prettierignore new file mode 100644 index 00000000000..28c7caee553 --- /dev/null +++ b/packages/web-components/fast-ssr/.prettierignore @@ -0,0 +1,3 @@ +coverage/* +dist/* +*.spec.ts diff --git a/packages/web-components/fast-ssr/package.json b/packages/web-components/fast-ssr/package.json index a9cf3c7a1d3..840d00ab066 100644 --- a/packages/web-components/fast-ssr/package.json +++ b/packages/web-components/fast-ssr/package.json @@ -20,6 +20,8 @@ "eslint": "eslint . --ext .ts", "eslint:fix": "eslint . --ext .ts --fix", "pretest": "npm run build-server && npm run build", + "prettier:diff": "prettier --config ../../../.prettierrc \"**/*.{ts,html}\" --list-different", + "prettier": "prettier --config ../../../.prettierrc --write \"**/*.{ts,html}\"", "test": "playwright test --config=playwright.config.cjs", "test-server": "node server/dist/server.js", "install-playwright-browsers": "npx playwright install"