feat: run individual tests with ava script

parent 564b01cf
...@@ -18,9 +18,10 @@ ...@@ -18,9 +18,10 @@
"build": "gulp", "build": "gulp",
"pretest": "npm run lint", "pretest": "npm run lint",
"test": "gulp test", "test": "gulp test",
"lint": "standard && standard bin/*",
"html-report": "nyc report --reporter=html", "html-report": "nyc report --reporter=html",
"ava": "cross-env NODE_ENV=test nyc ava --verbose",
"coveralls": "nyc report --reporter=text-lcov | coveralls", "coveralls": "nyc report --reporter=text-lcov | coveralls",
"lint": "standard && standard bin/*",
"prepublish": "gulp release", "prepublish": "gulp release",
"precommit": "npm run lint" "precommit": "npm run lint"
}, },
...@@ -42,7 +43,7 @@ ...@@ -42,7 +43,7 @@
"**/examples/**", "**/examples/**",
"**/bench/**" "**/bench/**"
], ],
"all": true, "all": false,
"sourceMap": false, "sourceMap": false,
"instrument": false "instrument": false
}, },
...@@ -101,6 +102,7 @@ ...@@ -101,6 +102,7 @@
"babel-plugin-transform-remove-strict-mode": "0.0.2", "babel-plugin-transform-remove-strict-mode": "0.0.2",
"benchmark": "2.1.1", "benchmark": "2.1.1",
"coveralls": "2.11.15", "coveralls": "2.11.15",
"cross-env": "^3.1.3",
"gulp": "3.9.1", "gulp": "3.9.1",
"gulp-ava": "0.15.0", "gulp-ava": "0.15.0",
"gulp-babel": "6.1.2", "gulp-babel": "6.1.2",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment