adding dotenv @ server

This commit is contained in:
Dooho Yi 2022-01-12 21:50:28 +09:00
parent 7ddc74428f
commit 731be32c04
2 changed files with 16 additions and 8 deletions

13
package-lock.json generated
View file

@ -131,9 +131,9 @@
"integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA="
}, },
"dotenv": { "dotenv": {
"version": "8.6.0", "version": "11.0.0",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.6.0.tgz", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-11.0.0.tgz",
"integrity": "sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==" "integrity": "sha512-Fp/b504Y5W+e+FpCxTFMUZ7ZEQkQYF0rx+KZtmwixJxGQbLHrhCwo3FjZgNC8vIfrSi29PABNbMoCGD9YoiXbQ=="
}, },
"ee-first": { "ee-first": {
"version": "1.1.1", "version": "1.1.1",
@ -496,6 +496,13 @@
"node-fetch": "^2.6.0", "node-fetch": "^2.6.0",
"tslog": "^2.6.2", "tslog": "^2.6.2",
"vcap_services": "^0.7.1" "vcap_services": "^0.7.1"
},
"dependencies": {
"dotenv": {
"version": "8.6.0",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.6.0.tgz",
"integrity": "sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g=="
}
} }
}, },
"node-fetch": { "node-fetch": {

View file

@ -7,16 +7,17 @@
"start": "node server.js" "start": "node server.js"
}, },
"dependencies": { "dependencies": {
"dotenv": "^11.0.0",
"fastify": "^3.25.3", "fastify": "^3.25.3",
"fastify-formbody": "^5.2.0", "fastify-formbody": "^5.2.0",
"fastify-multipart": "^5.2.1",
"fastify-static": "^4.5.0", "fastify-static": "^4.5.0",
"handlebars": "^4.7.7", "handlebars": "^4.7.7",
"point-of-view": "^5.0.0",
"nextcloud-node-client": "^1.8.2",
"fastify-multipart": "^5.2.1",
"uuid": "^8.3.2",
"moment": "^2.29.1", "moment": "^2.29.1",
"moment-timezone": "^0.5.34" "moment-timezone": "^0.5.34",
"nextcloud-node-client": "^1.8.2",
"point-of-view": "^5.0.0",
"uuid": "^8.3.2"
}, },
"engines": { "engines": {
"node": "12.x" "node": "12.x"