1
0
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:
2018-04-10 21:53:42 -05:00
parent 5fa0f1ac2e
commit 14badd7218
2 changed files with 4 additions and 4 deletions

View File

@@ -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),
}, },

View File

@@ -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