Extends the Chrome Developer Tools, adding a new Network Panel in the Developer Tools window with better searching and response previews. https://leviolson.com/posts/chrome-ext-better-network-panel
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
865 B

  1. COMMAND_COLOR = \033[36m
  2. DESC_COLOR = \033[32m
  3. CLEAR_COLOR = \033[0m
  4. .PHONY: help
  5. help: ## prints this message ##
  6. @echo ""; \
  7. echo "Usage: make <command>"; \
  8. echo ""; \
  9. echo "where <command> is one of the following:"; \
  10. echo ""; \
  11. grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | \
  12. perl -nle '/(.*?): ## (.*?) ## (.*$$)/; if ($$3 eq "") { printf ( "$(COMMAND_COLOR)%-20s$(DESC_COLOR)%s$(CLEAR_COLOR)\n\n", $$1, $$2) } else { printf ( "$(COMMAND_COLOR)%-20s$(DESC_COLOR)%s$(CLEAR_COLOR)\n%-20s%s\n\n", $$1, $$2, " ", $$3) }';
  13. .PHONY: install
  14. install: ## Install npm packages ##
  15. @echo "Installing Dependencies..."; \
  16. npm install;
  17. .PHONY: sass
  18. sass: ## sass --watch input.scss output.css ##
  19. @echo "Compiling Sass..."; \
  20. ./node_modules/.bin/sass --watch unpacked/panel/assets/stylesheets/panel.scss unpacked/panel/assets/stylesheets/panel.css;