File tree 7 files changed +19
-21
lines changed
7 files changed +19
-21
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "ecmaFeatures": {
3
- "jsx": true
4
- },
5
- "rules": {
6
- "semi": [2, "always"],
7
- "quotes": [2, "single"],
8
- "strict": [2, "global"],
9
- "no-underscore-dangle": 0
10
- },
11
- "env": {
12
- "es6": true,
13
- "browser": true,
14
- "node": true
15
- }
2
+ "extends": "gulp"
16
3
}
Original file line number Diff line number Diff line change
1
+ {
2
+ "preset" : " gulp"
3
+ }
Original file line number Diff line number Diff line change 1
1
# default-resolution
2
2
3
- [ ![ Travis Build Status] ( https://img.shields.io/travis/phated /default-resolution/master.svg?label=travis&style=flat-square )] ( https://travis-ci.org/phated /default-resolution )
3
+ [ ![ Travis Build Status] ( https://img.shields.io/travis/gulpjs /default-resolution/master.svg?label=travis&style=flat-square )] ( https://travis-ci.org/gulpjs /default-resolution )
4
4
5
5
Get the default resolution time based on the current node version, optionally overridable
6
6
7
- Originally implemented by @dinoboff in https://github.com/phated /undertaker/pull/17
7
+ Originally implemented by @dinoboff in https://github.com/gulpjs /undertaker/pull/17
8
8
9
9
Split out for standalone use.
10
10
@@ -29,7 +29,7 @@ defaultResolution(12);
29
29
| 0.10 | 1s |
30
30
| 0.11+ | 1ms |
31
31
32
- More information at https://github.com/phated /undertaker/pull/17#issuecomment-82374512
32
+ More information at https://github.com/gulpjs /undertaker/pull/17#issuecomment-82374512
33
33
34
34
# License
35
35
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ var match = process.version.match(/v(\d+)\.(\d+)\.(\d+)/);
4
4
var nodeVersion = {
5
5
major : match [ 1 ] ,
6
6
minor : match [ 2 ] ,
7
- patch : match [ 3 ]
7
+ patch : match [ 3 ] ,
8
8
} ;
9
9
10
10
module . exports = nodeVersion ;
Original file line number Diff line number Diff line change 6
6
"contributors" : [
7
7
" Damien Lebrun <dinoboff@hotmail.com>"
8
8
],
9
- "repository" : " phated /default-resolution" ,
9
+ "repository" : " gulpjs /default-resolution" ,
10
10
"license" : " MIT" ,
11
11
"engines" : {
12
12
"node" : " >= 0.10"
18
18
" node-version.js"
19
19
],
20
20
"scripts" : {
21
- "test" : " lab -cvL"
21
+ "lint" : " eslint . && jscs *.js test/" ,
22
+ "test" : " lab -cv"
22
23
},
23
24
"dependencies" : {},
24
25
"devDependencies" : {
25
26
"code" : " ^1.4.0" ,
27
+ "eslint" : " ^1.7.3" ,
28
+ "eslint-config-gulp" : " ^2.0.0" ,
29
+ "jscs" : " ^2.4.0" ,
30
+ "jscs-preset-gulp" : " ^1.0.0" ,
26
31
"lab" : " ^5.5.1"
27
32
},
28
33
"keywords" : [
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends": "gulp/test"
3
+ }
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ var defaultResolution = require('../');
7
7
var nodeVersion = require ( '../node-version' ) ;
8
8
9
9
lab . describe ( 'defaultResolution' , function ( ) {
10
- // typically I don't unit test helpers, but this reduces the last run tests
10
+ // Typically I don't unit test helpers, but this reduces the last run tests
11
11
var major = nodeVersion . major ;
12
12
var minor = nodeVersion . minor ;
13
13
You can’t perform that action at this time.
0 commit comments