From 5f7056c7408e3c78e5e9566a38546edd8f8235c3 Mon Sep 17 00:00:00 2001 From: jochen Date: Mon, 3 May 2021 12:00:58 +0200 Subject: [PATCH] remove Makefile --- Makefile | 12 ------------ package.json | 6 ++++-- 2 files changed, 4 insertions(+), 14 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index 61459ea..0000000 --- a/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -SHELL = /bin/bash -export PATH := ./node_modules/.bin/:${PATH} - -MAKEFLAGS += --no-print-directory --silent - -clean: - rm -rf build/ \ - npm-debug.log -lint: - eslint lib/ -test: clean lint - mocha -t 6000 --reporter spec test/ $(MOCHAFLAGS) diff --git a/package.json b/package.json index a7c3cc3..864d462 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "version": "1.0.8", "scripts": { "lint": "eslint lib/", - "test": "make test" + "test:unit": "mocha test/", + "test": "run-s lint test:unit" }, "homepage": "https://github.com/testingbot/testingbot-api", "repository": { @@ -27,7 +28,8 @@ "eslint-plugin-import": "^2.16.0", "eslint-plugin-promise": "^5.1.0", "eslint-plugin-standard": "^5.0.0", - "mocha": "^8.3.2" + "mocha": "^8.3.2", + "npm-run-all": "^4.1.5" }, "engines": { "node": "*"