|
|
@ -34,7 +34,10 @@
|
|
|
|
"start:toolkit": "grunt start:toolkit",
|
|
|
|
"start:toolkit": "grunt start:toolkit",
|
|
|
|
"build:server:offline": "cd ./api/cmd/portainer && CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags '-s' && mv -f portainer ../../../dist/portainer",
|
|
|
|
"build:server:offline": "cd ./api/cmd/portainer && CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags '-s' && mv -f portainer ../../../dist/portainer",
|
|
|
|
"clean:all": "grunt clean:all",
|
|
|
|
"clean:all": "grunt clean:all",
|
|
|
|
"format": "prettier --loglevel warn --write \"**/*.{js,css,html}\""
|
|
|
|
"format": "prettier --loglevel warn --write \"**/*.{js,css,html}\"",
|
|
|
|
|
|
|
|
"lint": "yarn lint:client; yarn lint:server",
|
|
|
|
|
|
|
|
"lint:server": "cd api && golangci-lint run -E exportloopref",
|
|
|
|
|
|
|
|
"lint:client": "eslint --cache --fix ."
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"scriptsComments": {
|
|
|
|
"scriptsComments": {
|
|
|
|
"build": "Build the entire app (backend/frontend) in development mode",
|
|
|
|
"build": "Build the entire app (backend/frontend) in development mode",
|
|
|
@ -171,4 +174,4 @@
|
|
|
|
"*.js": "eslint --cache --fix",
|
|
|
|
"*.js": "eslint --cache --fix",
|
|
|
|
"*.{js,css,md,html}": "prettier --write"
|
|
|
|
"*.{js,css,md,html}": "prettier --write"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|