From 4c48689bf159f22f02aff91b6667b7ccfef78337 Mon Sep 17 00:00:00 2001 From: sergiollende Date: Sun, 28 Apr 2024 15:05:43 +0200 Subject: [PATCH] Dependencia instalada --- webapp/package-lock.json | 28 ++++++++++++++++++++++++++++ webapp/package.json | 3 ++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/webapp/package-lock.json b/webapp/package-lock.json index 0f5e7f7..f4bd56f 100644 --- a/webapp/package-lock.json +++ b/webapp/package-lock.json @@ -39,6 +39,7 @@ }, "devDependencies": { "axios-mock-adapter": "^1.22.0", + "cross-env": "^7.0.3", "expect-puppeteer": "^9.0.2", "jest": "^29.3.1", "jest-cucumber": "^3.0.1", @@ -10328,6 +10329,24 @@ "node": ">=8" } }, + "node_modules/cross-env": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz", + "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.1" + }, + "bin": { + "cross-env": "src/bin/cross-env.js", + "cross-env-shell": "src/bin/cross-env-shell.js" + }, + "engines": { + "node": ">=10.14", + "npm": ">=6", + "yarn": ">=1" + } + }, "node_modules/cross-fetch": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.0.0.tgz", @@ -37147,6 +37166,15 @@ } } }, + "cross-env": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz", + "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.1" + } + }, "cross-fetch": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.0.0.tgz", diff --git a/webapp/package.json b/webapp/package.json index 5c1a50b..50bbb0d 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -35,7 +35,7 @@ "scripts": { "start": "set PORT=80 && set HTTP=true && react-scripts start", "build": "set PORT=80 && set HTTP=true && react-scripts build", - "prod": "serve -s build", + "prod": "serve -s build", "test": "react-scripts test --transformIgnorePatterns 'node_modules/(?!axios)/'", "test:e2e": "cross-env START_SERVER_AND_TEST_INSECURE=1 PORT=80 npm run rune2etests", "rune2etests": "start-server-and-test 'node e2e/test-environment-setup.js' http://localhost:8000/health prod 80 \"cd e2e && jest\"", @@ -61,6 +61,7 @@ }, "devDependencies": { "axios-mock-adapter": "^1.22.0", + "cross-env": "^7.0.3", "expect-puppeteer": "^9.0.2", "jest": "^29.3.1", "jest-cucumber": "^3.0.1",