diff --git a/package.json b/package.json index 681cf40..564f81d 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,9 @@ "test": "jest -i --restoreMocks", "unit-test": "jest --testPathPattern=tests/unit", "integration-test": "jest --testPathPattern=tests/integration", - "lint": "eslint lib/** tests/**" + "lint": "eslint lib/** tests/**", + "prepublishOnly": "npm run test && npm run build", + "postpack": "git tag -a $npm_package_version -m $npm_package_version && git push origin $npm_package_version" }, "dependencies": { "@dxfeed/api": "^1.1.0",