{
  "name": "@36node/template-service",
  "version": "0.7.21",
  "description": "A service boilerplate with openapi,rest and mongodb.",
  "repository": {
    "url": "36node/sketch",
    "type": "git"
  },
  "license": "MIT",
  "publishConfig": {
    "access": "public"
  },
  "files": [
    ".circleci",
    "bin",
    "src",
    "ssl",
    ".babelrc",
    ".dockerignore",
    "Dockerfile",
    "openapi.yml",
    "README.md"
  ],
  "main": "dist/index.js",
  "scripts": {
    "bootstrap": "bin/bootstrap.sh",
    "build": "rm -rf dist && babel ./src -d ./dist --ignore test.js",
    "format": "prettier --trailing-comma es5 --write 'src/**/*.js'",
    "gen:api": "swagen koa openapi.yml ./src/api && npm run format",
    "gen:db": "babel-node bin/initdb.js",
    "gen:postman": "swagen postman openapi.yml postman.json",
    "lint": "eslint src",
    "release": "standard-version && git push --follow-tags origin master",
    "server": "node dist/index.js",
    "start": "nodemon src/index.js --watch src --exec 'babel-node' | pino-pretty -c -t",
    "test": "jest --silent"
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ]
  },
  "husky": {
    "hooks": {
      "commit-msg": "commitlint -e $GIT_PARAMS",
      "pre-commit": "lint-staged",
      "pre-push": "npm run lint && npm run test"
    }
  },
  "jest": {
    "testEnvironment": "node"
  },
  "lint-staged": {
    "*.js": [
      "npm run format",
      "git add"
    ]
  },
  "devDependencies": {
    "@36node/babel": "^0.2.2",
    "@36node/eslint-config": "^0.3.4",
    "@36node/swagen": "^0.9.0",
    "@commitlint/cli": "^6.1.0",
    "@commitlint/config-conventional": "^6.1.0",
    "@types/lodash": "^4.14.116",
    "husky": "^1.0.0-rc.13",
    "jest-cli": "^23.3.0",
    "json-schema-faker": "^0.5.0-rc15",
    "lint-staged": "^7.2.0",
    "mongoose-schema-jsonschema": "^1.1.15",
    "nodemon": "^1.18.6",
    "pino-pretty": "^2.2.3",
    "prettier": "^1.13.7",
    "require-directory": "^2.1.1",
    "standard-version": "^4.4.0"
  },
  "dependencies": {
    "@36node/mongoose-helper": "^0.1.8",
    "@koa/cors": "^2.2.2",
    "@types/koa": "^2.0.46",
    "@types/mongoose": "^5.2.19",
    "dotenv": "^6.0.0",
    "koa": "^2.5.2",
    "koa-body": "^4.0.4",
    "koa-compress": "^3.0.0",
    "koa-helmet": "^4.0.0",
    "koa-jwt": "^3.3.2",
    "koa-logger": "^3.2.0",
    "koa-tree-router": "^0.4.2",
    "lodash": "^4.17.10",
    "mongoose": "^5.2.14",
    "pino": "^5.8.1"
  },
  "gitHead": "1616354bae4c2b51af5500f9e7335c3d225907ae"
}
