{
  "name": "cataclysm",
  "version": "0.0.0",
  "description": "",
  "main": "dist",
  "scripts": {
    "build": "rm -r dist && mkdir dist && tsc src/index --outDir dist",
    "test": "tsc src/test --outDir test && node test/test",
    "watch-test": "nodemon --exec npm t"
  },
  "author": "Ben Hall",
  "license": "MIT",
  "devDependencies": {
    "nodemon": "^1.9.2",
    "tape": "^4.5.1",
    "typescript": "^2.5.3"
  }
}

{
  "name": "cataclysm",
  "version": "0.0.0",
  "description": "",
  "main": "dist",
  "scripts": {
    "build": "rm -rf dist && mkdir dist && tsc src/index --outDir dist",
    "test": "tsc src/test --outDir test && node test/test",
    "watch-test": "nodemon --exec npm t"
  },
  "author": "Ben Hall",
  "license": "MIT",
  "devDependencies": {
    "nodemon": "^1.9.2",
    "tape": "^4.5.1",
    "typescript": "^2.5.3"
  }
}

Handle when dist dir does not exist
chore(build): Handle when dist dir does not exist
