Add more type definitions from types

This commit is contained in:
Jake Howard 2018-03-15 22:01:07 +00:00
parent 3232eba22a
commit d8ba44143d
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 25 additions and 8 deletions

21
package-lock.json generated
View file

@ -29,6 +29,12 @@
"@types/express": "4.11.1" "@types/express": "4.11.1"
} }
}, },
"@types/docopt": {
"version": "0.6.31",
"resolved": "https://registry.npmjs.org/@types/docopt/-/docopt-0.6.31.tgz",
"integrity": "sha512-GvX4PhD2u/JV+BmPFXfR8F3cez8cV7WdlTzLA0gB/ckYMMmI2voIKdW3CoKC7dj1K08YC8/M5oACLj410A96fQ==",
"dev": true
},
"@types/events": { "@types/events": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/@types/events/-/events-1.2.0.tgz", "resolved": "https://registry.npmjs.org/@types/events/-/events-1.2.0.tgz",
@ -92,6 +98,21 @@
"integrity": "sha512-4Ba90mWNx8ddbafuyGGwjkZMigi+AWfYLSDCpovwsE63ia8w93r3oJ8PIAQc3y8U+XHcnMOHPIzNe3o438Ywcw==", "integrity": "sha512-4Ba90mWNx8ddbafuyGGwjkZMigi+AWfYLSDCpovwsE63ia8w93r3oJ8PIAQc3y8U+XHcnMOHPIzNe3o438Ywcw==",
"dev": true "dev": true
}, },
"@types/node-fetch": {
"version": "1.6.7",
"resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-1.6.7.tgz",
"integrity": "sha1-UhB46PDGmhWOUCIAWsqS0mIPbVc=",
"dev": true,
"requires": {
"@types/node": "9.4.7"
}
},
"@types/open": {
"version": "0.0.29",
"resolved": "https://registry.npmjs.org/@types/open/-/open-0.0.29.tgz",
"integrity": "sha1-PekQASZ0kJ2xTWCNH95E/6ep7Oo=",
"dev": true
},
"@types/serve-index": { "@types/serve-index": {
"version": "1.7.29", "version": "1.7.29",
"resolved": "https://registry.npmjs.org/@types/serve-index/-/serve-index-1.7.29.tgz", "resolved": "https://registry.npmjs.org/@types/serve-index/-/serve-index-1.7.29.tgz",

View file

@ -39,6 +39,9 @@
"serve-index": "1.9.1" "serve-index": "1.9.1"
}, },
"devDependencies": { "devDependencies": {
"@types/docopt": "0.6.31",
"@types/node-fetch": "1.6.7",
"@types/open": "0.0.29",
"@types/chai": "4.1.2", "@types/chai": "4.1.2",
"@types/compression": "0.0.35", "@types/compression": "0.0.35",
"@types/express": "4.11.1", "@types/express": "4.11.1",

View file

@ -2,7 +2,7 @@
import { docopt } from 'docopt'; import { docopt } from 'docopt';
import createServer from './server'; import createServer from './server';
import getArgs from './cli'; import getArgs from './cli';
import * as open from 'open'; import open from 'open';
const ARGS = getArgs(); const ARGS = getArgs();

View file

@ -3,12 +3,5 @@
declare module 'express-ip-access-control'; declare module 'express-ip-access-control';
declare module 'connect-static-file'; declare module 'connect-static-file';
declare module 'express-basic-auth'; declare module 'express-basic-auth';
declare module 'winston'; // doesnt like console transport
declare module 'express-winston';
declare module 'opbeat';
declare module 'docopt';
declare module 'open';
declare module 'node-fetch';
declare module 'chai';
declare module 'expect-ct'; declare module 'expect-ct';
declare module 'referrer-policy'; declare module 'referrer-policy';