Skip to content

Commit 8eadb88

Browse files
mysticateaaladdin-add
authored andcommitted
Upgrade: acorn 6, acorn-jsx 5, and istanbul (#391)
1 parent 0f2edb8 commit 8eadb88

7 files changed

Lines changed: 368 additions & 511 deletions

File tree

.eslintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
env:
22
node: true
3+
es6: true
34

45
extends: eslint

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ node_modules
44
npm-debug.log
55
_test.js
66
.idea
7+
.nyc_output
78
.eslint-release-info.json

.nycrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"include": [
3+
"lib/**/*.js",
4+
"espree.js"
5+
],
6+
"reporter": [
7+
"text",
8+
"lcov"
9+
]
10+
}

Makefile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ target.test = function() {
9090
var errors = 0,
9191
lastReturn;
9292

93-
lastReturn = nodeCLI.exec("istanbul", "cover", MOCHA, "-- -c", TEST_FILES);
93+
lastReturn = nodeCLI.exec("nyc", MOCHA, "--color", "--reporter progress", "--timeout 30000", TEST_FILES);
9494

9595
if (lastReturn.code !== 0) {
9696
errors++;

0 commit comments

Comments
 (0)