{
  "name": "<%= moduleName %>",
  "version": "<%= moduleVersion %>",
  "description": "<%= moduleDesc %>",
  "main": "dist/index.js",
  <% if (publishConfig) { %>"publishConfig": {
    "registry": "<%= publishConfig %>"
  },<% } %>
  "scripts": {
    "clean": "trash dist",
    "transpile": "babel src --out-dir dist",
    "eslint": "eslint src test",
    "jscs": "jscs src test",
    "lint": "npm-run-all jscs eslint",
    <% if (isOpensource) { %>
    "test": "mocha",
    "tdd": "npm test -- --watch",
    "coverage": "isparta cover _mocha src",
    "precoveralls": "npm run coverage",
    "coveralls": "coveralls < reports/coverage/istanbul/lcov.info",
    <% } else { %>
    "eslint:jenkins": "eslint src -f checkstyle -o reports/lintresult.xml",
    "reports:rm": "trash reports/",
    "reports:mkdir": "mkdirp reports",
    "prelint:jenkins": "npm-run-all reports:rm reports:mkdir",
    "lint:jenkins": "npm-run-all jscs eslint:jenkins",
    "pretest": "npm-run-all reports:rm reports:mkdir",
    "test": "BABEL_DISABLE_CACHE=1 mocha",
    "posttest": "npm run reports",
    "tdd": "npm test -- --watch",
    "prereports": "echo '<?xml version=\"1.0\"?>' > reports/test-results.xml",
    "reports": "npm-run-all reports:tests reports:coverage",
    "reports:tests": "BABEL_DISABLE_CACHE=1 mocha --reporter xunit | grep \"<\" >> reports/test-results.xml",
    "reports:coverage": "BABEL_DISABLE_CACHE=1 isparta cover _mocha",
    <% } %>
    "validate": "npm-run-all lint test",
    "prepush": "npm run validate",
    "prepublish": "npm run transpile",
    "push": "git push --follow-tags",
    "postpublish": "npm-run-all clean push"
  },
  "repository": {
    "type": "git",
    "url": <% if (isOpensource) { %>"git+https://github.com/<%= github %>/<%= moduleName %>.git"<% } else { %>"<%= repositoryUrl %>"<% } %>
  },
  "keywords": [
    <% moduleKeywords.forEach(function(keyword, i, arr) { %>"<%= keyword %>"<% if (i !== arr.length - 1) { %>,
    <% } %><% }); %>
  ],
  "author": "<%= name %> <<%= email %>> <% if (site) { %>(<%= humanizedSite %>)<% } %>",
  "license": "<%= moduleLicense %>",
  <% if (isOpensource) { %>"bugs": {
    "url": "https://github.com/<%= github %>/<%= moduleName %>/issues"
  },
  "homepage": "https://github.com/<%= github %>/<%= moduleName %>#readme",<% } %>
  "devDependencies": {
    "babel": "*",
    "babel-core": "*",
    "babel-eslint": "*",
    "babel-jscs": "*",
    "chai": "*",
    "chai-as-promised": "*",
    "coveralls": "*",
    "eslint": "*",
    "eslint-config-airbnb": "*",
    "husky": "*",
    "isparta": "*",
    "jscs": "*",
    "jscs-config-nordnet": "*",
    "eslint": "*",
    "eslint-config-airbnb": "*",
    "eslint-config-nordnet": "*",
    "eslint-plugin-react": "*",
    "mkdirp": "*",
    "mocha": "*",
    "npm-run-all": "*",
    "sinon": "*",
    "sinon-chai": "*",
    "trash": "*"
  }
}
