diff --git a/package.json b/package.json index f3f87d20c..da3473cf3 100644 --- a/package.json +++ b/package.json @@ -22,19 +22,19 @@ "spectaql": "^1.5.6" }, "scripts": { - "start": "gatsby build && gatsby serve", - "start:prefix": "gatsby build --prefix-paths && gatsby serve --prefix-paths", - "dev": "gatsby develop", - "dev:https": "gatsby develop --https --host localhost.corp.adobe.com --port 9000", - "build": "gatsby build", - "serve": "gatsby serve", + "start": "NODE_OPTIONS='--max-old-space-size=8192' gatsby build && gatsby serve", + "start:prefix": "NODE_OPTIONS='--max-old-space-size=8192' gatsby build --prefix-paths && gatsby serve --prefix-paths", + "dev": "NODE_OPTIONS='--max-old-space-size=8192' gatsby develop", + "dev:https": "NODE_OPTIONS='--max-old-space-size=8192' gatsby develop --https --host localhost.corp.adobe.com --port 9000", + "build": "NODE_OPTIONS='--max-old-space-size=8192' gatsby build", + "serve": "NODE_OPTIONS='--max-old-space-size=8192' gatsby serve", "clean": "gatsby clean", "test": "remark src/pages --quiet --frail", "build:spectaql": "spectaql --target-dir static/graphql-api/ --target-file index.html spectaql/config.yml", "build:spectaql:beta": "spectaql --target-dir static/graphql-api/beta/ --target-file index.html spectaql/config_beta.yml", "dev:spectaql": "spectaql --development-mode-live spectaql/config.yml", "dev:spectaql:beta": "spectaql --development-mode-live spectaql/config_beta.yml", - "lint": "docker run --rm -e RUN_LOCAL=true --env-file '.github/super-linter.env' -v \"$PWD\":/tmp/lint github/super-linter:slim-v4.10.1" + "lint": "docker run --rm -e RUN_LOCAL=true --env-file '.github/super-linter.env' -v \"$PWD\":/tmp/lint github/super-linter:slim-v5" }, "packageManager": "yarn@3.2.4" }