parent
1d8d748a0a
commit
f349b2c5be
4 changed files with 10 additions and 13 deletions
9
Makefile
9
Makefile
|
@ -1,10 +1,9 @@
|
||||||
|
.PHONY: all backend frontend
|
||||||
|
all: backend frontend
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
npm install && \
|
npm install && \
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
cd frontend && \
|
cd frontend && make
|
||||||
npm install && \
|
|
||||||
npm run build
|
|
||||||
|
|
||||||
all: backend frontend
|
|
||||||
|
|
|
@ -66,9 +66,3 @@ npm run dev
|
||||||
cd frontend
|
cd frontend
|
||||||
npm run dev
|
npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
### Lint with [ESLint](https://eslint.org/)
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npm run lint
|
|
||||||
```
|
|
||||||
|
|
5
frontend/Makefile
Normal file
5
frontend/Makefile
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
.PHONY: all
|
||||||
|
|
||||||
|
all:
|
||||||
|
npm install && \
|
||||||
|
npm run build
|
|
@ -7,8 +7,7 @@ See [main `README`](../README.md) for more information.
|
||||||
## Building the frontend
|
## Building the frontend
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install
|
make
|
||||||
npm run build
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
Loading…
Add table
Reference in a new issue