wrappers/package.json
2024-10-09 00:03:42 +03:00

59 lines
1.7 KiB
JSON

{
"name": "@navy.gif/wrappers",
"version": "1.8.0",
"description": "Various wrapper classes I use in my projects",
"repository": "https://git.corgi.wtf/Navy.gif/wrappers.git",
"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/**/*"
],
"scripts": {
"build": "tsc && tsc -p tsconfig.cjs.json && node ./scripts/declareTypes.js --common --module",
"build:cjs": "tsc -p tsconfig.cjs.json && node ./scripts/declareTypes.js --common",
"build:module": "tsc && node ./scripts/declareTypes.js --module",
"test": "yarn build && jest",
"release:patch": "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 --fix"
},
"devDependencies": {
"@navy.gif/logger": "^2.5.1",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"eslint": "^8.37.0",
"typescript": "^5.4.3"
},
"dependencies": {
"@types/amqplib": "^0.10.1",
"@types/mysql": "^2.15.21",
"amqp-connection-manager": "^4.1.12",
"amqplib": "^0.10.3",
"mongodb": "^6.5.0",
"mysql": "^2.18.1"
},
"peerDependencies": {
"prom-client": "^15.0.0"
},
"peerDependenciesMeta": {
"prom-client": {
"optional": true
}
},
"packageManager": "yarn@4.5.0"
}