{
  "name": "generator-wf-control",
  "version": "1.0.2",
  "description": "Generate a basic WF control",
  "repository": "gxoptg/generator-wf-control",
  "scripts": {
    "build": "gulp build",
    "test": "mocha"
  },
  "keywords": [
    "yeoman-generator",
    "wf"
  ],
  "author": "Ivan Akulov <gxoptg@gmail.com> (http://ivanakulov.name)",
  "license": "MIT",
  "dependencies": {
    "yeoman-generator": "^0.20.3"
  },
  "devDependencies": {
    "babel-core": "^5.8.25",
    "gulp": "^3.9.0",
    "gulp-babel": "^5.2.1",
    "mocha": "^2.3.3"
  }
}

{
  "name": "generator-wf-control",
  "version": "1.0.2",
  "description": "Generate a basic WF control",
  "repository": "gxoptg/generator-wf-control",
  "scripts": {
    "build": "gulp build",
    "test": "mocha",

    "prepublish": "npm run test",
    "pretest": "npm run build"
  },
  "keywords": [
    "yeoman-generator",
    "wf"
  ],
  "author": "Ivan Akulov <gxoptg@gmail.com> (http://ivanakulov.name)",
  "license": "MIT",
  "dependencies": {
    "yeoman-generator": "^0.20.3"
  },
  "devDependencies": {
    "babel-core": "^5.8.25",
    "gulp": "^3.9.0",
    "gulp-babel": "^5.2.1",
    "mocha": "^2.3.3"
  }
}

Add "prepublish" and "pretest" npm script hooks
Add "prepublish" and "pretest" npm script hooks
