From 1dc34b48de361960d7fa37d8bbc82b9d4a612981 Mon Sep 17 00:00:00 2001 From: retrohacker Date: Thu, 24 Jan 2019 14:16:53 -0800 Subject: [PATCH] fix(dev): remove nsp since the project merged with npm --- Makefile | 9 ++++----- package.json | 1 - tools/mk/Makefile.targ | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 8ed5890b4..4d8908576 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,6 @@ # ESLINT := ./node_modules/.bin/eslint DOCUMENTATION := ./node_modules/.bin/documentation -NSP := ./node_modules/.bin/nsp NODEUNIT := ./node_modules/.bin/nodeunit MOCHA := ./node_modules/.bin/mocha NODECOVER := ./node_modules/.bin/cover @@ -63,10 +62,6 @@ test: $(NODEUNIT) $(NODEUNIT) test/*.test.js $(MOCHA) test/plugins/*.test.js -.PHONY: nsp -nsp: node_modules $(NSP) - @($(NSP) check) | true - .PHONY: docs-build docs-build: @($(NODE) $(DOCS_BUILD)) @@ -75,5 +70,9 @@ docs-build: benchmark: @(cd ./benchmark && $(NPM) i && $(NODE) index.js) +.PHONY: audit +audit: + @($(NPM) audit || true) + include ./tools/mk/Makefile.deps include ./tools/mk/Makefile.targ diff --git a/package.json b/package.json index 02d6372b4..a3abe710a 100644 --- a/package.json +++ b/package.json @@ -136,7 +136,6 @@ "mkdirp": "^0.5.1", "mocha": "^3.5.3", "nodeunit": "^0.11.2", - "nsp": "^2.8.1", "ora": "^1.3.0", "pre-commit": "^1.2.2", "prettier": "1.16.1", diff --git a/tools/mk/Makefile.targ b/tools/mk/Makefile.targ index f30a13f1a..4f0d89b8f 100644 --- a/tools/mk/Makefile.targ +++ b/tools/mk/Makefile.targ @@ -244,4 +244,4 @@ $(DOC_MEDIA_DIRS_BUILD): test: .PHONY: prepush -prepush: check test nsp +prepush: check test audit