mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-09-22 08:05:24 +00:00
* fix(PaLM2): input losing focus on message stream ending * fix(askOpenAI.js): fix typo in variable name from newUserMassageId to newUserMessageId * feat(chatgpt-browser.js, askBingAI.js, askChatGPTBrowser.js): add onEventMessage callback to browserClient Add onEventMessage callback to browserClient to handle event messages from the server. In askChatGPTBrowser.js, add a getPartialMessage variable to store the partial message text. In askBingAI.js, fix a typo in the variable name newUserMassageId to newUserMessageId. In askChatGPTBrowser.js, remove the preSendRequest parameter and move the sendMessage call to the onEventMessage callback. In askChatGPTBrowser.js, add a check for null or undefined value of getPartialMessage before appending it to the error message. * fix(bing): input no longer loses input focus as convoId is persisted from beginning of convo * refactor(Input): remove unused code and fix input autofocus feat(package.json): add e2e:test-auth script to test authentication flow with saved storage
53 lines
1.9 KiB
JSON
53 lines
1.9 KiB
JSON
{
|
|
"name": "chatgpt-clone",
|
|
"version": "0.4.6",
|
|
"description": "",
|
|
"workspaces": [
|
|
"api",
|
|
"client"
|
|
],
|
|
"scripts": {
|
|
"backend": "cd api && npm run start",
|
|
"backend-dev": "cd api && npm run server-dev",
|
|
"frontend": "cd client && npm run build",
|
|
"frontend-dev": "cd client && npm run dev",
|
|
"e2e": "playwright test --config=e2e/playwright.config.js",
|
|
"e2e:update": "playwright test --config=e2e/playwright.config.js --update-snapshots",
|
|
"e2e:debug": "cross-env PWDEBUG=1 playwright test --config=e2e/playwright.config.js",
|
|
"e2e:report": "npx playwright show-report e2e/playwright-report",
|
|
"e2e:auth": "npx playwright codegen --save-storage=e2e/auth.json http://localhost:3080/",
|
|
"e2e:test-auth": "npx playwright codegen --load-storage=e2e/auth.json http://localhost:3080/",
|
|
"prepare": "husky install",
|
|
"format": "prettier-eslint --write \"{,!(node_modules)/**/}*.{js,jsx,ts,tsx}\""
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/danny-avila/chatgpt-clone.git"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://github.com/danny-avila/chatgpt-clone/issues"
|
|
},
|
|
"homepage": "https://github.com/danny-avila/chatgpt-clone#readme",
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.32.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.59.6",
|
|
"@typescript-eslint/parser": "^5.59.6",
|
|
"babel-eslint": "^10.1.0",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.41.0",
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"eslint-plugin-jest": "^27.2.1",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-react": "^7.32.2",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"husky": "^8.0.0",
|
|
"lint-staged": "^13.2.2",
|
|
"prettier": "^2.8.8",
|
|
"prettier-eslint": "^15.0.1",
|
|
"prettier-eslint-cli": "^7.1.0",
|
|
"prettier-plugin-tailwindcss": "^0.2.2"
|
|
}
|
|
}
|