From f941ad9922dd80fd6b0842fc83bd39e73c938d89 Mon Sep 17 00:00:00 2001 From: oleiade Date: Fri, 6 Sep 2024 16:38:11 +0200 Subject: [PATCH] Adapt npm rules to esbuild --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 4b8b331..65f92e3 100644 --- a/package.json +++ b/package.json @@ -30,9 +30,10 @@ }, "engines": {}, "scripts": { - "webpack": "./node_modules/.bin/webpack", - "test": "npm run webpack && docker-compose down -v && docker-compose up --build -d && sleep 15 && k6 run -q tests/index.js", - "test:ci": "npm run webpack && k6 run -q tests/index.js", + "build": "node build.mjs", + "release": "NODE_ENV=production npm run build", + "test": "npm run build && docker-compose down -v && docker-compose up --build -d && sleep 15 && k6 run -q tests/index.js", + "test:ci": "npm run build && k6 run -q tests/index.js", "lint": "npx eslint src tests examples" }, "keywords": [