The Wayback Machine - https://web.archive.org/web/20200527214322/https://github.com/googlechrome/web.dev
Skip to content
The frontend, backend, and content source code for web.dev
JavaScript HTML CSS
Branch: master
Clone or download

Latest commit

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Make kayce a codeowner for contributors and tags. (#2970) May 21, 2020
.vscode preview server: image tests (#552) Jan 10, 2019
shared Unignore lots of files and fix their eslint errors. (#2549) Apr 10, 2020
src Add note that getInstalledRelatedApps is currently broken (#3030) May 27, 2020
test fix data issues and validate social link (#3020) May 26, 2020
tools feat(author): add image and social to author pages, fixes #2274 (#2654) Apr 27, 2020
.editorconfig Add eslint (#539) Dec 21, 2018
.eleventy.js fix(authors): authors without posts will use their twitter profile inโ€ฆ May 21, 2020
.eleventyignore Only build en during deploy. Apr 29, 2019
.eslintignore Unignore lots of files and fix their eslint errors. (#2549) Apr 10, 2020
.eslintrc.js Unignore lots of files and fix their eslint errors. (#2549) Apr 10, 2020
.gcloudignore Ignore more files so we do not deploy them. (#2613) Apr 16, 2020
.gitignore Feat/cdn all the things (#2526) Apr 16, 2020
.gitmodules Remove styles submodule. Apr 30, 2019
.huskyrc Update husky comment again. Apr 23, 2020
.nvmrc Add nvmrc (#1264) Aug 6, 2019
.nycrc Add code coverage. (#2637) Apr 29, 2020
.prettierrc.js Unignore lots of files and fix their eslint errors. (#2549) Apr 10, 2020
.remarkignore Add code of conduct. (#1820) Nov 1, 2019
.remarkrc.js Add linter for wiki MDN links (#2281) Mar 5, 2020
.sasslintrc webdev-live show sessions (#2878) May 15, 2020
CODE_OF_CONDUCT.md Add code of conduct. (#1820) Nov 1, 2019
CONTRIBUTING.md Update CONTRIBUTING.md Nov 1, 2019
LICENSE CC BY 3.0 + Apache-2 Sep 13, 2018
README.md suggest a high level of node requirement May 21, 2020
app.yaml Redirect to HTTPS by default (#853) May 1, 2019
build.js remove lib/entrypoint.js, merge with lib/app.js (#2802) May 6, 2020
compile-css.js Unignore lots of files and fix their eslint errors. (#2549) Apr 10, 2020
gulpfile.js Move _redirects.yaml out of a language-specific folder (#3002) May 26, 2020
index-algolia.js Unignore lots of files and fix their eslint errors. (#2549) Apr 10, 2020
jsconfig.json fix(authors): authors without posts will use their twitter profile inโ€ฆ May 21, 2020
karma.conf.js Task/organize test dir (#2683) Apr 29, 2020
locale-handler.js Fix #2669 (#2670) May 27, 2020
netlify.toml generate/serve partials (#2254) Mar 5, 2020
package-lock.json Upgrade to eleventy v0.11 (#3032) May 27, 2020
package.json Upgrade to eleventy v0.11 (#3032) May 27, 2020
redirect-handler.js Unignore lots of files and fix their eslint errors. (#2549) Apr 10, 2020
server.js Nuke sw (#3008) May 26, 2020

README.md

web.dev

Continuous integration

web.dev is the ultimate resource for developers of all backgrounds to learn, create, and solve on the web. It's meant to not only educate developers, but help them apply what they've learned to any site they work on, be it personal or business.

Found a bug? ๐Ÿ‘ทโ€โ™€๏ธ

Thanks for letting us know! Please file an issue and a team member should reply shortly.

Authoring content โœ๏ธ

Before you start writing take a moment to look over the web.dev handbook and familiarize yourself with the process. When you're ready, follow the steps in the Quickstart to create your content proposal.

Building the site ๐Ÿ—

You'll need a recent version of Node: v12.10 or higher.

Clone the repo

git clone https://github.com/GoogleChrome/web.dev.git

Install dependencies

npm ci

Start a local server to preview the site

npm run dev

Open http://localhost:8080/ to see the site locally. Changes to assets will rebuild the site. Refresh to see your changes.

Staging ๐Ÿ•บ

When you send in a pull request it will be automatically staged for you. Keep an eye out for the netlify bot to comment on the pull request with your unique URL.

Debugging ๐Ÿ›

If you need to debug the site's build process:

  1. Add a debugger statement to .eleventy.js
  2. Run npm run debug
  3. Go to chrome://inspect to attach to the running process.

The Chrome inspect page showing the inspect button

You canโ€™t perform that action at this time.