2020-04-02 19:40:26 -07:00
|
|
|
default: build-static
|
2020-04-01 18:18:57 -07:00
|
|
|
|
2020-04-02 19:40:26 -07:00
|
|
|
build-static:
|
2020-04-01 18:18:57 -07:00
|
|
|
@echo "Building frontend static assets to 'build'"
|
2022-08-05 17:54:47 -07:00
|
|
|
@if [ -f "${NVM_DIR}/nvm.sh" ]; then \. "${NVM_DIR}/nvm.sh" && nvm install && nvm use; fi && \
|
2024-08-08 14:56:03 -05:00
|
|
|
yarn build
|
2020-04-01 18:18:57 -07:00
|
|
|
|
2023-04-25 10:19:00 -06:00
|
|
|
build-static-istanbul-coverage:
|
|
|
|
|
@echo "Building frontend static assets to 'build'"
|
|
|
|
|
@if [ -f "${NVM_DIR}/nvm.sh" ]; then \. "${NVM_DIR}/nvm.sh" && nvm install && nvm use; fi && \
|
2024-08-08 14:56:03 -05:00
|
|
|
yarn buildistanbulcoverage
|
2023-04-25 10:19:00 -06:00
|
|
|
|
2022-01-07 10:29:44 -08:00
|
|
|
test-warnings:
|
|
|
|
|
./check-warnings.sh
|
2022-06-30 23:40:23 -05:00
|
|
|
|
|
|
|
|
test-prettier:
|
|
|
|
|
./check-prettier.sh
|
|
|
|
|
|
2023-06-20 13:46:20 -06:00
|
|
|
find-deadcode:
|
|
|
|
|
./check-deadcode.sh
|
|
|
|
|
|
2022-06-30 23:40:23 -05:00
|
|
|
prettify:
|
2023-11-24 10:02:08 +05:30
|
|
|
yarn prettier --write . --log-level warn
|
2022-10-28 15:04:30 -05:00
|
|
|
|
|
|
|
|
pretty: prettify
|