2023-06-04 04:28:07 +02:00
{
2023-06-09 18:30:42 +02:00
"name" : "anything-llm" ,
2023-09-28 23:00:03 +02:00
"version" : "0.2.0" ,
2023-07-25 19:37:04 +02:00
"description" : "The best solution for turning private documents into a chat bot using off-the-shelf tools and commercially viable AI technologies." ,
2023-06-04 04:28:07 +02:00
"main" : "index.js" ,
2024-01-09 00:31:06 +01:00
"type" : "module" ,
2023-06-04 04:28:07 +02:00
"author" : "Timothy Carambat (Mintplex Labs)" ,
"license" : "MIT" ,
2023-06-08 19:29:17 +02:00
"engines" : {
"node" : ">=18"
} ,
2023-06-04 04:28:07 +02:00
"scripts" : {
2024-08-28 01:19:12 +02:00
"lint" : "cd server && yarn lint && cd ../frontend && yarn lint && cd ../collector && yarn lint" ,
2023-12-15 00:14:56 +01:00
"setup" : "cd server && yarn && cd ../collector && yarn && cd ../frontend && yarn && cd .. && yarn setup:envs && yarn prisma:setup && echo \"Please run yarn dev:server, yarn dev:collector, and yarn dev:frontend in separate terminal tabs.\"" ,
2023-08-17 00:34:03 +02:00
"setup:envs" : "cp -n ./frontend/.env.example ./frontend/.env && cp -n ./server/.env.example ./server/.env.development && cp -n ./collector/.env.example ./collector/.env && cp -n ./docker/.env.example ./docker/.env && echo \"All ENV files copied!\n\"" ,
2023-06-04 04:28:07 +02:00
"dev:server" : "cd server && yarn dev" ,
2023-12-15 00:14:56 +01:00
"dev:collector" : "cd collector && yarn dev" ,
2024-01-09 00:31:06 +01:00
"dev:frontend" : "cd frontend && yarn dev" ,
2023-09-28 23:00:03 +02:00
"prisma:generate" : "cd server && npx prisma generate" ,
"prisma:migrate" : "cd server && npx prisma migrate dev --name init" ,
"prisma:seed" : "cd server && npx prisma db seed" ,
"prisma:setup" : "yarn prisma:generate && yarn prisma:migrate && yarn prisma:seed" ,
2024-02-05 23:21:34 +01:00
"prisma:reset" : "truncate -s 0 server/storage/anythingllm.db && yarn prisma:migrate" ,
2023-06-07 22:43:22 +02:00
"prod:server" : "cd server && yarn start" ,
2023-06-14 19:34:22 +02:00
"prod:frontend" : "cd frontend && yarn build" ,
2023-07-20 21:13:40 +02:00
"generate:cloudformation" : "node cloud-deployments/aws/cloudformation/generate.mjs" ,
2024-06-19 23:48:19 +02:00
"generate::gcp_deployment" : "node cloud-deployments/gcp/deployment/generate.mjs" ,
"verify:translations" : "cd frontend/src/locales && node verifyTranslations.mjs"
2023-06-04 04:28:07 +02:00
} ,
2023-06-14 20:02:46 +02:00
"private" : false
2024-01-23 23:22:50 +01:00
}