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": { "tasks": {
"test": "deno test --allow-net --parallel", "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, test: false,
importMap: "deno.json", importMap: "deno.json",
package: { package: {
name: "nano-service", name: "@qpismont/nano-service",
version: Deno.args[0], version: Deno.args[0],
description: "Your package.", description: "Your package.",
license: "MIT", license: "MIT",
repository: { repository: {
type: "git", "type": "git",
url: "git+https://github.com/username/repo.git", "url": "https://gitea.qpismont.fr/qpismont/nano-service",
},
bugs: {
url: "https://github.com/username/repo/issues",
}, },
}, },
postBuild() { postBuild() {