diff --git a/.releaserc.json b/.releaserc.json new file mode 100644 index 0000000..48bb8a8 --- /dev/null +++ b/.releaserc.json @@ -0,0 +1,10 @@ +{ + "plugins": [ + "@semantic-release/commit-analyzer", + "@semantic-release/release-notes-generator", + ["@semantic-release/npm", { + "pkgRoot": "dist/ngx-sweetalert2" + }], + ["@semantic-release/github"] + ] +} diff --git a/package.json b/package.json index d0d2698..4d05d49 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "lint:lib": "ng lint ngx-sweetalert2", "lint:demo": "ng lint ngx-sweetalert2-demo", "tmux:serve": "tmuxinator local", - "semantic-release": "cd dist/ngx-sweetalert2 && semantic-release; cd .." + "semantic-release": "semantic-release" }, "private": true, "dependencies": {