logger/package.json
2024-10-08 22:39:36 +03:00

50 lines
1.5 KiB
JSON

{
"name": "@navy.gif/logger",
"version": "2.6.0",
"description": "Logging thing",
"author": "Navy.gif",
"license": "MIT",
"type": "module",
"main": "build/cjs/index.js",
"module": "build/esm/index.js",
"types": "./build/esm/index.d.ts",
"exports": {
".": {
"import": "./build/esm/index.js",
"require": "./build/cjs/index.js",
"default": "./build/cjs/index.js",
"types": "./build/esm/index.d.ts"
}
},
"files": [
"build/**/*"
],
"devDependencies": {
"@babel/core": "^7.25.7",
"@babel/preset-env": "^7.25.7",
"@babel/preset-typescript": "^7.25.7",
"@types/babel__core": "^7",
"@types/babel__preset-env": "^7",
"@types/chalk": "^2.2.0",
"@types/node": "^22.7.4",
"@typescript-eslint/eslint-plugin": "^8.8.0",
"@typescript-eslint/parser": "^8.8.0",
"eslint": "^9.12.0",
"typescript": "^5.6.2"
},
"dependencies": {
"@navy.gif/discord-webhook": "^1.2.2",
"chalk": "^4.1.2",
"moment": "^2.29.4"
},
"scripts": {
"test": "node test/test.js",
"build": "tsc && tsc -p tsconfig.cjs.json && node ./scripts/declareTypes.js",
"release": "yarn build && yarn version patch && yarn npm publish",
"release:minor": "yarn build && yarn version minor && yarn npm publish",
"release:major": "yarn build && yarn version major && yarn npm publish",
"lint": "eslint src/ --fix"
},
"packageManager": "yarn@4.5.0"
}