{
  "name": "pg-packet-stream",
  "version": "1.0.0",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "license": "MIT",
  "devDependencies": {
    "@types/node": "^12.12.21",
    "chunky": "^0.0.0",
    "typescript": "^3.7.3",
    "@types/chai": "^4.2.7",
    "@types/mocha": "^5.2.7",
    "chai": "^4.2.0",
    "mocha": "^6.2.2",
    "ts-node": "^8.5.4"
  },
  "scripts": {
    "test": "mocha -r ts-node/register src/**/*.test.ts"
  },
  "dependencies": {}
}

{
  "name": "pg-packet-stream",
  "version": "1.0.0",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "license": "MIT",
  "devDependencies": {
    "@types/node": "^12.12.21",
    "chunky": "^0.0.0",
    "typescript": "^3.7.3",
    "@types/chai": "^4.2.7",
    "@types/mocha": "^5.2.7",
    "chai": "^4.2.0",
    "mocha": "^6.2.2",
    "ts-node": "^8.5.4"
  },
  "scripts": {
    "test": "mocha dist/**/*.test.js",
    "prepublish": "tsc",
    "pretest": "tsc"
  },
  "dependencies": {}
}

Add pretest and prepublish script
Add pretest and prepublish script
