mirror of
https://github.com/mgerb/go-discord-bot
synced 2026-01-10 09:02:49 +00:00
switch from yarn to npm in makefile
This commit is contained in:
@@ -45,10 +45,10 @@ export class Stats extends Component<any, IState> {
|
|||||||
datasets: [
|
datasets: [
|
||||||
{
|
{
|
||||||
label: 'Count',
|
label: 'Count',
|
||||||
backgroundColor: 'rgba(114,137,218, 0.4)',
|
backgroundColor: 'rgba(114,137,218, 0.5)',
|
||||||
borderColor: 'rgba(114,137,218, 0.9)',
|
borderColor: 'rgba(114,137,218, 0.9)',
|
||||||
borderWidth: 1,
|
borderWidth: 1,
|
||||||
hoverBackgroundColor: 'rgba(114,137,218, 0.6)',
|
hoverBackgroundColor: 'rgba(114,137,218, 0.7)',
|
||||||
hoverBorderColor: 'rgba(114,137,218, 1)',
|
hoverBorderColor: 'rgba(114,137,218, 1)',
|
||||||
data: map(this.state.data, v => v.count),
|
data: map(this.state.data, v => v.count),
|
||||||
},
|
},
|
||||||
|
|||||||
4
makefile
4
makefile
@@ -2,13 +2,13 @@ run:
|
|||||||
go run ./main.go
|
go run ./main.go
|
||||||
|
|
||||||
install:
|
install:
|
||||||
go get && cd client && yarn install
|
go get && cd client && npm install
|
||||||
|
|
||||||
build-server:
|
build-server:
|
||||||
go build -o bot ./main.go
|
go build -o bot ./main.go
|
||||||
|
|
||||||
build-client:
|
build-client:
|
||||||
cd client && yarn run build
|
cd client && npm run build
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf bot ./dist
|
rm -rf bot ./dist
|
||||||
|
|||||||
Reference in New Issue
Block a user