Skip to content

Commit

Permalink
Merge pull request #1162 from sirmonin/optional-mjml
Browse files Browse the repository at this point in the history
Move mjml to optional dependencies
  • Loading branch information
juandav authored Apr 25, 2024
2 parents 33fa7fa + dbdc9f0 commit aa49b7f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ npm install --save handlebars
npm install --save pug
#or
npm install --save ejs
#or
npm install --save mjml
```

#### with yarn
Expand All @@ -43,6 +45,8 @@ yarn add handlebars
yarn add pug
#or
yarn add ejs
#or
yarn add mjml
```

### Documentation
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@
"dependencies": {
"@css-inline/css-inline": "0.13.0",
"glob": "10.3.10",
"mjml": "4.15.3",
"preview-email": "3.0.19"
},
"optionalDependencies": {
"@types/ejs": "^3.1.5",
"@types/pug": "^2.0.10",
"ejs": "^3.1.9",
"handlebars": "^4.7.8",
"mjml": "^4.15.3",
"pug": "^3.0.2"
},
"devDependencies": {
Expand Down Expand Up @@ -102,6 +102,7 @@
"@types/pug": ">=2.0.6",
"ejs": ">=3.1.2",
"handlebars": ">=4.7.6",
"mjml": ">=4.15.3",
"nodemailer": ">=6.4.6",
"pug": ">=3.0.1"
}
Expand Down
7 changes: 4 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aa49b7f

Please sign in to comment.