From 986595da985c2ad4c1ad2b16e18335e8fd06ecc1 Mon Sep 17 00:00:00 2001 From: drafish Date: Wed, 17 Jan 2024 17:20:18 +0800 Subject: [PATCH] add npm scripts -- serve:plugin, build:plugin --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4da8e31e82..ddd68c6a00 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,8 @@ "start": "nx start", "serve": "nx serve remix-ide --configuration=development", "serve:hot": "nx serve remix-ide --configuration=hot", - "serve:learneth": "nx serve learneth --configuration=development", + "serve:plugin": "nx serve ${npm_config_plugin} --configuration=development", + "build:plugin": "NODE_ENV=production nx build ${npm_config_plugin} --configuration=production --skip-nx-cache", "build": "nx build", "test": "nx test", "lint": "nx lint",