{
  "name": "<%= name %>",
  "version": "0.0.0",
  "description": "<%= description %>",
  "repository": {
    "url": "<%= username %>/<%= name %>",
    "type": "git"
  },
  "main": <% if (compile) { %>"dist/index.common.js"<% } else { %>"index.js"<% } %>,
  <% if (cli) { %>"bin": "cli.js", <% } %>
  "files": [
    <% if (compile) { %>"dist"<% } else { %>"index.js"<% } %><% if (cli) { %>,
    "cli.js"<% } %>
  ],
  "scripts": {<% if (coverage) { %>
    "test:cov": "jest --coverage<% if (eslint !== 'disable') { %> && npm run lint<% } %>",<% } %>
    "test": "<% if (eslint !== 'disable') { %>npm run lint<% } %><% if (unitTest) { %> && jest<% } else { %> && echo 'no tests!'<% } %>"<% if (eslint !== 'disable') { %>,
    "lint": "<%= eslint %>"<% } %><% if (compile) { %>,
    "prepublish": "npm run build",
    "build": "bili --filename index"<% } %><% if (poi) { %>,
    "example": "poi",
    "build:example": "poi build",
    "gh": "gh-pages -d example/dist",
    "deploy": "npm run build:example && npm run gh"
    <% } %>
  },
  "author": "<%= username %> <<%= email %>>",
  "license": "MIT",<% if (poi) { %>
  "poi": {
    "entry": "example/index.js",
    "dist": "example/dist",
    "homepage": "/"
  },
  <%_ } -%>
  <%_ if (unitTest) { -%>
  "jest": {
    "testEnvironment": "node"
  },
  <%_ } -%>
  <%_ if (compile && unitTest) { -%>
  "babel": {
    "env": {
      "test": {
        "presets": [
          ["env", {
            "targets": {
              "node": "current"
            }
          }]
        ]
      }
    }
  },
  <%_ } -%>
  "dependencies": {<% if (cli) { %>
    "cac": "^4.0.0"
  <% } %>},
  "devDependencies": {<% if (unitTest) { %>
    "jest-cli": "^19.0.0"<% } %><% if (eslint === 'xo') { %><% if (unitTest) { %>,<% } %>
    "eslint-config-rem": "^3.0.0",
    "xo": "^0.18.0"<% } else if (eslint === 'standard') { %>,
    "standard": "^10.0.0"<% } %><% if (compile) { %><% if (eslint !== 'disable' || unitTest) { %>,<% } %>
    <%_ if (unitTest) { -%>
    "babel-preset-env": "^1.4.0",
    <%_ } -%>
    <%_ if (poi) { -%>
    "gh-pages": "^1.0.0",
    "poi": "^9.1.4",
    <%_ } -%>
    "bili": "^0.17.0"<% } %>
  }<% if (eslint === 'xo') { %>,
  "xo": {
    "extends": "rem"<% if (unitTest) { %>,
    "envs": [
      "jest"
    ]<% } %>
  }<%_ } %>
}
