-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
23 lines (23 loc) · 1.1 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"scripts": {
"frontend": "yarn dev --prefix ../frontend/",
"backend": "yarn dev --prefix ../backend/",
"clear": "cd frontend && rm -rf .next && rm -rf cache",
"clear:backend": "cd backend && rm -rf node_modules && rm -rf cache",
"setup:frontend": "cd frontend && cp ../.env . && yarn",
"setup:backend": "cd backend && cp ../.env . && yarn",
"setup": "yarn install && yarn setup:frontend && yarn setup:backend",
"dev:next": "yarn setup && yarn clear && cd frontend && yarn dev",
"dev:strapi": "yarn setup && yarn clear && cd backend && yarn develop",
"dev": "yarn setup && yarn clear && concurrently \"cd frontend && yarn dev\" \"cd backend && yarn develop\"",
"seed": "cd backend && yarn strapi import -f ../seed-data.tar.gz",
"export": "cd backend && yarn strapi export --no-encrypt -f ../seed-data",
"repo:upstream": "git fetch upstream && git merge upstream/main"
},
"dependencies": {
"concurrently": "^8.2.2",
"npm-check-updates": "^16.14.15",
"yarn": "^1.22.22"
},
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
}