diff --git a/Makefile b/Makefile index aba604e54..82f7613df 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,6 @@ clean: mkdir -p build mkdir -p intl - deploy: @make build @make sync @@ -52,7 +51,7 @@ start: test: @make lint @make build - @make coverage + @make tap lint: $(ESLINT) . --ext .js,.jsx,.json @@ -60,20 +59,23 @@ lint: $(SASSLINT) ./src/**/*.scss unit: - $(TAP) --coverage ./test/unit/*.js + $(TAP) ./test/unit/*.js functional: - $(TAP) --coverage ./test/functional/*.js + $(TAP) ./test/functional/*.js integration: - $(TAP) --coverage ./test/integration/*.js + $(TAP) ./test/integration/*.js localization: - $(TAP) --coverage ./test/localization/*.js + $(TAP) ./test/localization/*.js + +tap: + $(TAP) ./test/{unit,functional,localization}/*.js coverage: - $(TAP) --coverage ./test/{unit,functional,localization}/*.js + $(TAP) ./test/{unit,functional,localization}/*.js --coverage --coverage-report=lcov # ------------------------------------ -.PHONY: build clean deploy translations webpack stop start test lint unit functional integration localization coverage +.PHONY: build clean deploy translations webpack start test lint unit functional integration localization tap coverage diff --git a/package.json b/package.json index 0fce98c35..e4a06db2a 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,6 @@ "lodash.range": "3.0.1", "minilog": "2.0.8", "node-sass": "3.3.3", - "nyc": "8.3.2", "pako": "0.2.8", "po2icu": "0.0.2", "postcss-loader": "0.8.2",