update to latest dependencies

This commit is contained in:
Philipp Kunz 2016-06-20 22:56:09 +02:00
parent d25033b84b
commit 9cb3c1508e
5 changed files with 20 additions and 15 deletions

5
.gitignore vendored
View File

@ -1,8 +1,7 @@
coverage/
docs/
ts/typings/
ts/**/*.js
ts/**/*.js.map
.idea/
node_modules/
.nogit/
nogit/

View File

@ -3,7 +3,7 @@
"version": "0.0.3",
"description": "cloudflare management for CoreOS",
"main": "dist/index.js",
"typings":"dist/index.d.ts",
"typings": "dist/index.d.ts",
"scripts": {
"test": "(npmts)"
},
@ -30,6 +30,7 @@
},
"devDependencies": {
"npmts-g": "^5.2.6",
"qenv": "^1.0.6",
"should": "^9.0.2",
"typings-test": "^1.0.1"
}

3
qenv.yml Normal file
View File

@ -0,0 +1,3 @@
vars:
- CF_EMAIL
- CF_KEY

File diff suppressed because one or more lines are too long

View File

@ -1,12 +1,13 @@
import "typings-test";
import cflare = require("../dist/index");
let should = require("should");
let nogit = require("../nogit/nogit.json");
import {Qenv} from "qenv";
let testQenv = new Qenv(process.cwd(),process.cwd() + "/.nogit");
let testCflareAccount = new cflare.CflareAccount();
testCflareAccount.auth({
email: nogit.cfemail,
key: nogit.cfkey
email: process.env.CF_EMAIL,
key: process.env.CF_KEY
});
describe("cflare",function(){
@ -24,7 +25,7 @@ describe("cflare",function(){
describe(".getZoneId(domainName)",function(){
it("should get an Cloudflare Id for a domain string",function(done){
this.timeout(10000)
testCflareAccount.getZoneId("push.rocks")
testCflareAccount.getZoneId("bleu.de")
.then((responseArg)=>{
console.log(responseArg);
done();
@ -34,7 +35,7 @@ describe("cflare",function(){
describe(".listRecords(domainName)",function(){
it("should list all records for a specific Domain Name",function(done){
this.timeout(10000);
testCflareAccount.listRecords("push.rocks")
testCflareAccount.listRecords("bleu.de")
.then((responseArg) => {
console.log(responseArg);
done();