archive
/
tstatic
Archived
1
Fork 0

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": {
"start": "node ./dist/index.js",
"prepublish": "typings install && npm run build",
"prepublish": "npm run build",
"build": "tsc",
"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",
@ -41,6 +41,12 @@
"winston": "2.3.1"
},
"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-as-promised": "7.1.1",
"mocha": "3.4.2",
@ -48,7 +54,6 @@
"supertest": "3.0.0",
"ts-node": "3.2.0",
"tslint": "5.5.0",
"typescript": "2.2.1",
"typings": "2.1.0"
"typescript": "2.2.1"
}
}

View File

@ -21,7 +21,7 @@
],
"typeRoots": [
"node_modules",
"typings",
"node_modules/@types/",
"src/types"
],
"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"
}
}