website: add linter tooling and documentation
- Added package.json and lockfile
- Added npm and npx scripts
- Updated README
Change-Id: Ib01c09d943bb607c51544189d3dbbf1c42444921
Reviewed-on: https://go-review.googlesource.com/c/website/+/376301
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Trust: Jamal Carvalho <jamalcarvalho@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Alex Rakoczy <alex@golang.org>
diff --git a/npx b/npx
new file mode 100755
index 0000000..d3c0a9b
--- /dev/null
+++ b/npx
@@ -0,0 +1,12 @@
+#!/bin/bash
+# Copyright 2022 The Go Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
+docker run \
+ --rm \
+ --volume $(pwd):/workspace \
+ --workdir /workspace \
+ --entrypoint npx \
+ node:16.13.1-alpine3.14 \
+ $@