mirror of
https://github.com/portainer/portainer.git
synced 2025-08-08 23:35:31 +02:00
feat(project): introduce toolkit for containerized dev (#3863)
* feat(project): introduce toolkit for containerized dev * feat(project): clean up localserver shell cmd * feat(project): add install of yarn deps to grunt * feat(project): update gruntfile.js * Introduce an ARG statement for the GO_VERSION Co-authored-by: Anthony Lapenna <lapenna.anthony@gmail.com>
This commit is contained in:
parent
0b6dbec305
commit
7bd3d6e44a
4 changed files with 560 additions and 30 deletions
13
package.json
13
package.json
|
@ -25,9 +25,11 @@
|
|||
"build:client": "grunt clean:client && grunt build:client",
|
||||
"clean": "grunt clean:all",
|
||||
"start": "grunt clean:all && grunt start",
|
||||
"start:localserver": "grunt start:localserver",
|
||||
"start:server": "grunt clean:server && grunt start:server",
|
||||
"start:client": "grunt clean:client && grunt start:client",
|
||||
"dev:client": "grunt clean:client && webpack-dev-server --config=./webpack/webpack.develop.js",
|
||||
"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",
|
||||
"clean:all": "grunt clean:all",
|
||||
"format": "prettier --loglevel warn --write \"**/*.{js,css,html}\""
|
||||
|
@ -37,8 +39,9 @@
|
|||
"build:server": "Build the backend",
|
||||
"build:client": "Build the frontend (development mode)",
|
||||
"clean": "Clean the entire dist folder",
|
||||
"start": "Build the entire app (backend/frontend) in development mode, run it inside a container locally and start a watch process for the frontend files",
|
||||
"start": "Build the entire app (backend/frontend) in development mode, run backend inside a container and start a watch process locally for the frontend files",
|
||||
"start:server": "Build the backend and run it inside a container",
|
||||
"start:toolkit": "Build the entire app (backend/frontend) in development mode, run backend locally and start a watch process for the frontend files",
|
||||
"clean:all": "Deprecated. Use the clean script instead",
|
||||
"build:server:offline": "Deprecated. Use the build:server script instead",
|
||||
"format": "Should be removed before pr is merged"
|
||||
|
@ -108,7 +111,13 @@
|
|||
"grunt-contrib-clean": "^2.0.0",
|
||||
"grunt-contrib-copy": "^1.0.0",
|
||||
"grunt-env": "^0.4.4",
|
||||
"grunt-shell": "^1.1.2",
|
||||
"grunt-filerev": "^2.3.1",
|
||||
"grunt-html2js": "~0.1.0",
|
||||
"grunt-karma": "~0.4.4",
|
||||
"grunt-postcss": "^0.8.0",
|
||||
"grunt-replace": "^1.0.1",
|
||||
"grunt-shell-spawn": "^0.4.0",
|
||||
"grunt-usemin": "^3.1.1",
|
||||
"grunt-webpack": "^3.1.3",
|
||||
"gruntify-eslint": "^3.1.0",
|
||||
"html-loader": "^0.5.5",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue