Move dependencies from dev to production

This commit is contained in:
Leandro Facchinetti 2020-07-09 15:08:52 +01:00
parent fa6092c89f
commit 9b65d95501
2 changed files with 14 additions and 30 deletions

28
package-lock.json generated
View File

@ -1000,7 +1000,6 @@
"version": "1.19.0", "version": "1.19.0",
"resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.0.tgz", "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.0.tgz",
"integrity": "sha512-W98JrE0j2K78swW4ukqMleo8R7h/pFETjM2DQ90MF6XK2i4LO4W3gQ71Lt4w3bfm2EvVSyWHplECvB5sK22yFQ==", "integrity": "sha512-W98JrE0j2K78swW4ukqMleo8R7h/pFETjM2DQ90MF6XK2i4LO4W3gQ71Lt4w3bfm2EvVSyWHplECvB5sK22yFQ==",
"dev": true,
"requires": { "requires": {
"@types/connect": "*", "@types/connect": "*",
"@types/node": "*" "@types/node": "*"
@ -1016,7 +1015,6 @@
"version": "3.4.33", "version": "3.4.33",
"resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.33.tgz", "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.33.tgz",
"integrity": "sha512-2+FrkXY4zllzTNfJth7jOqEHC+enpLeGslEhpnTAkg21GkRrWV4SsAtqchtT4YS9/nODBU2/ZfsBY2X4J/dX7A==", "integrity": "sha512-2+FrkXY4zllzTNfJth7jOqEHC+enpLeGslEhpnTAkg21GkRrWV4SsAtqchtT4YS9/nODBU2/ZfsBY2X4J/dX7A==",
"dev": true,
"requires": { "requires": {
"@types/node": "*" "@types/node": "*"
} }
@ -1031,7 +1029,6 @@
"version": "4.17.3", "version": "4.17.3",
"resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.3.tgz", "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.3.tgz",
"integrity": "sha512-I8cGRJj3pyOLs/HndoP+25vOqhqWkAZsWMEmq1qXy/b/M3ppufecUwaK2/TVDVxcV61/iSdhykUjQQ2DLSrTdg==", "integrity": "sha512-I8cGRJj3pyOLs/HndoP+25vOqhqWkAZsWMEmq1qXy/b/M3ppufecUwaK2/TVDVxcV61/iSdhykUjQQ2DLSrTdg==",
"dev": true,
"requires": { "requires": {
"@types/body-parser": "*", "@types/body-parser": "*",
"@types/express-serve-static-core": "*", "@types/express-serve-static-core": "*",
@ -1042,7 +1039,6 @@
"version": "4.17.2", "version": "4.17.2",
"resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.2.tgz", "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.2.tgz",
"integrity": "sha512-El9yMpctM6tORDAiBwZVLMcxoTMcqqRO9dVyYcn7ycLWbvR8klrDn8CAOwRfZujZtWD7yS/mshTdz43jMOejbg==", "integrity": "sha512-El9yMpctM6tORDAiBwZVLMcxoTMcqqRO9dVyYcn7ycLWbvR8klrDn8CAOwRfZujZtWD7yS/mshTdz43jMOejbg==",
"dev": true,
"requires": { "requires": {
"@types/node": "*", "@types/node": "*",
"@types/range-parser": "*" "@types/range-parser": "*"
@ -1087,7 +1083,6 @@
"version": "16.2.1", "version": "16.2.1",
"resolved": "https://registry.npmjs.org/@types/jsdom/-/jsdom-16.2.1.tgz", "resolved": "https://registry.npmjs.org/@types/jsdom/-/jsdom-16.2.1.tgz",
"integrity": "sha512-KCEq427OsWfpX7FRyEMb3i2XIuz8Pt3XPls4nmX0iMTDJWsHD4Kzoa3v4Uv9c9IDf11ALeHUtPcyAjTz/HV03Q==", "integrity": "sha512-KCEq427OsWfpX7FRyEMb3i2XIuz8Pt3XPls4nmX0iMTDJWsHD4Kzoa3v4Uv9c9IDf11ALeHUtPcyAjTz/HV03Q==",
"dev": true,
"requires": { "requires": {
"@types/node": "*", "@types/node": "*",
"@types/parse5": "*", "@types/parse5": "*",
@ -1098,7 +1093,6 @@
"version": "2.7.2", "version": "2.7.2",
"resolved": "https://registry.npmjs.org/@types/mailparser/-/mailparser-2.7.2.tgz", "resolved": "https://registry.npmjs.org/@types/mailparser/-/mailparser-2.7.2.tgz",
"integrity": "sha512-hGXNTyqKy5o6pLxeXKKNPVxDyML0kJcHgjVg/6STrtmVUwKXDYGT40HR/eGhXXZpiPAg9/8pVPCo9c5+IJ8s+A==", "integrity": "sha512-hGXNTyqKy5o6pLxeXKKNPVxDyML0kJcHgjVg/6STrtmVUwKXDYGT40HR/eGhXXZpiPAg9/8pVPCo9c5+IJ8s+A==",
"dev": true,
"requires": { "requires": {
"@types/node": "*" "@types/node": "*"
} }
@ -1106,8 +1100,7 @@
"@types/mime": { "@types/mime": {
"version": "2.0.1", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/@types/mime/-/mime-2.0.1.tgz", "resolved": "https://registry.npmjs.org/@types/mime/-/mime-2.0.1.tgz",
"integrity": "sha512-FwI9gX75FgVBJ7ywgnq/P7tw+/o1GUbtP0KzbtusLigAOgIgNISRK0ZPl4qertvXSIE8YbsVJueQ90cDt9YYyw==", "integrity": "sha512-FwI9gX75FgVBJ7ywgnq/P7tw+/o1GUbtP0KzbtusLigAOgIgNISRK0ZPl4qertvXSIE8YbsVJueQ90cDt9YYyw=="
"dev": true
}, },
"@types/minimist": { "@types/minimist": {
"version": "1.2.0", "version": "1.2.0",
@ -1118,14 +1111,12 @@
"@types/node": { "@types/node": {
"version": "13.9.8", "version": "13.9.8",
"resolved": "https://registry.npmjs.org/@types/node/-/node-13.9.8.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-13.9.8.tgz",
"integrity": "sha512-1WgO8hsyHynlx7nhP1kr0OFzsgKz5XDQL+Lfc3b1Q3qIln/n8cKD4m09NJ0+P1Rq7Zgnc7N0+SsMnoD1rEb0kA==", "integrity": "sha512-1WgO8hsyHynlx7nhP1kr0OFzsgKz5XDQL+Lfc3b1Q3qIln/n8cKD4m09NJ0+P1Rq7Zgnc7N0+SsMnoD1rEb0kA=="
"dev": true
}, },
"@types/nodemailer": { "@types/nodemailer": {
"version": "6.4.0", "version": "6.4.0",
"resolved": "https://registry.npmjs.org/@types/nodemailer/-/nodemailer-6.4.0.tgz", "resolved": "https://registry.npmjs.org/@types/nodemailer/-/nodemailer-6.4.0.tgz",
"integrity": "sha512-KY7bFWB0MahRZvVW4CuW83qcCDny59pJJ0MQ5ifvfcjNwPlIT0vW4uARO4u1gtkYnWdhSvURegecY/tzcukJcA==", "integrity": "sha512-KY7bFWB0MahRZvVW4CuW83qcCDny59pJJ0MQ5ifvfcjNwPlIT0vW4uARO4u1gtkYnWdhSvURegecY/tzcukJcA==",
"dev": true,
"requires": { "requires": {
"@types/node": "*" "@types/node": "*"
} }
@ -1139,8 +1130,7 @@
"@types/parse5": { "@types/parse5": {
"version": "5.0.2", "version": "5.0.2",
"resolved": "https://registry.npmjs.org/@types/parse5/-/parse5-5.0.2.tgz", "resolved": "https://registry.npmjs.org/@types/parse5/-/parse5-5.0.2.tgz",
"integrity": "sha512-BOl+6KDs4ItndUWUFchy3aEqGdHhw0BC4Uu+qoDonN/f0rbUnJbm71Ulj8Tt9jLFRaAxPLKvdS1bBLfx1qXR9g==", "integrity": "sha512-BOl+6KDs4ItndUWUFchy3aEqGdHhw0BC4Uu+qoDonN/f0rbUnJbm71Ulj8Tt9jLFRaAxPLKvdS1bBLfx1qXR9g=="
"dev": true
}, },
"@types/prettier": { "@types/prettier": {
"version": "1.19.1", "version": "1.19.1",
@ -1157,14 +1147,12 @@
"@types/range-parser": { "@types/range-parser": {
"version": "1.2.3", "version": "1.2.3",
"resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.3.tgz", "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.3.tgz",
"integrity": "sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA==", "integrity": "sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA=="
"dev": true
}, },
"@types/serve-static": { "@types/serve-static": {
"version": "1.13.3", "version": "1.13.3",
"resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.3.tgz", "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.3.tgz",
"integrity": "sha512-oprSwp094zOglVrXdlo/4bAHtKTAxX6VT8FOZlBKrmyLbNvE1zxZyJ6yikMVtHIvwP45+ZQGJn+FdXGKTozq0g==", "integrity": "sha512-oprSwp094zOglVrXdlo/4bAHtKTAxX6VT8FOZlBKrmyLbNvE1zxZyJ6yikMVtHIvwP45+ZQGJn+FdXGKTozq0g==",
"dev": true,
"requires": { "requires": {
"@types/express-serve-static-core": "*", "@types/express-serve-static-core": "*",
"@types/mime": "*" "@types/mime": "*"
@ -1174,7 +1162,6 @@
"version": "3.5.4", "version": "3.5.4",
"resolved": "https://registry.npmjs.org/@types/smtp-server/-/smtp-server-3.5.4.tgz", "resolved": "https://registry.npmjs.org/@types/smtp-server/-/smtp-server-3.5.4.tgz",
"integrity": "sha512-HxPQdRNTTUZzTcwE5LwWL233eHFIfM9rS5TPufuBwQ2a6FdufUvnkBfb08VpMaodlFbls1o7s5VZG7ghxJKz3Q==", "integrity": "sha512-HxPQdRNTTUZzTcwE5LwWL233eHFIfM9rS5TPufuBwQ2a6FdufUvnkBfb08VpMaodlFbls1o7s5VZG7ghxJKz3Q==",
"dev": true,
"requires": { "requires": {
"@types/node": "*", "@types/node": "*",
"@types/nodemailer": "*" "@types/nodemailer": "*"
@ -1189,14 +1176,12 @@
"@types/tough-cookie": { "@types/tough-cookie": {
"version": "4.0.0", "version": "4.0.0",
"resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.0.tgz",
"integrity": "sha512-I99sngh224D0M7XgW1s120zxCt3VYQ3IQsuw3P3jbq5GG4yc79+ZjyKznyOGIQrflfylLgcfekeZW/vk0yng6A==", "integrity": "sha512-I99sngh224D0M7XgW1s120zxCt3VYQ3IQsuw3P3jbq5GG4yc79+ZjyKznyOGIQrflfylLgcfekeZW/vk0yng6A=="
"dev": true
}, },
"@types/write-file-atomic": { "@types/write-file-atomic": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/@types/write-file-atomic/-/write-file-atomic-3.0.0.tgz", "resolved": "https://registry.npmjs.org/@types/write-file-atomic/-/write-file-atomic-3.0.0.tgz",
"integrity": "sha512-XrvNv7CBEveBoWkGU4ZxuyeL7iaYVr609VjlNAe+VaS8N9stTvGwp5IZgFP+QDbiRQV/R7MmipPsgAhlf5LZzQ==", "integrity": "sha512-XrvNv7CBEveBoWkGU4ZxuyeL7iaYVr609VjlNAe+VaS8N9stTvGwp5IZgFP+QDbiRQV/R7MmipPsgAhlf5LZzQ==",
"dev": true,
"requires": { "requires": {
"@types/node": "*" "@types/node": "*"
} }
@ -8060,8 +8045,7 @@
"typescript": { "typescript": {
"version": "3.8.3", "version": "3.8.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.8.3.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.8.3.tgz",
"integrity": "sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==", "integrity": "sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w=="
"dev": true
}, },
"uc.micro": { "uc.micro": {
"version": "1.0.6", "version": "1.0.6",

View File

@ -4,6 +4,12 @@
"test": "prettier --check '**/*.{ts,css}' && jest" "test": "prettier --check '**/*.{ts,css}' && jest"
}, },
"dependencies": { "dependencies": {
"@types/express": "^4.17.3",
"@types/jsdom": "^16.2.1",
"@types/mailparser": "^2.7.2",
"@types/node": "^13.9.8",
"@types/smtp-server": "^3.5.4",
"@types/write-file-atomic": "^3.0.0",
"caddy-npm": "^2.0.0-beta.20", "caddy-npm": "^2.0.0-beta.20",
"crypto-random-string": "^3.2.0", "crypto-random-string": "^3.2.0",
"entities": "^2.0.0", "entities": "^2.0.0",
@ -14,18 +20,13 @@
"sanitize-xml-string": "^1.1.0", "sanitize-xml-string": "^1.1.0",
"smtp-server": "^3.6.0", "smtp-server": "^3.6.0",
"ts-node": "^8.10.1", "ts-node": "^8.10.1",
"typescript": "^3.8.3",
"write-file-atomic": "^3.0.3" "write-file-atomic": "^3.0.3"
}, },
"devDependencies": { "devDependencies": {
"@types/express": "^4.17.3",
"@types/jest": "^25.1.4", "@types/jest": "^25.1.4",
"@types/jsdom": "^16.2.1",
"@types/mailparser": "^2.7.2",
"@types/node": "^13.9.8",
"@types/nodemailer": "^6.4.0", "@types/nodemailer": "^6.4.0",
"@types/qs": "^6.9.1", "@types/qs": "^6.9.1",
"@types/smtp-server": "^3.5.4",
"@types/write-file-atomic": "^3.0.0",
"axios": "^0.19.2", "axios": "^0.19.2",
"jest": "^25.2.4", "jest": "^25.2.4",
"nodemailer": "^6.4.6", "nodemailer": "^6.4.6",
@ -33,8 +34,7 @@
"open-cli": "^6.0.1", "open-cli": "^6.0.1",
"prettier": "^2.0.2", "prettier": "^2.0.2",
"qs": "^6.9.3", "qs": "^6.9.3",
"ts-jest": "^25.5.0", "ts-jest": "^25.5.0"
"typescript": "^3.8.3"
}, },
"jest": { "jest": {
"preset": "ts-jest", "preset": "ts-jest",