{
  "name": "lrm-graphhopper",
  "version": "1.0.0",
  "description": "Support for GraphHopper in Leaflet Routing Machine",
  "main": "src/L.Routing.GraphHopper.js",
  "scripts": {
    "prepublish": "browserify src/L.Routing.GraphHopper.js >dist/lrm-graphhopper.js",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [
    "leaflet",
    "routing",
    "mapbox",
    "directions API"
  ],
  "author": "Per Liedman <per@liedman.net>",
  "license": "ISC",
  "dependencies": {
    "corslite": "0.0.6",
    "leaflet": "^0.7.3",
    "polyline": "0.0.3"
  },
  "browserify": {
    "transform": "browserify-shim"
  },
  "browserify-shim": {
    "leaflet": "global:L"
  },
  "devDependencies": {
    "browserify": "^8.1.3",
    "browserify-shim": "^3.8.2"
  }
}

{
  "name": "lrm-graphhopper",
  "version": "1.0.0",
  "description": "Support for GraphHopper in Leaflet Routing Machine",
  "main": "src/L.Routing.GraphHopper.js",
  "scripts": {
    "prepublish": "mkdir -p dist && browserify src/L.Routing.GraphHopper.js >dist/lrm-graphhopper.js",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [
    "leaflet",
    "routing",
    "graphhopper"
  ],
  "author": "Per Liedman <per@liedman.net>",
  "license": "ISC",
  "dependencies": {
    "corslite": "0.0.6",
    "leaflet": "^0.7.3",
    "polyline": "0.0.3"
  },
  "browserify": {
    "transform": "browserify-shim"
  },
  "browserify-shim": {
    "leaflet": "global:L"
  },
  "devDependencies": {
    "browserify": "^8.1.3",
    "browserify-shim": "^3.8.2"
  }
}

Fix keywords and make sure dist folder exists before building
Fix keywords and make sure dist folder exists before building
