{
  "name": "webhook-handler",
  "version": "0.9.0",
  "description": "amazeeio handler for webhooks",
  "main": "build/index.js",
  "scripts": {
    "postinstall": "ln -s ../../../node_modules/.bin node_modules/.bin #fix for not linked bin folder from root only needed till yarn v0.28.4 (https://github.com/yarnpkg/yarn/pull/3896)",
    "test": "jest",
    "test:watch": "jest --watch",
    "start": "flow-node build/index.js",
    "build": "flow-remove-types --out-dir build/ src/",
    "dev": "nodemon --ignore build --watch . --watch ../../node-packages --exec 'yarn run build && yarn run start'",
    "newman:all": "newman run ./newman/amazeeio-webhook-handler.postman_collection.json -e ./newman/localhost.postman_environment.json"
  },
  "license": "MIT",
  "jest": {
    "rootDir": "src",
    "testEnvironment": "node",
    "transform": {
      "\\.js$": "../../../node-packages/lagoon-commons/src/jest-flow-transform"
    }
  }
}

{
  "name": "webhook-handler",
  "version": "0.9.0",
  "description": "amazeeio handler for webhooks",
  "main": "build/index.js",
  "scripts": {
    "postinstall": "ln -s ../../../node_modules/.bin node_modules/.bin #fix for not linked bin folder from root only needed till yarn v0.28.4 (https://github.com/yarnpkg/yarn/pull/3896)",
    "test": "jest",
    "test:watch": "jest --watch",
    "start": "flow-node build/index.js",
    "build": "flow-remove-types --out-dir build/ src/",
    "dev": "nodemon --ignore build --watch . --watch ../../node-packages --exec 'flow-node src/index.js'",
    "newman:all": "newman run ./newman/amazeeio-webhook-handler.postman_collection.json -e ./newman/localhost.postman_environment.json"
  },
  "license": "MIT",
  "jest": {
    "rootDir": "src",
    "testEnvironment": "node",
    "transform": {
      "\\.js$": "../../../node-packages/lagoon-commons/src/jest-flow-transform"
    }
  }
}

Simplify dev script for webhook-handler
Simplify dev script for webhook-handler
