From 566b105c19c66a24acebb3c7e73338a6701177b5 Mon Sep 17 00:00:00 2001 From: Jerome Wu Date: Wed, 8 May 2019 23:42:29 +0800 Subject: [PATCH] Add npm test --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 97441a9..7b8dc80 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "start": "node scripts/server.js", "build": "webpack --config scripts/webpack.config.prod.js", "prepublishOnly": "npm run build", + "test": "npm run test:node", "test:node": "nyc mocha --exit --bail --require ./scripts/test-helper.js ./tests/*.test.js", "lint": "eslint src" },