{
  "name": "node-express-logging",
  "version": "0.0.1",
  "description": "A wrapper around Winston for logging within Express/NodeJS applications",
  "main": "dist/index.js",
  "scripts": {
    "build": "babel src -d dist --source-maps",
    "prepublishOnly": "NODE_ENV=production npm run build"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/GWShark0/node-express-logging.git"
  },
  "keywords": [
    "node",
    "express",
    "winston",
    "logging",
    "middleware"
  ],
  "author": "Greg Douglas <GWShark0@gmail.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/GWShark0/node-express-logging/issues"
  },
  "homepage": "https://github.com/GWShark0/node-express-logging#readme",
  "dependencies": {
    "express-winston": "^2.4.0",
    "winston": "^2.3.1",
    "yn": "^2.0.0"
  },
  "devDependencies": {
    "babel-cli": "^6.26.0",
    "babel-minify": "^0.2.0",
    "babel-preset-es2015": "^6.24.1"
  }
}

{
  "name": "node-express-logging",
  "version": "0.0.1",
  "description": "A wrapper around Winston for logging within Express/NodeJS applications",
  "main": "dist/index.js",
  "scripts": {
    "clean": "rm -rf dist/",
    "prebuild": "npm run clean",
    "build": "babel src -d dist --source-maps",
    "prepublishOnly": "NODE_ENV=production npm run build"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/GWShark0/node-express-logging.git"
  },
  "keywords": [
    "node",
    "express",
    "winston",
    "logging",
    "middleware"
  ],
  "author": "Greg Douglas <GWShark0@gmail.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/GWShark0/node-express-logging/issues"
  },
  "homepage": "https://github.com/GWShark0/node-express-logging#readme",
  "dependencies": {
    "express-winston": "^2.4.0",
    "winston": "^2.3.1",
    "yn": "^2.0.0"
  },
  "devDependencies": {
    "babel-cli": "^6.26.0",
    "babel-minify": "^0.2.0",
    "babel-preset-es2015": "^6.24.1"
  }
}

Add clean script and run before build
Add clean script and run before build
