From 6024d60589b9cb14876c34747e9dd606e2848126 Mon Sep 17 00:00:00 2001 From: popomore Date: Thu, 27 Oct 2016 22:28:33 +0800 Subject: [PATCH] check --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index af65201aba..0bd05ecc8e 100644 --- a/package.json +++ b/package.json @@ -100,7 +100,8 @@ "test-local": "egg-bin test", "test-examples": "cross-env TESTS=examples/**/test/**/*.test.js egg-bin test", "cov": "egg-bin cov", - "ci": "npm run lint && npm run test-examples && npm run cov", + "ci": "npm run lint && npm run test-examples && npm run cov || npm run check", + "check": "node -p 'fs.readdirSync(\"coverage\")'", "doc-server": "./scripts/doc.sh server", "doc-deploy": "./scripts/doc.sh deploy", "autod": "autod",