diff --git a/package.json b/package.json index 610d0f8..0949bfc 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "author": "Andy Hume andyhu@brandwatch.com", "license": "ISC", "scripts": { + "prepublishOnly": "npm run test", "test": "eslint . && mocha test/" }, "devDependencies": { @@ -15,6 +16,9 @@ "mocha": "^10.3.0", "sinon": "^6.3.5" }, + "publishConfig": { + "registry": "https://artifactory.brandwatch.com/artifactory/api/npm/npm" + }, "dependencies": { "ip": "^1.1.5" }