log4js-node/package.json
e-cloud 4ac4ca2ca1 chore: update package.json and eslint config and travis config
1. add optional dependencies used in appenders as many uses may not use them all
2. update script for test integration
3. update eslintrc for those optional dependenceise
4. update travis config as current code is base on ES6 which is only nearly fully supported by Node.js v6
5. drop the old dependenies as being in favor of ES6
2016-07-16 13:30:16 +08:00

84 lines
2.0 KiB
JSON

{
"name": "log4js",
"version": "0.6.37",
"description": "Port of Log4js to work with node.",
"keywords": [
"logging",
"log",
"log4j",
"node"
],
"license": "Apache-2.0",
"main": "./lib/log4js",
"author": "Gareth Jones <gareth.nomiddlename@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/nomiddlename/log4js-node.git"
},
"bugs": {
"url": "http://github.com/nomiddlename/log4js-node/issues"
},
"engines": {
"node": ">=6.0"
},
"scripts": {
"pretest": "eslint lib/**/*",
"test": "vows",
"posttest": "npm run clean",
"clean": "find test -type f ! -name '*.json' ! -name '*.js' -delete && rm *.log"
},
"directories": {
"test": "test",
"lib": "lib"
},
"dependencies": {
},
"devDependencies": {
"conventional-changelog": "^1.1.0",
"eslint": "^3.0.0",
"eslint-config-airbnb-base": "^4.0.0",
"eslint-plugin-import": "^1.5.0",
"ghooks": "^1.2.1",
"sandboxed-module": "0.1.3",
"validate-commit-msg": "^2.6.1",
"vows": "0.7.0"
},
"optionalDependencies": {
"hipchat-notifier": "^1.1.0",
"loggly": "^1.1.0",
"mailgun-js": "^0.7.0",
"slack-node": "~0.2.0",
"nodemailer": "^2.5.0"
},
"browser": {
"os": false
},
"config": {
"validate-commit-msg": {
"types": [
"feat",
"fix",
"docs",
"style",
"refactor",
"example",
"perf",
"test",
"chore",
"revert"
],
"warnOnFail": false,
"maxSubjectLength": 72,
"subjectPattern": ".+",
"subjectPatternErrorMsg": "subject does not match subject pattern!",
"helpMessage": "\n# allowed type: feat, fix, docs, style, refactor, example, perf, test, chore, revert\n# subject no more than 50 chars\n# a body line no more than 72 chars"
},
"ghooks": {
"//": {
"pre-commit": "check code style"
},
"commit-msg": "validate-commit-msg"
}
}
}