1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

feat: run individual tests with ava script

This commit is contained in:
Benjamin Coe 2016-11-15 10:29:18 -08:00
parent 564b01cf73
commit 12003f307b
No known key found for this signature in database
GPG key ID: 60AB1C1D478E1286

View file

@ -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 @@
"**/examples/**", "**/examples/**",
"**/bench/**" "**/bench/**"
], ],
"all": true, "all": false,
"sourceMap": false, "sourceMap": false,
"instrument": false "instrument": false
}, },
@ -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",