From 12003f307b46a268c68ca3cfe7c41f9dc8dcde93 Mon Sep 17 00:00:00 2001 From: Benjamin Coe Date: Tue, 15 Nov 2016 10:29:18 -0800 Subject: [PATCH] feat: run individual tests with ava script --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 44d33e94..089aa0c6 100644 --- a/package.json +++ b/package.json @@ -18,9 +18,10 @@ "build": "gulp", "pretest": "npm run lint", "test": "gulp test", - "lint": "standard && standard bin/*", "html-report": "nyc report --reporter=html", + "ava": "cross-env NODE_ENV=test nyc ava --verbose", "coveralls": "nyc report --reporter=text-lcov | coveralls", + "lint": "standard && standard bin/*", "prepublish": "gulp release", "precommit": "npm run lint" }, @@ -42,7 +43,7 @@ "**/examples/**", "**/bench/**" ], - "all": true, + "all": false, "sourceMap": false, "instrument": false }, @@ -101,6 +102,7 @@ "babel-plugin-transform-remove-strict-mode": "0.0.2", "benchmark": "2.1.1", "coveralls": "2.11.15", + "cross-env": "^3.1.3", "gulp": "3.9.1", "gulp-ava": "0.15.0", "gulp-babel": "6.1.2",