1 | {
|
2 | "name": "email-templates",
|
3 | "description": "Create, preview, and send custom email templates for Node.js. Highly configurable and supports automatic inline CSS, stylesheets, embedded images and fonts, and much more! Made for sending beautiful emails with Lad.",
|
4 | "version": "8.0.5",
|
5 | "author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com)",
|
6 | "bugs": {
|
7 | "url": "https://github.com/forwardemail/email-templates/issues",
|
8 | "email": "niftylettuce@gmail.com"
|
9 | },
|
10 | "commitlint": {
|
11 | "extends": [
|
12 | "@commitlint/config-conventional"
|
13 | ]
|
14 | },
|
15 | "contributors": [
|
16 | "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com)"
|
17 | ],
|
18 | "dependencies": {
|
19 | "@ladjs/i18n": "^7.2.0",
|
20 | "consolidate": "^0.16.0",
|
21 | "debug": "^4.3.1",
|
22 | "get-paths": "^0.0.7",
|
23 | "html-to-text": "^6.0.0",
|
24 | "juice": "^7.0.0",
|
25 | "lodash": "^4.17.21",
|
26 | "nodemailer": "^6.6.0",
|
27 | "preview-email": "^3.0.4"
|
28 | },
|
29 | "devDependencies": {
|
30 | "@babel/cli": "^7.13.16",
|
31 | "@babel/core": "^7.14.2",
|
32 | "@babel/preset-env": "^7.14.2",
|
33 | "@commitlint/cli": "^12.1.4",
|
34 | "@commitlint/config-conventional": "^12.1.4",
|
35 | "ava": "^3.15.0",
|
36 | "cheerio": "^1.0.0-rc.9",
|
37 | "codecov": "^3.8.2",
|
38 | "cross-env": "^7.0.3",
|
39 | "ejs": "^3.1.6",
|
40 | "eslint": "^7.26.0",
|
41 | "eslint-config-xo-lass": "^1.0.5",
|
42 | "eslint-plugin-node": "^11.1.0",
|
43 | "fixpack": "^4.0.0",
|
44 | "husky": "^6.0.0",
|
45 | "lint-staged": "^11.0.0",
|
46 | "nodemailer-sendgrid": "^1.0.3",
|
47 | "nyc": "^15.1.0",
|
48 | "pug": "^3.0.2",
|
49 | "remark-cli": "^9.0.0",
|
50 | "remark-preset-github": "^4.0.1",
|
51 | "xo": "^0.40.1"
|
52 | },
|
53 | "engines": {
|
54 | "node": ">=8.3.0"
|
55 | },
|
56 | "files": [
|
57 | "lib",
|
58 | "locales"
|
59 | ],
|
60 | "homepage": "https://github.com/forwardemail/email-templates",
|
61 | "husky": {
|
62 | "hooks": {
|
63 | "pre-commit": "npm test",
|
64 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
65 | }
|
66 | },
|
67 | "keywords": [
|
68 | "consolidate",
|
69 | "email",
|
70 | "engine",
|
71 | "koa",
|
72 | "lad",
|
73 | "lass",
|
74 | "mailchimp",
|
75 | "mailgun",
|
76 | "mandrill",
|
77 | "moonmail",
|
78 | "nodemailer",
|
79 | "postmark",
|
80 | "pug",
|
81 | "sendgrid",
|
82 | "template",
|
83 | "templates",
|
84 | "transport"
|
85 | ],
|
86 | "license": "MIT",
|
87 | "lint-staged": {
|
88 | "linters": {
|
89 | "*.js": [
|
90 | "xo --fix",
|
91 | "git add"
|
92 | ],
|
93 | "*.md": [
|
94 | "remark . -qfo",
|
95 | "git add"
|
96 | ],
|
97 | "package.json": [
|
98 | "fixpack",
|
99 | "git add"
|
100 | ]
|
101 | }
|
102 | },
|
103 | "main": "lib/index.js",
|
104 | "prettier": {
|
105 | "singleQuote": true,
|
106 | "bracketSpacing": true,
|
107 | "trailingComma": "none"
|
108 | },
|
109 | "remarkConfig": {
|
110 | "plugins": [
|
111 | "preset-github"
|
112 | ]
|
113 | },
|
114 | "repository": {
|
115 | "type": "git",
|
116 | "url": "https://github.com/forwardemail/email-templates"
|
117 | },
|
118 | "scripts": {
|
119 | "ava": "cross-env NODE_ENV=test ava",
|
120 | "build": "npm run build:clean && npm run build:lib",
|
121 | "build:clean": "rimraf lib",
|
122 | "build:lib": "babel src --out-dir lib",
|
123 | "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
124 | "lint": "xo && remark . -qfo && eslint lib",
|
125 | "nyc": "cross-env NODE_ENV=test nyc ava",
|
126 | "test": "npm run build && npm run lint && npm run ava",
|
127 | "test-coverage": "npm run build && npm run lint && npm run nyc"
|
128 | },
|
129 | "xo": {
|
130 | "prettier": true,
|
131 | "space": true,
|
132 | "extends": [
|
133 | "xo-lass"
|
134 | ],
|
135 | "ignores": [
|
136 | "config.js"
|
137 | ],
|
138 | "rules": {
|
139 | "unicorn/prevent-abbreviations": "off",
|
140 | "unicorn/prefer-module": "off"
|
141 | }
|
142 | }
|
143 | }
|