Skip to content

Commit a4f2b76

Browse files
authored
Merge pull request #11 from node-modules/tweak-project
tweak project
2 parents 7bffdc7 + 9056760 commit a4f2b76

File tree

7 files changed

+6
-70
lines changed

7 files changed

+6
-70
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
[logo-url]: https://npmjs.org/package/detect-port
1313
[npm-image]: https://img.shields.io/npm/v/detect-port.svg?style=flat-square
1414
[npm-url]: https://npmjs.org/package/detect-port
15-
[travis-image]: https://img.shields.io/travis/xudafeng/detect-port.svg?style=flat-square
16-
[travis-url]: https://travis-ci.org/xudafeng/detect-port
17-
[coveralls-image]: https://img.shields.io/coveralls/xudafeng/detect-port.svg?style=flat-square
18-
[coveralls-url]: https://coveralls.io/r/xudafeng/detect-port?branch=master
15+
[travis-image]: https://img.shields.io/travis/node-modules/detect-port.svg?style=flat-square
16+
[travis-url]: https://travis-ci.org/node-modules/detect-port
17+
[coveralls-image]: https://img.shields.io/coveralls/node-modules/detect-port.svg?style=flat-square
18+
[coveralls-url]: https://coveralls.io/r/node-modules/detect-port?branch=master
1919
[node-image]: https://img.shields.io/badge/node.js-%3E=_4-red.svg?style=flat-square
2020
[node-url]: http://nodejs.org/download/
2121
[download-image]: https://img.shields.io/npm/dm/detect-port.svg?style=flat-square

bin/detect-port

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
11
#!/usr/bin/env node
2-
/* ================================================================
3-
* detect-port by xdf(xudafeng[at]126.com)
4-
*
5-
* first created at : Tue Mar 17 2015 00:16:10 GMT+0800 (CST)
6-
*
7-
* ================================================================
8-
* Copyright 2013 xdf
9-
*
10-
* Licensed under the MIT License
11-
* You may not use this file except in compliance with the License.
12-
*
13-
* ================================================================ */
142

153
'use strict';
164

index.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
/* ================================================================
2-
* detect-port by xdf(xudafeng[at]126.com)
3-
*
4-
* first created at : Tue Mar 17 2015 00:16:10 GMT+0800 (CST)
5-
*
6-
* ================================================================
7-
* Copyright xdf
8-
*
9-
* Licensed under the MIT License
10-
* You may not use this file except in compliance with the License.
11-
*
12-
* ================================================================ */
13-
141
'use strict';
152

163
module.exports = require('./lib/detect-port');

lib/detect-port.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
/* ================================================================
2-
* detect-port by xdf(xudafeng[at]126.com)
3-
*
4-
* first created at : Tue Mar 17 2015 00:16:10 GMT+0800 (CST)
5-
*
6-
* ================================================================
7-
* Copyright xdf
8-
*
9-
* Licensed under the MIT License
10-
* You may not use this file except in compliance with the License.
11-
*
12-
* ================================================================ */
13-
141
'use strict';
152

163
const net = require('net');

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"main": "index.js",
1414
"repository": {
1515
"type": "git",
16-
"url": "git://github.com/xudafeng/detect-port.git"
16+
"url": "git://github.com/node-modules/detect-port.git"
1717
},
1818
"dependencies": {},
1919
"devDependencies": {
@@ -35,6 +35,6 @@
3535
"engines": {
3636
"node": ">= 4.2.1"
3737
},
38-
"homepage": "https://github.com/xudafeng/detect-port",
38+
"homepage": "https://github.com/node-modules/detect-port",
3939
"license": "MIT"
4040
}

test/cli.test.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
/* ================================================================
2-
* detect-port by xdf(xudafeng[at]126.com)
3-
*
4-
* first created at : Tue Mar 17 2015 00:16:10 GMT+0800 (CST)
5-
*
6-
* ================================================================
7-
* Copyright xdf
8-
*
9-
* Licensed under the MIT License
10-
* You may not use this file except in compliance with the License.
11-
*
12-
* ================================================================ */
13-
141
'use strict';
152

163
const path = require('path');

test/detect-port.test.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
/* ================================================================
2-
* detect-port by xdf(xudafeng[at]126.com)
3-
*
4-
* first created at : Tue Mar 17 2015 00:16:10 GMT+0800 (CST)
5-
*
6-
* ================================================================
7-
* Copyright xdf
8-
*
9-
* Licensed under the MIT License
10-
* You may not use this file except in compliance with the License.
11-
*
12-
* ================================================================ */
13-
141
'use strict';
152

163
const detectPort = require('..');

0 commit comments

Comments
 (0)