File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -135,11 +135,13 @@ Example config your Laravel project with two builds (public and admin)
135
135
"private": true,
136
136
"scripts": {
137
137
// For public application
138
+ "prepare:app": "cd resources/frontend/app && yarn install",
138
139
"serve:app": "cd resources/frontend/app && yarn run serve",
139
140
"build:app": "cd resources/frontend/app && yarn run build",
140
141
"lint:app": "cd resources/frontend/app && yarn run lint",
141
142
"test:app": "cd resources/frontend/app && yarn run test:unit",
142
143
// For admin application
144
+ "prepare:admin": "cd resources/frontend/admin && yarn install",
143
145
"serve:admin": "cd resources/frontend/admin && yarn run serve",
144
146
"build:admin": "cd resources/frontend/admin && yarn run build",
145
147
"lint:admin": "cd resources/frontend/admin && yarn run lint",
Original file line number Diff line number Diff line change 3
3
"version" : " 0.2.0" ,
4
4
"private" : true ,
5
5
"scripts" : {
6
+ "prepare:app" : " cd resources/frontend/app && yarn install" ,
6
7
"serve:app" : " cd resources/frontend/app && yarn run serve" ,
7
8
"build:app" : " cd resources/frontend/app && yarn run build" ,
8
9
"lint:app" : " cd resources/frontend/app && yarn run lint" ,
9
10
"test:app" : " cd resources/frontend/app && yarn run test:unit" ,
11
+ "prepare:admin" : " cd resources/frontend/admin && yarn install" ,
10
12
"serve:admin" : " cd resources/frontend/admin && yarn run serve" ,
11
13
"build:admin" : " cd resources/frontend/admin && yarn run build" ,
12
14
"lint:admin" : " cd resources/frontend/admin && yarn run lint" ,
You can’t perform that action at this time.
0 commit comments