Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.25 KB

README.md

File metadata and controls

31 lines (20 loc) · 1.25 KB

v8.dev Build status

This repository hosts the source code of v8.dev, the official website of the V8 project.

Local setup

  1. Clone the repository and cd into it.
  2. Install and use the expected Node.js version: nvm use
  3. Install dependencies: npm install

npm run shows the full list of supported commands. Highlights:

  • npm run build builds the site into dist.
  • npm run watch builds the site into dist and watches for changes.
  • npm start kicks off a local HTTP server.

Additional Windows-specific instructions

npm run might trigger Unix-specific commands. If you are using a Linux-like environment on Windows like git bash, msys2, or Cygwin, then you must configure npm to use it. This replaces the default behavior of using cmd.exe. For example:

npm config set script-shell "C:\\Program Files\\git\\bin\\bash.exe"

…or:

npm config set script-shell "C:\\msys64\\usr\\bin\\sh.exe"

You still need to run npm with a PATH that includes Linux utilities like mkdir and rm. Practically, it should work if you run npm from your Linux-compatible shell.