{
  "name": "swagger-converter",
  "version": "0.0.5",
  "description": "Swagger Converter",
  "main": "index.js",
  "scripts": {
    "test": "./node_modules/mocha/bin/mocha",
    "build": "npm test; ./node_modules/browserify/bin/cmd.js ./index.js > ./browser.js; ./node_modules/uglify-js/bin/uglifyjs ./browser.js > ./browser.min.js"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/apigee-127/swagger-converter.git"
  },
  "keywords": [
    "Swagger",
    "API"
  ],
  "author": "Mohsen Azimi <mohsen@mohsenweb.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/apigee-127/swagger-converter/issues"
  },
  "homepage": "https://github.com/apigee-127/swagger-converter",
  "devDependencies": {
    "browserify": "^7.0.0",
    "chai": "^1.10.0",
    "jscs": "^1.8.1",
    "mocha": "^2.0.1",
    "mocha-jscs": "^1.0.2",
    "mocha-jshint": "0.0.9",
    "uglify-js": "^2.4.16"
  }
}

{
  "name": "swagger-converter",
  "version": "0.0.5",
  "description": "Swagger Converter",
  "main": "index.js",
  "scripts": {
    "test": "./node_modules/mocha/bin/mocha",
    "build": "npm test; ./node_modules/browserify/bin/cmd.js ./index.js > ./browser.js; ./node_modules/uglify-js/bin/uglifyjs ./browser.js > ./browser.min.js",
    "prepublish": "npm run build"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/apigee-127/swagger-converter.git"
  },
  "keywords": [
    "Swagger",
    "API"
  ],
  "author": "Mohsen Azimi <mohsen@mohsenweb.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/apigee-127/swagger-converter/issues"
  },
  "homepage": "https://github.com/apigee-127/swagger-converter",
  "devDependencies": {
    "browserify": "^7.0.0",
    "chai": "^1.10.0",
    "jscs": "^1.8.1",
    "mocha": "^2.0.1",
    "mocha-jscs": "^1.0.2",
    "mocha-jshint": "0.0.9",
    "uglify-js": "^2.4.16"
  }
}

Build browser files before publishing
Build browser files before publishing
