Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix emails 2 #63

Merged
merged 3 commits into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
.env.production
coverage
node_modules

built
emails/built
2 changes: 0 additions & 2 deletions built/.gitignore

This file was deleted.

2 changes: 0 additions & 2 deletions emails/built/.gitignore

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
"type": "module",
"main": "src/index.ts",
"scripts": {
"clean": "rm -rf built && rm -rf emails/built && rm -rf public/app.css",
"build": "npm run build-ts && npm run build-tailwind && npm run build-emails",
"start": "node built/index.js",
"build-ts": "tsc",
"start-ts": "ts-node-esm src/index.ts",
"build-tailwind": "npx tailwindcss -i ./css/app.css -o ./public/app.css --minify",
"build-emails": "mjml --config.minify=true ./emails/*.mjml -o ./emails/built/",
"build-emails": "mkdir -p ./emails/built && mjml --config.minify=true ./emails/*.mjml -o ./emails/built/",
"lint": "eslint . --ext .ts",
"fix": "eslint . --ext .ts --fix",
"test": "jest",
Expand Down
Loading