From 43ff7a63c68fa44998cb5c3d737522b37ea0d315 Mon Sep 17 00:00:00 2001 From: baptou12 Date: Thu, 14 Sep 2023 15:02:34 +0200 Subject: [PATCH] feat: change le top level des fichier MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note: nécéssaire pour avoir un seul .env à la racine du projet --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 90033dfd46..a8134c36a1 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "build:server": "tsc -p tsconfig.server.json", "preview": "vite preview", "lint": "eslint backend data iframes lib src --ext ts,js,vue --max-warnings 0", - "ci": "npm run stats && cd dist-server && NODE_ENV=production node ./backend/server.js", + "ci": "npm run stats && NODE_ENV=production node ./dist-server/backend/server.js", "cypress": "cypress run", "cypress:open": "cypress open", "db": "mongod --dbpath db", @@ -27,7 +27,7 @@ "prestart": "npm run build && npm run stats", "prettier:check": "prettier --check .", "prettier:fix": "prettier --write .", - "start": "cd dist-server && NODE_ENV=production node ./backend/server.js", + "start": "NODE_ENV=production node ./dist-server/backend/server.js", "stats": "ts-node ./backend/lib/stats", "test": "NODE_OPTIONS=--experimental-vm-modules NODE_PATH=. jest --testTimeout=20000", "tools:check-links-validity": "ts-node ./tools/check-links-validity.ts",