func main()

in release/npm/generate_package.go [27:64]


func main() {
	if "VERSION_NOT_SET" == Version {
		panic("The version string was not overriden. Please rebuild with --stamp")
	}

	pkg := jsPackage{
		Name:        "@bazel/ibazel",
		Version:     Version,
		Description: "node distribution of ibazel",
		Bin: map[string]string{
			"ibazel": "index.js",
		},
		Contributors: []string{},
		License:      "Apache-2.0",
		PublishConfig: map[string]string{
			"access": "public",
		},
	}

	file, err := ioutil.ReadFile(os.Args[1])
	if err != nil {
		panic(err)
	}

	for _, line := range strings.Split(string(file), "\n") {
		if line != "" && line[0] != '#' {
			pkg.Contributors = append(pkg.Contributors, line)
		}
	}

	enc := json.NewEncoder(os.Stdout)
	enc.SetEscapeHTML(false)
	enc.SetIndent("", "\t")
	err = enc.Encode(pkg)
	if err != nil {
		panic(err)
	}
}