-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.04 KB
/
package.json
File metadata and controls
74 lines (74 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "@emailjs/nodejs",
"version": "5.0.2",
"description": "Official EmailJS SDK for NodeJS",
"private": false,
"author": "EmailJS",
"contributors": [
"Sergey Khomushin <sergey@emailjs.com> (https://www.emailjs.com)"
],
"type": "module",
"homepage": "https://www.emailjs.com",
"license": "BSD-3-Clause",
"main": "cjs/index.js",
"types": "mjs/index.d.ts",
"module": "mjs/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/emailjs-com/emailjs-nodejs.git"
},
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"import": "./mjs/index.js",
"require": "./cjs/index.js"
}
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"_clean": "rm -rf mjs && rm -rf cjs",
"_set-version": "./set-version.sh $npm_package_version",
"_set-type:cjs": "./set-type.sh cjs commonjs",
"_set-type:mjs": "./set-type.sh mjs module",
"_build:mjs": "tsc --declaration --project ./tsconfig.build.json && npm run _set-version mjs && npm run _set-type:mjs",
"_build:cjs": "tsc --target ES2019 --module CommonJS --moduleResolution Node --outDir cjs --project ./tsconfig.build.json && npm run _set-version cjs && npm run _set-type:cjs",
"build": "npm run _clean && npm run _build:mjs && npm run _build:cjs",
"release": "npm run build && npm publish",
"test": "jest --coverage",
"lint": "tsc --noEmit && eslint src"
},
"keywords": [
"js email",
"nodejs email",
"ts email",
"javascript email",
"typescript email",
"nodejs emailjs",
"emailjs",
"email templates",
"send email",
"send email from js",
"send email from server",
"emailjs-com"
],
"devDependencies": {
"@eslint/js": "^9.13.0",
"@types/node": "^22.7.7",
"eslint": "^9.13.0",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.10.0"
},
"prettier": {
"trailingComma": "all",
"singleQuote": true,
"printWidth": 100
}
}