travis added, package.json fixes
This commit is contained in:
parent
d01b3cc124
commit
a15dd29c53
8
.travis.yml
Normal file
8
.travis.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
language: node_js
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
- develop
|
||||||
|
node_js:
|
||||||
|
- "4"
|
||||||
|
- "5"
|
15
package.json
15
package.json
@ -6,14 +6,22 @@
|
|||||||
"keywords": [
|
"keywords": [
|
||||||
"WiFi",
|
"WiFi",
|
||||||
"Node.js",
|
"Node.js",
|
||||||
"scanner"
|
"scanner",
|
||||||
|
"airport",
|
||||||
|
"netsh",
|
||||||
|
"iwlist",
|
||||||
|
"nmcli"
|
||||||
],
|
],
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Christian Kuster, CH-8342 Wernetshausen",
|
"name": "Christian Kuster, CH-8342 Wernetshausen",
|
||||||
"email": "info@kusti.ch",
|
"email": "info@kusti.ch",
|
||||||
"url": "http://www.kusti.ch/"
|
"url": "http://www.kusti.ch/"
|
||||||
},
|
},
|
||||||
"homepage": "http://www.ferropoly.ch/",
|
"homepage": "https://github.com/ancasicolica/node-wifi-scanner",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/ancasicolica/node-wifi-scanner/issues",
|
||||||
|
"email": "info@ancasicolica.ch"
|
||||||
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -31,6 +39,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"grunt": "0.4.5",
|
"grunt": "0.4.5",
|
||||||
"grunt-bump": "0.7.0"
|
"grunt-bump": "0.7.0",
|
||||||
|
"mocha": "2.2.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -93,7 +93,7 @@ describe('netsh', function () {
|
|||||||
netsh.parseOutput(fs.readFileSync(path.join(__dirname, 'fixtures', 'netsh', 'netsh_sp.txt'), {encoding: 'utf8'}), (err, info) => {
|
netsh.parseOutput(fs.readFileSync(path.join(__dirname, 'fixtures', 'netsh', 'netsh_sp.txt'), {encoding: 'utf8'}), (err, info) => {
|
||||||
assert.ok(info);
|
assert.ok(info);
|
||||||
assert.equal(info.length, 8);
|
assert.equal(info.length, 8);
|
||||||
console.log(info);
|
|
||||||
var ap = info[0];
|
var ap = info[0];
|
||||||
assert.equal(ap.mac, '98:fc:11:b6:88:9e');
|
assert.equal(ap.mac, '98:fc:11:b6:88:9e');
|
||||||
assert.equal(ap.ssid, 'CARAMANZANAS_BAJA');
|
assert.equal(ap.ssid, 'CARAMANZANAS_BAJA');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user