Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 56a66ba

Browse files
committedJan 6, 2016
Build: Switch to Makefile.js
1 parent a771ca7 commit 56a66ba

File tree

5 files changed

+14
-141
lines changed

5 files changed

+14
-141
lines changed
 

‎.eslintrc.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ module.exports = {
7777
"no-dupe-class-members": 2,
7878
"no-dupe-keys": 2,
7979
"no-duplicate-case": 2,
80-
"no-else-return": 2,
8180
"no-empty": 2,
8281
"no-empty-character-class": 2,
8382
"no-empty-label": 2,
@@ -200,10 +199,9 @@ module.exports = {
200199
"valid-typeof": 2,
201200
"wrap-iife": 2,
202201
"wrap-regex": 2,
203-
"yield-star-spacing": 2,
204202
"yoda": [
205203
2,
206204
"never"
207205
]
208206
}
209-
};
207+
};

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ node_modules
33
*.iml
44
coverage
55
.cache
6+
npm-debug.log

‎Makefile.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -262,12 +262,12 @@ target.test = function() {
262262
var errors = 0,
263263
lastReturn;
264264

265-
lastReturn = nodeCLI.exec("istanbul", "cover", MOCHA, "-- -R progress -t " + MOCHA_TIMEOUT, "-c", TEST_FILES);
265+
lastReturn = nodeCLI.exec("istanbul", "cover", MOCHA, "-- -R dot -t " + MOCHA_TIMEOUT, "-c", TEST_FILES);
266266
if (lastReturn.code !== 0) {
267267
errors++;
268268
}
269269

270-
lastReturn = nodeCLI.exec("istanbul", "check-coverage", "--statement 99 --branch 97 --function 99 --lines 99");
270+
lastReturn = nodeCLI.exec("istanbul", "check-coverage", "--statement 99 --branch 97 --function 100 --lines 99");
271271
if (lastReturn.code !== 0) {
272272
errors++;
273273
}

‎gulpfile.js

-120
This file was deleted.

‎package.json

+10-16
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,15 @@
1818
"README.md"
1919
],
2020
"maintainers": [
21+
{
22+
"name": "Nicholas C. Zakas",
23+
"email": "nicholas+npm@nczconsulting.com",
24+
"web": "https://www.nczonline.net"
25+
},
2126
{
2227
"name": "Yusuke Suzuki",
2328
"email": "utatane.tea@gmail.com",
24-
"web": "http://github.com/Constellation"
29+
"web": "https://github.com/Constellation"
2530
}
2631
],
2732
"repository": {
@@ -31,17 +36,8 @@
3136
"devDependencies": {
3237
"coveralls": "^2.11.2",
3338
"dateformat": "^1.0.11",
34-
"eslint": "^1.9.0",
35-
"gulp": "^3.8.10",
36-
"gulp-bump": "^0.1.13",
37-
"gulp-eslint": "^0.5.0",
38-
"gulp-filter": "^2.0.2",
39-
"gulp-git": "^1.0.0",
40-
"gulp-istanbul": "^0.6.0",
41-
"gulp-jshint": "^1.9.0",
42-
"gulp-mocha": "^2.0.0",
43-
"gulp-tag-version": "^1.2.1",
44-
"jshint-stylish": "^1.0.0",
39+
"eslint": "^1.10.3",
40+
"istanbul": "^0.4.1",
4541
"linefix": "^0.1.1",
4642
"mocha": "^2.3.3",
4743
"npm-license": "^0.3.1",
@@ -57,10 +53,8 @@
5753
}
5854
],
5955
"scripts": {
60-
"test": "gulp",
61-
"unit-test": "gulp test",
62-
"lint": "gulp lint",
63-
"coveralls": "cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"
56+
"test": "node Makefile.js test",
57+
"lint": "node Makefile.js lint"
6458
},
6559
"dependencies": {
6660
"esutils": "^1.1.6",

0 commit comments

Comments
 (0)
Please sign in to comment.