mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
fix package.json files
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "ts-node index.ts",
|
||||
"start": "ts-node Index.ts",
|
||||
"compile": "tsc",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 index.ts",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 Index.ts",
|
||||
"audit": "npm audit --audit-level=low",
|
||||
"dep-check": "depcheck ./ --skip-missing=true",
|
||||
"test": "jest"
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"start": "ts-node index.ts",
|
||||
"start": "ts-node Index.ts",
|
||||
"compile": "tsc",
|
||||
"dev": "ts-node-dev server.js",
|
||||
"test": "mocha --exit test/index.ts",
|
||||
|
||||
@@ -61,12 +61,11 @@ const setDefaultHeaders: RequestHandler = (
|
||||
app.use(cors());
|
||||
app.use(setDefaultHeaders);
|
||||
|
||||
app.use();
|
||||
|
||||
/*
|
||||
* Add limit of 10 MB to avoid "Request Entity too large error"
|
||||
* https://stackoverflow.com/questions/19917401/error-request-entity-too-large
|
||||
*/
|
||||
|
||||
app.use(ExpressJson({ limit: '10mb' }));
|
||||
app.use(ExpressUrlEncoded({ limit: '10mb' }));
|
||||
|
||||
|
||||
@@ -72,9 +72,9 @@
|
||||
"winston-slack-webhook-transport": "^2.1.0"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "ts-node index.ts",
|
||||
"start": "ts-node Index.ts",
|
||||
"compile": "tsc",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 index.ts --ignore greenlock.d/* -- --staging",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 Index.ts --ignore greenlock.d/* -- --staging",
|
||||
"test": "nyc --reporter=lcov --reporter=text mocha --exit test/index.ts",
|
||||
"enterprise-test": "IS_TESTING=true nyc --reporter=lcov --reporter=text mocha --exit test/enterprise.js",
|
||||
"audit": "npm audit --audit-level=low",
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
"description": "A project to handle all probe related processing",
|
||||
"main": "index.ts",
|
||||
"scripts": {
|
||||
"start": "ts-node index.ts",
|
||||
"start": "ts-node Index.ts",
|
||||
"compile": "tsc",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 index.ts",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 Index.ts",
|
||||
"audit": "npm audit --audit-level=low",
|
||||
"dep-check": "depcheck ./ --skip-missing=true"
|
||||
},
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"start": "ts-node index.ts",
|
||||
"start": "ts-node Index.ts",
|
||||
"compile": "tsc",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 index.ts",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 Index.ts",
|
||||
"test": "mocha --exit test/index.ts",
|
||||
"audit": "npm audit --audit-level=low",
|
||||
"dep-check": "depcheck ./ --skip-missing=true --ignores='ejs'"
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
"version": "3.0.0",
|
||||
"scripts": {
|
||||
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"start": "ts-node index.ts",
|
||||
"start": "ts-node Index.ts",
|
||||
"compile": "tsc",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 index.ts",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 Index.ts",
|
||||
"test": "jest",
|
||||
"lighthouse-test": "jest --forceExit lighthouse-tests/test/index.test.js --env=node",
|
||||
"lighthouse": "start-server-and-test http://localhost:1444",
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"start": "ts-node index.ts",
|
||||
"start": "ts-node Index.ts",
|
||||
"compile": "tsc",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 index.ts",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 Index.ts",
|
||||
"audit": "npm audit --audit-level=low",
|
||||
"test": "jest --forceExit --runInBand test",
|
||||
"dep-check": "depcheck ./ --skip-missing=true --ignores='ejs'"
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "ts-node index.ts",
|
||||
"start": "ts-node Index.ts",
|
||||
"compile": "tsc",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 index.ts",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 Index.ts",
|
||||
"audit": "npm audit --audit-level=low",
|
||||
"dep-check": "depcheck ./ --skip-missing=true",
|
||||
"test": "jest"
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
},
|
||||
"scripts": {
|
||||
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"start": "ts-node index.ts",
|
||||
"start": "ts-node Index.ts",
|
||||
"compile": "tsc",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 index.ts",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 Index.ts",
|
||||
"test": "mocha --exit test/index.ts",
|
||||
"audit": "npm audit --audit-level=low",
|
||||
"dep-check": "depcheck ./ --skip-missing=true --ignores='ejs'"
|
||||
|
||||
@@ -25,6 +25,7 @@ import ProjectSmtpConfig from 'Common/Models/ProjectSmtpConfig';
|
||||
import EmailLog from 'Common/Models/EmailLog';
|
||||
import Project from 'Common/Models/Project';
|
||||
|
||||
|
||||
export default class MailService {
|
||||
private static async getGlobalSmtpSettings(): Promise<MailServer> {
|
||||
const document: GlobalConfig | null =
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "ts-node index.ts",
|
||||
"start": "ts-node Index.ts",
|
||||
"compile": "tsc",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 index.ts",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 Index.ts",
|
||||
"test": "echo 'no tests'"
|
||||
},
|
||||
"author": "",
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"main": "index.ts",
|
||||
"scripts": {
|
||||
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"start": "ts-node index.ts",
|
||||
"start": "ts-node Index.ts",
|
||||
"compile": "tsc",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 --max-http-header-size=80000 index.ts",
|
||||
"test": "jest",
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
"description": "A project to handle all resource fetching or update for probes",
|
||||
"main": "index.ts",
|
||||
"scripts": {
|
||||
"start": "ts-node index.ts",
|
||||
"start": "ts-node Index.ts",
|
||||
"compile": "tsc",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 index.ts",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 Index.ts",
|
||||
"audit": "npm audit --audit-level=low",
|
||||
"dep-check": "depcheck ./ --skip-missing=true",
|
||||
"test": "jest"
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
"description": "A project to handle all realtime processing for OneUptime",
|
||||
"main": "index.ts",
|
||||
"scripts": {
|
||||
"start": "ts-node index.ts",
|
||||
"start": "ts-node Index.ts",
|
||||
"compile": "tsc",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 index.ts",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 Index.ts",
|
||||
"audit": "npm audit --audit-level=low",
|
||||
"dep-check": "depcheck ./ --skip-missing=true"
|
||||
},
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
"description": "automation script runner",
|
||||
"main": "index.ts",
|
||||
"scripts": {
|
||||
"start": "ts-node index.ts",
|
||||
"start": "ts-node Index.ts",
|
||||
"compile": "tsc",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 index.ts",
|
||||
"dev": "ts-node-dev --inspect=0.0.0.0 Index.ts",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"audit": "npm audit --audit-level=low"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user