increase node size.

This commit is contained in:
Nawaz Dhandala
2021-07-07 16:48:42 +01:00
parent 952ed2a998
commit 46f2caad48
15 changed files with 15 additions and 15 deletions

View File

@@ -44,7 +44,7 @@
"build-sw": "node ./src/sw-build.js",
"test": "jest --forceExit --runInBand ./src/test/*.test.js",
"enterprise-test": "jest --forceExit --runInBand ./src/test/*.test.enterprise.js",
"start": "node index.js",
"start": "node --max-old-space-size=4096 index.js",
"audit": "npm audit --audit-level=low",
"light-house": "node lighthouse.js --web",
"light-house-mobile": "node lighthouse.js --mobile",

View File

@@ -45,7 +45,7 @@
"build": "react-scripts build",
"test": "jest --forceExit --runInBand ./src/test/*.test.js",
"enterprise-test": "jest --forceExit --runInBand ./src/test/*.test.enterprise.js",
"start": "node index.js",
"start": "node --max-old-space-size=4096 index.js",
"audit": "npm audit --audit-level=low",
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
"dep-check": "depcheck ./ --skip-missing=true --ignores='babel-*,loadable-components'"

View File

@@ -25,7 +25,7 @@
},
"scripts": {
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
"start": "node server.js",
"start": "node --max-old-space-size=4096 server.js",
"dev": "nodemon server.js",
"test": "cross-env NODE_ENV=development mocha --exit test/index.js",
"audit": "npm audit --audit-level=low",

View File

@@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node --max-http-header-size=80000 index.js",
"start": "node --max-old-space-size=4096 --max-http-header-size=80000 index.js",
"dev": "nodemon --inspect=0.0.0.0 --max-http-header-size=80000 index.js"
},
"author": "David Adewole",

View File

@@ -65,7 +65,7 @@
"winston-slack-webhook-transport": "^2.0.1"
},
"scripts": {
"start": "node server.js",
"start": "node --max-old-space-size=4096 server.js",
"dev": "cross-env NODE_ENV=development nodemon --inspect=0.0.0.0 server.js --ignore greenlock.d/* -- --staging",
"test": "cross-env NODE_ENV=development mocha --exit test/index.js",
"enterprise-test": "cross-env NODE_ENV=development mocha --exit test/enterprise.js",

View File

@@ -91,7 +91,7 @@
"build-sw": "node ./src/sw-build.js",
"test": "jest --forceExit --testSequencer ./src/test/puppeteer/CustomSequencer.js --runInBand ./src/test/puppeteer/*.test.js",
"enterprise-test": "jest --forceExit --runInBand ./src/test/puppeteer/*.test.enterprise.js",
"start": "node index.js",
"start": "node --max-old-space-size=4096 index.js",
"dep-check": "depcheck ./ --skip-missing=true --ignores='eslint,babel-*,loadable-components'",
"audit": "npm audit --audit-level=low",
"fix-lint": "eslint . --fix",

View File

@@ -5,7 +5,7 @@
"main": "server.js",
"scripts": {
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
"start": "node server.js",
"start": "node --max-old-space-size=4096 server.js",
"dev": "nodemon --inspect=0.0.0.0 server.js",
"test": "cross-env NODE_ENV=development mocha --exit test/index.js",
"audit": "npm audit --audit-level=low",

View File

@@ -3,7 +3,7 @@
"version": "3.0.0",
"scripts": {
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
"start": "node server.js",
"start": "node --max-old-space-size=4096 server.js",
"dev": "nodemon --inspect=0.0.0.0 server.js",
"test": "echo 'no tests'",
"lighthouse-test": "jest --forceExit lighthouse-tests/test/index.test.js --env=node",

View File

@@ -5,7 +5,7 @@
"main": "server.js",
"scripts": {
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
"start": "node server.js",
"start": "node --max-old-space-size=4096 server.js",
"dev": "cross-env NODE_ENV=development nodemon --inspect=0.0.0.0 server.js",
"audit": "npm audit --audit-level=low",
"test": "jest --forceExit --runInBand test",

View File

@@ -6,7 +6,7 @@
"scripts": {
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
"test": "jest --forceExit tests",
"start": "node server.js",
"start": "node --max-old-space-size=4096 server.js",
"dev": "nodemon --inspect=0.0.0.0 server.js",
"audit": "npm audit --audit-level=low",
"dep-check": "depcheck ./ --skip-missing=true --ignores='babel-*,browserslist,ejs,path'"

View File

@@ -19,7 +19,7 @@
},
"scripts": {
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
"start": "node server.js",
"start": "node --max-old-space-size=4096 server.js",
"dev": "nodemon --inspect=0.0.0.0 server.js",
"test": "mocha --exit test/index.js",
"audit": "npm audit --audit-level=low",

View File

@@ -4,7 +4,7 @@
"description": "Lighthouse Runner for Url Monitor",
"main": "index.js",
"scripts": {
"start": "node --max-http-header-size=80000 index.js",
"start": "node --max-old-space-size=4096 --max-http-header-size=80000 index.js",
"dev": "nodemon --inspect=0.0.0.0 --max-http-header-size=80000 index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},

View File

@@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
"start": "node --max-http-header-size=80000 index.js",
"start": "node --max-old-space-size=4096 --max-http-header-size=80000 index.js",
"dev": "nodemon --inspect=0.0.0.0 --max-http-header-size=80000 index.js",
"test": "echo 'no tests'",
"audit": "npm audit --audit-level=low",

View File

@@ -4,7 +4,7 @@
"description": "automation script runner",
"main": "index.js",
"scripts": {
"start": "node index.js",
"start": "node --max-old-space-size=4096 index.js",
"dev": "nodemon --inspect=0.0.0.0 index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"audit": "npm audit --audit-level=low"

View File

@@ -46,7 +46,7 @@
},
"scripts": {
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
"start": "node index.js",
"start": "node --max-old-space-size=4096 index.js",
"build": "react-scripts build",
"postbuild": "shx cp robots.txt build",
"dev": "export PORT=3006 && react-scripts start",