deno.land / x / esm@v135_2 / CONTRIBUTING.md
Welcome, and thank you for taking time in contributing to esm.sh project!
You will need Golang 1.18+.
git checkout -b BRANCH_NAME
.To configure the server, create a config.json
file in the project root directory. Here is an example:
// config.json
{
"port": 8080,
"workDir": ".esmd",
"npmRegistry": "https://registry.npmjs.org",
"npmToken": "xxxxxx"
}
You can find all the server options in config.exmaple.jsonc.
go run main.go --dev
Then you can import React
from "http://localhost:8080/react"
# Run all tests
./test/bootstrap.sh
# Run tests for a specific case (directory name)
./test/bootstrap.sh preact
# Run tests with `clean` option (purge previous builds)
./test/bootstrap.sh --clean
All the tests are running in Deno, you can find them in test/ directory.
All contributors are expected to follow our Code of Conduct.
Version Info