initial commit
This commit is contained in:
commit
619cb97fa3
23 changed files with 9242 additions and 0 deletions
104
package.json
Normal file
104
package.json
Normal file
|
@ -0,0 +1,104 @@
|
|||
{
|
||||
"name": "@siwats/mxrelay-consumer",
|
||||
"version": "1.0.0",
|
||||
"description": "An internal TypeScript client library for transporting SMTP messages",
|
||||
"main": "lib/index.js",
|
||||
"module": "lib/index.esm.js",
|
||||
"types": "lib/index.d.ts",
|
||||
"files": [
|
||||
"lib/**/*",
|
||||
"src/**/*",
|
||||
"README.md",
|
||||
"LICENSE"
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./lib/index.d.ts",
|
||||
"import": "./lib/index.esm.js",
|
||||
"require": "./lib/index.js"
|
||||
},
|
||||
"./types": {
|
||||
"types": "./lib/types.d.ts",
|
||||
"import": "./lib/types.esm.js",
|
||||
"require": "./lib/types.js"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npm run build:cjs && npm run build:esm && npm run build:types",
|
||||
"build:cjs": "tsc -p tsconfig.cjs.json",
|
||||
"build:esm": "echo 'ESM build disabled - use CommonJS for now'",
|
||||
"build:types": "tsc -p tsconfig.types.json",
|
||||
"dev": "tsc --watch",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"clean": "rimraf lib",
|
||||
"prepublishOnly": "npm run clean && npm run build",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
"test:coverage": "jest --coverage",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"lint:fix": "eslint src/**/*.ts --fix",
|
||||
"format": "prettier --write 'src/**/*.ts'",
|
||||
"docs": "typedoc src/index.ts",
|
||||
"example:basic": "ts-node examples/basic-usage.ts",
|
||||
"example:queue": "ts-node examples/queue-management.ts"
|
||||
},
|
||||
"keywords": [
|
||||
"smtp",
|
||||
"websocket",
|
||||
"email",
|
||||
"relay",
|
||||
"queue",
|
||||
"client",
|
||||
"typescript",
|
||||
"async",
|
||||
"promise",
|
||||
"reconnection",
|
||||
"siwats"
|
||||
],
|
||||
"author": {
|
||||
"name": "Siwat Sirichai",
|
||||
"email": "siwat@siwatinc.com",
|
||||
"url": "https://siwatsystem.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/siwats/smtp-ws-relay-client.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/siwats/smtp-ws-relay-client/issues"
|
||||
},
|
||||
"homepage": "https://github.com/siwats/smtp-ws-relay-client#readme",
|
||||
"engines": {
|
||||
"node": ">=16.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"nodemailer": "^7.0.5",
|
||||
"ws": "^8.14.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/node": ">=16"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^29.5.5",
|
||||
"@types/node": "^20.6.3",
|
||||
"@types/nodemailer": "^6.4.8",
|
||||
"@types/ws": "^8.5.6",
|
||||
"@typescript-eslint/eslint-plugin": "^6.7.2",
|
||||
"@typescript-eslint/parser": "^6.7.2",
|
||||
"eslint": "^8.49.0",
|
||||
"eslint-config-prettier": "^9.0.0",
|
||||
"eslint-plugin-prettier": "^5.0.0",
|
||||
"jest": "^29.7.0",
|
||||
"prettier": "^3.0.3",
|
||||
"rimraf": "^5.0.1",
|
||||
"ts-jest": "^29.1.1",
|
||||
"ts-node": "^10.9.1",
|
||||
"typedoc": "^0.25.1",
|
||||
"typescript": "^5.2.2"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
"registry": "https://registry.npmjs.org/"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue