Skip to content

Commit f51c2c3

Browse files
committed
1 parent 5782a2b commit f51c2c3

2 files changed

Lines changed: 39 additions & 4 deletions

File tree

Taskfile.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,5 @@ tasks:
1616
- exclude: ./dist/**/npm/**
1717

1818
build:npm:
19-
deps: [build:go]
20-
# TODO: Fix publisher. license file should be in all caps to npm picks it up
21-
# TODO: Publisher doesn't work with npm one time tokens
2219
cmds:
23-
- npx -y goreleaser-npm-publisher@latest {{.TYPE}} --clean --prefix @sprisa --keywords https tls-certificate dns letsencrypt https-certificate
20+
- npx @sprisa/npmreleaser@latest build {{if eq .TYPE "publish"}}--publish{{end}}

npmreleaser.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"package.json": {
3+
"name": "@sprisa/localhost",
4+
"version": "0.0.4",
5+
"description": "Run secure services on localhost with 0-config certs (TLS / WSS). HTTPS connections for any device on LAN or mesh VPN.",
6+
"license": "MPL-2.0",
7+
"author": "Gabriel Meola <banter@gabe.mx>",
8+
"keywords": [
9+
"dns",
10+
"letsencrypt",
11+
"tls",
12+
"https",
13+
"https-proxy",
14+
"tls-certificate",
15+
"tls-proxy",
16+
"https-certificate",
17+
"localhost-ssl"
18+
],
19+
"homepage": "https://github.com/sprisa/localhost",
20+
"bugs": {
21+
"url": "https://github.com/sprisa/localhost/issues"
22+
},
23+
"repository": {
24+
"type": "git",
25+
"url": "git+https://github.com/sprisa/localhost.git"
26+
}
27+
},
28+
"bin": "localhost",
29+
"gobuild": "go build -ldflags=\"-s -w\"",
30+
"platforms": [
31+
"linux/amd64",
32+
"linux/arm64",
33+
"darwin/amd64",
34+
"darwin/arm64",
35+
"windows/amd64",
36+
"windows/arm64"
37+
]
38+
}

0 commit comments

Comments
 (0)