github.com/minio/console@v1.4.1/web-app/Makefile (about)

     1  default: build-static
     2  
     3  build-static:
     4  	@echo "Building frontend static assets to 'build'"
     5  	@if [ -f "${NVM_DIR}/nvm.sh" ]; then \. "${NVM_DIR}/nvm.sh" && nvm install && nvm use; fi && \
     6  	  NODE_OPTIONS=--openssl-legacy-provider yarn build
     7  
     8  build-static-istanbul-coverage:
     9  	@echo "Building frontend static assets to 'build'"
    10  	@if [ -f "${NVM_DIR}/nvm.sh" ]; then \. "${NVM_DIR}/nvm.sh" && nvm install && nvm use; fi && \
    11  	  NODE_OPTIONS=--openssl-legacy-provider yarn buildistanbulcoverage
    12  
    13  test-warnings:
    14  	./check-warnings.sh
    15  
    16  test-prettier:
    17  	./check-prettier.sh
    18  
    19  find-deadcode:
    20  	./check-deadcode.sh
    21  
    22  prettify:
    23  	yarn prettier --write . --log-level warn
    24  
    25  pretty: prettify