uci-utils-logger/package.json

58 lines
2.0 KiB
JSON

{
"name": "@uci-utils/logger",
"version": "0.2.0",
"description": "Parent Logger for all UCI modules",
"main": "./src/logger.js",
"type": "module",
"scripts": {
"test:dev": "./node_modules/.bin/nodemon --trace-warnings --exec './node_modules/.bin/mocha --timeout 30000' || exit 1",
"test": "./node_modules/.bin/mocha --timeout 30000 || exit 0",
"dev": "UCI_ENV=dev ./node_modules/.bin/nodemon example/example",
"dev:verbose": "UCI_LOG_PRETTY='verbose' npm run dev",
"dev:terse": "UCI_LOG_PRETTY='terse' npm run dev",
"dev:where": "UCI_LOG_PRETTY='where' npm run dev",
"dev:filter:line": "UCI_LOG_PRETTY='{\"filter\":[\"line\"]}' npm run dev",
"dev:include": "UCI_LOG_PRETTY='{\"include\":\"package,appName\"}' npm run dev",
"dev:trace": "UCI_LOG_LEVEL=trace npm run dev",
"dev:warn": "UCI_LOG_LEVEL=warn npm run dev",
"dev:info:only": "UCI_LOG_SEARCH='level==`30`' npm run dev",
"dev:fatal:only": "UCI_LOG_SEARCH='level==`60`' npm run dev",
"dev:json": "UCI_LOG_LEVEL=trace UCI_LOG_JSON=true npm run dev",
"pro": "UCI_ENV='pro' nodemon example/example",
"pro:path": "UCI_LOG_PATH=./example/example.log npm run pro"
},
"author": "David Kebler",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/uCOMmandIt/uci-changeme.git"
},
"keywords": [
"node.js",
"I2C",
"raspberryPi"
],
"bugs": {
"url": "https://github.com/uCOMmandIt/uci-changeme/issues"
},
"homepage": "https://github.com/uCOMmandIt/uci-changeme#readme",
"dependencies": {
"env-paths": "^2.2.1",
"make-dir": "^3.1.0",
"pino": "^6.13.0",
"pino-pretty": "^5.1.2",
"uniqid": "^5.3.0"
},
"devDependencies": {
"chai": "^4.3.4",
"eslint": "^7.31.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"mocha": "^9.0.3",
"nodemon": "^2.0.12",
"test-console": "^2.0.0"
}
}