-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
31 lines (31 loc) · 1010 Bytes
/
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
{
"name": "serverless-contact-form",
"version": "1.0.0",
"description": "",
"main": "dist/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc && npm run compile:server",
"minify:server": "terser dist/index.js -o dist/index.js -c -m --keep-fnames",
"start:local": "node dist/index.local.js",
"compile:server": "webpack --config webpack.server.config.js --progress --colors",
"copy": "cp .env dist/.env && cp serverless.yml dist/serverless.yml",
"deploy": "npm run copy && npm run build && npm run minify:server && cd dist && serverless deploy && cd .."
},
"author": "Neo",
"license": "ISC",
"dependencies": {
"dotenv": "^8.2.0",
"express": "^4.17.1",
"nodemailer": "^6.4.16"
},
"devDependencies": {
"@types/express": "^4.17.1",
"@types/nodemailer": "^6.2.2",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"ts-loader": "^5.2.0",
"ts-node": "~7.0.0",
"typescript": "^3.6.3"
}
}