Skip to content

Commit a17fb97

Browse files
committed
Add yarn command to setup command
1 parent 8e0513f commit a17fb97

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"strapi": "yarn dev --prefix ../strapi/",
1010
"setup:next": "cd next && yarn && node --loader ts-node/esm ../scripts/copy-env.mts ../next",
1111
"setup:strapi": "cd strapi && yarn && node --loader ts-node/esm ../scripts/copy-env.mts ../strapi",
12-
"setup": "yarn setup:next && yarn setup:strapi",
13-
"postinstall": "yarn setup",
12+
"setup": "yarn && yarn setup:next && yarn setup:strapi",
1413
"dev": "yarn concurrently \"cd strapi && yarn develop\" \"npx wait-on http://localhost:1337 && cd next && yarn dev\"",
1514
"seed": "cd strapi && yarn strapi import -f ./data/export_20250116105447.tar.gz --force",
1615
"export": "cd strapi && yarn strapi export --no-encrypt -f ./data/export_20250116105447",

0 commit comments

Comments
 (0)