itchina110 / v8.dev

The source code of v8.dev, the official website of the V8 project.

Home Page:https://v8.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

The source code of v8.dev, the official website of the V8 project.

https://v8.dev/

License:Apache License 2.0


Languages

Language:JavaScript 64.0%Language:CSS 18.6%Language:HTML 17.4%