Replace typings with @types

This commit is contained in:
Jake Howard 2018-01-28 11:24:43 +00:00
parent bdcff47ba4
commit 08a15c97ab
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 105 additions and 1209 deletions

1285
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -8,7 +8,7 @@
}, },
"scripts": { "scripts": {
"start": "node ./dist/index.js", "start": "node ./dist/index.js",
"prepublish": "typings install && npm run build", "prepublish": "npm run build",
"build": "tsc", "build": "tsc",
"test": "npm run build && npm run lint && npm run mocha", "test": "npm run build && npm run lint && npm run mocha",
"mocha": "mocha --compilers ts:ts-node/register --require scripts/test-helper.js --recursive --bail tests/**/*.test.ts tests/*.test.ts", "mocha": "mocha --compilers ts:ts-node/register --require scripts/test-helper.js --recursive --bail tests/**/*.test.ts tests/*.test.ts",
@ -41,6 +41,12 @@
"winston": "2.3.1" "winston": "2.3.1"
}, },
"devDependencies": { "devDependencies": {
"@types/chai": "4.1.2",
"@types/compression": "0.0.35",
"@types/express": "4.11.0",
"@types/helmet": "0.0.37",
"@types/mocha": "2.2.47",
"@types/serve-index": "1.7.29",
"chai": "4.0.2", "chai": "4.0.2",
"chai-as-promised": "7.1.1", "chai-as-promised": "7.1.1",
"mocha": "3.4.2", "mocha": "3.4.2",
@ -48,7 +54,6 @@
"supertest": "3.0.0", "supertest": "3.0.0",
"ts-node": "3.2.0", "ts-node": "3.2.0",
"tslint": "5.5.0", "tslint": "5.5.0",
"typescript": "2.2.1", "typescript": "2.2.1"
"typings": "2.1.0"
} }
} }

View file

@ -21,7 +21,7 @@
], ],
"typeRoots": [ "typeRoots": [
"node_modules", "node_modules",
"typings", "node_modules/@types/",
"src/types" "src/types"
], ],
"compileOnSave": false "compileOnSave": false

View file

@ -1,16 +0,0 @@
{
"dependencies": {
"compression": "registry:dt/compression#0.0.0+20160725212620",
"debug": "registry:npm/debug#2.0.0+20160723033700",
"express": "registry:npm/express#4.14.0+20160925001530",
"helmet": "registry:dt/helmet#0.0.0+20170310054102",
"serve-index": "registry:dt/serve-index#1.7.2+20160428043022"
},
"globalDependencies": {
"node": "registry:dt/node#7.0.0+20170204020307"
},
"globalDevDependencies": {
"chai": "registry:dt/chai#3.4.0+20170217154556",
"mocha": "registry:dt/mocha#2.2.5+20170204022515"
}
}