From d329412507ca99c6a142e792f325180b77dbc016 Mon Sep 17 00:00:00 2001 From: Josh Lory Date: Wed, 9 Aug 2017 18:50:54 -0700 Subject: [PATCH] Update `npm test` to run unit tests --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8216f8c..4da88b5 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,8 @@ "prepublish": "npm run build", "prepublish-watch": "npm run watch", "start": "webpack-dev-server", - "test": "npm run lint && npm run docs", + "tap": "./node_modules/.bin/tap ./test/unit/*.js", + "test": "npm run lint && npm run docs && npm run tap", "version": "json -f package.json -I -e \"this.repository.sha = '$(git log -n1 --pretty=format:%H)'\"", "watch": "webpack --progress --colors --watch --watch-poll" },