diff --git a/.travis.yml b/.travis.yml index 4612f724..bcac2e28 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,7 +47,7 @@ deploy: skip_cleanup: true on: tags: false - branch: main + branch: master - provider: npm skip_cleanup: true @@ -55,4 +55,4 @@ deploy: api_key: $NPM_TOKEN on: tags: false - branch: main + branch: master diff --git a/package.json b/package.json index 32ac6df7..1f1629ad 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,15 @@ "version": "0.1.11", "description": "General Bot Community Edition open-core server.", "main": "./src/app.ts", - "homepage": "http://www.generalbot.com", + "bugs": "https://github.com/pragmatismo-io/BotServer/issues", + "homepage": "https://github.com/pragmatismo-io/BotServer/#readme", "contributors": [ "Rodrigo Rodriguez ", "Jorge Ramos " ], + "engines": { + "node": "=10.13.0" + }, "license": "AGPL-3.0", "preferGlobal": true, "bin": { @@ -38,13 +42,10 @@ "secure": "nsp check", "size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";", "unused-deps": "dependency-check --unused --no-dev ./package.json", - "travis-deploy-once": "travis-deploy-once -pro", + "travis-deploy-once": "travis-deploy-once --pro", "semantic-release": "semantic-release", "commit": "git-cz" }, - "engines": { - "node": "=10.13.0" - }, "dependencies": { "@microsoft/microsoft-graph-client": "1.3.0", "@types/chai": "4.1.7", @@ -195,7 +196,13 @@ "git add packages/*.ts", "npm run ban" ], - "pre-push": [], + "pre-push": [ + "echo skip npm run unused-deps", + "npm run secure", + "npm run license", + "npm run ban -- --all", + "npm run size" + ], "post-commit": [], "post-checkout": [], "post-merge": []