diff --git a/examples/simple-chat/package.json b/examples/simple-chat/package.json index cc1fa3cc..ae9997c3 100644 --- a/examples/simple-chat/package.json +++ b/examples/simple-chat/package.json @@ -3,10 +3,10 @@ "version": "0.1.0", "private": true, "scripts": { - "start": "cp src/gh-config.js src/app-config.js && parcel src/llm_chat.html --port 8888", - "mlc-local": "cp src/mlc-local-config.js src/app-config.js && parcel src/llm_chat.html --port 8888", - "build": "cp src/gh-config.js src/app-config.js && parcel build src/llm_chat.html --dist-dir lib --no-content-hash" - }, + "start": "node copy-config.js && parcel src/llm_chat.html --port 8888", + "mlc-local": "node copy-config.js && parcel src/llm_chat.html --port 8888", + "build": "node copy-config.js && parcel build src/llm_chat.html --dist-dir lib --no-content-hash" +}, "devDependencies": { "buffer": "^5.7.1", "parcel": "^2.8.3", @@ -18,4 +18,5 @@ "dependencies": { "@mlc-ai/web-llm": "^0.2.29" } -} \ No newline at end of file +} +