add publish to gitea package

This commit is contained in:
qpismont 2024-01-04 21:33:53 +01:00
parent 489a5874da
commit dae913fcff
2 changed files with 5 additions and 7 deletions

View file

@ -7,6 +7,7 @@
},
"tasks": {
"test": "deno test --allow-net --parallel",
"build": "deno run -A scripts/build_npm.ts 0.1.0"
"build": "deno run -A scripts/build_npm.ts 0.1.0",
"publish": "cd npm && npm publish"
}
}

View file

@ -11,16 +11,13 @@ await build({
test: false,
importMap: "deno.json",
package: {
name: "nano-service",
name: "@qpismont/nano-service",
version: Deno.args[0],
description: "Your package.",
license: "MIT",
repository: {
type: "git",
url: "git+https://github.com/username/repo.git",
},
bugs: {
url: "https://github.com/username/repo/issues",
"type": "git",
"url": "https://gitea.qpismont.fr/qpismont/nano-service",
},
},
postBuild() {