diff --git a/deno.json b/deno.json index 9210367..ff3d471 100644 --- a/deno.json +++ b/deno.json @@ -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" } } diff --git a/scripts/build_npm.ts b/scripts/build_npm.ts index 513ab33..aeda476 100644 --- a/scripts/build_npm.ts +++ b/scripts/build_npm.ts @@ -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() {