forked from marmelab/gremlins.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
46 lines (32 loc) · 1005 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
help:
@grep -P '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
install: ## Install dependencies
npm install
start: ## Rollup watch the project
npm run start
build: clear ## Rollup build the project
npm run build
clear: ## Clear dist directory
npm run clear
test: ## Run whole tests
npm run test
test-cypress: ## Run cypress tests
npm run cypress:run
test-watch: ## Watch whole test suites
npm run test:watch
lint: ## lint the code and check coding conventions
echo "Running linter..."
npm run lint
format: ## prettify the source code using prettier
echo "Running prettier..."
npm run format
serve: build ## Serve dist directory
npm run serve
publish: ## Publish
npm run release
publish-dry-run: ## Publish dry-run
npm run release -- --dry-run
publish-next: ## Publish on next tag
npm run release -- --prerelease next
deploy-gh-pages: ## Deploy bookmaklet to gh-pages
npm run deploy-gh-pages