feat: #2 add prompt list

This commit is contained in:
Yifei Zhang
2023-03-27 16:30:12 +00:00
parent 19b511e3f8
commit 7d5e742ea6
6 changed files with 206 additions and 4 deletions

View File

@@ -4,13 +4,15 @@
"private": false,
"license": "Anti 996",
"scripts": {
"dev": "next dev",
"build": "next build",
"dev": "yarn fetch && next dev",
"build": "yarn fetch && next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"fetch": "node ./scripts/fetch-prompts.mjs"
},
"dependencies": {
"@svgr/webpack": "^6.5.1",
"@types/js-search": "^1.4.0",
"@types/node": "^18.14.6",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
@@ -22,7 +24,9 @@
"eslint": "8.35.0",
"eslint-config-next": "13.2.3",
"eventsource-parser": "^0.1.0",
"js-search": "^2.0.0",
"next": "^13.2.3",
"node-fetch": "^3.3.1",
"openai": "^3.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",