-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
132 lines (132 loc) · 4.47 KB
/
package.json
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "marilena",
"version": "2.3.0",
"type": "module",
"description": "a tool to build emails with cool stuff like mjml and different template engine like handlebars or eta.js",
"scripts": {
"build": "rimraf dist && tsc -p tsconfig.json && npm run build:client && npm run build:server && npm run copy-files",
"build:client": "vite build --outDir dist/client --ssrManifest",
"build:server": "vite build --ssr src/client/entry-server.tsx --outDir dist/server",
"copy-files": "copyfiles \"public/**/*\" dist && copyfiles -u 2 \"dist/client/**/*\" dist && copyfiles -u 2 \"dist/client/assets/**/*\" dist/public",
"start": "npm run build && cross-env NODE_ENV=production node ./dist/server --project playground/marilena.config.mjs",
"start:example": "npm run build && cross-env NODE_ENV=production node ./dist/server --project example/marilena.config.mjs",
"dev": "tsx server.ts --project playground/marilena.config.mjs",
"build-emails": "clear && npm run build && node ./dist/src/lib/buildAllEmails.js --project playground/marilena.config.mjs",
"test": "npm run test:unit && npm run test:server && npm run test:example",
"test:unit": "vitest run",
"test:server": "cross-env [email protected] start-server-and-test start :8080 cy:run-server",
"test:example": "node dist/src/create-example.js && start-server-and-test start:example :8080 cy:run-example",
"cy:open": "cypress open",
"cy:run-server": "cypress run --spec cypress/e2e/server.cy.ts",
"cy:run-example": "cypress run --spec cypress/e2e/create-example.cy.ts",
"prepare": "husky install",
"release": "dotenv release-it",
"generate-types": "tsc --declaration --declarationDir ./dist --outDir temp ./src/types.ts && rm -rf temp",
"prettier:check": "npx prettier --check .",
"prettier:fix": "npx prettier --write ."
},
"types": "dist/types.d.ts",
"bin": {
"marilena": "bin/marilena.js"
},
"repository": {
"type": "github",
"url": "https://github.com/multivoltage/marilena"
},
"files": [
"bin",
"dist",
"README.md",
"!**/*.tsbuildinfo"
],
"keywords": [
"mjml",
"emails",
"template engine",
"email tool",
"email development"
],
"author": "Diego Tonini <[email protected]>",
"license": "ISC",
"dependencies": {
"@aws-sdk/client-ses": "^3.388.0",
"body-parser": "^1.20.2",
"cheerio": "^1.0.0-rc.12",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"dotenv": "^16.3.1",
"eta": "^3.2.0",
"express": "^4.18.2",
"js-yaml": "^4.1.0",
"minimist": "^1.2.8",
"mjml": "^4.14.1",
"node-color-log": "^11.0.0",
"node-html-parser": "^6.1.5",
"node-watch": "^0.7.3",
"nodemailer": "^6.9.8",
"open": "^10.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-modal": "^3.16.1",
"react-query": "^3.39.3",
"react-router-dom": "^6.20.1",
"sass": "^1.69.6",
"serve-static": "^1.15.0",
"string-strip-html": "^13.4.3",
"tsx": "^4.6.2",
"vite": "^4.5.1",
"ws": "^8.14.2"
},
"devDependencies": {
"@types/compression": "^1.7.5",
"@types/express": "^4.17.21",
"@types/js-yaml": "^4.0.5",
"@types/minimist": "^1.2.2",
"@types/mjml": "^4.7.0",
"@types/node": "^18.15.0",
"@types/nodemailer": "^6.4.14",
"@types/react": "^18.2.42",
"@types/react-dom": "^18.2.17",
"@types/react-modal": "^3.16.3",
"@types/react-router-dom": "^5.3.3",
"@types/serve-static": "^1.15.5",
"@types/ws": "^8.5.10",
"@vitejs/plugin-react": "^4.2.1",
"copyfiles": "^2.4.1",
"cypress": "^12.16.0",
"dotenv-cli": "^7.2.1",
"handlebars": "^4.7.7",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"release-it": "^17.0.1",
"rimraf": "^5.0.1",
"start-server-and-test": "^2.0.0",
"typescript": "^5.2.2",
"vitest": "^1.0.4"
},
"engines": {
"node": ">=18"
},
"lint-staged": {
"*.{ts,js,css,md}": "prettier --write"
},
"release-it": {
"git": {
"requireBranch": "main",
"commitMessage": "chore: release v${version}",
"changelog": "npx auto-changelog --stdout --commit-limit false --unreleased --template https://raw.githubusercontent.com/release-it/release-it/main/templates/changelog-compact.hbs"
},
"npm": {
"publish": true
},
"hooks": {
"before:init": [
"git pull",
"npm run build",
"npm run test"
],
"after:bump": "npx auto-changelog -p"
}
}
}