@36node/template-service
Version:
A service boilerplate with openapi,rest and mongodb.
58 lines (57 loc) • 1.29 kB
JSON
{
"name": "@36node/template-service",
"version": "0.2.0",
"description": "A service boilerplate with openapi,rest and mongodb.",
"repository": {
"url": "36node/sketch",
"type": "git"
},
"license": "MIT",
"publishConfig": {
"access": "public"
},
"files": [
"bin",
"dist"
],
"main": "dist/index.js",
"scripts": {
"build": "rm -rf dist && babel ./src -d ./dist --ignore test.js",
"format": "prettier --trailing-comma es5 --write",
"lint": "eslint src",
"prepublishOnly": "npm run build",
"test:cov": "jest --coverage && npm run lint",
"test": "npm run lint && jest --silent"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $GIT_PARAMS",
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"jest": {
"testEnvironment": "node"
},
"lint-staged": {
"*.js": [
"npm run format",
"git add"
]
},
"devDependencies": {
"@36node/babel": "*",
"@36node/eslint-config": "0.1.0",
"@commitlint/cli": "6.1.0",
"@commitlint/config-conventional": "6.1.0",
"husky": "1.0.0-rc.13",
"jest-cli": "23.3.0",
"lint-staged": "7.2.0",
"prettier": "1.13.7"
}
}