文件夹命名

This commit is contained in:
waliang.wang 2017-07-14 12:18:55 +08:00
parent 35e80fe3a6
commit 945c70901e
2 changed files with 22 additions and 1 deletions

View File

@ -88,6 +88,27 @@
"webpack": "^2.0.0",
"webpack-node-externals": "^1.6.0"
},
"config": {
"ghooks": {
"commit-msg": "validate-commit-msg"
},
"validate-commit-msg": {
"types": [
"feat",
"fix",
"docs",
"test",
"chore",
"refactor",
"opti"
],
"warnOnFail": false,
"maxSubjectLength": 100,
"subjectPattern": ".+",
"subjectPatternErrorMsg": "请输入message信息!",
"helpMessage": "Commit message 格式错误, \n请查看规范: http://wiki.corp.qunar.com/pages/viewpage.action?pageId=159698767"
}
},
"engines": {
"node": ">= 6.0.0",
"npm": ">= 3.0.0"

View File

@ -16,7 +16,7 @@ module.exports = {
}
}
}],
devtool: 'cheap-source-map',
// devtool: 'cheap-source-map',
config: {
exports: [
'./index.js'