-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
44 lines (44 loc) · 1.4 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"name": "fastify-http2https",
"version": "0.0.4",
"description": "Redirect clear HTTP requests to HTTPS, both using the same port for Fastify",
"source": "index.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"keywords": [
"Fastify",
"http",
"redirect"
],
"repository": {
"type": "git",
"url": "https://github.com/lolo32/fastify-http2https.git"
},
"scripts": {
"build": "tsc",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"test": "nyc --extension .js --extension .ts mocha --require ts-node/register --ui=tdd test/*.ts test/*.js",
"benchmark": "npm run benchmark:vanilla && npm run benchmark:redirect",
"benchmark:vanilla": "concurrently -k -s first \"node ./benchmark/without.js\" \"autocannon -c 100 -d 5 -p 10 https://localhost:3000/\"",
"benchmark:redirect": "concurrently -k -s first \"node ./benchmark/with.js\" \"autocannon -c 100 -d 5 -p 10 https://localhost:3000/\""
},
"author": "Lolo_32",
"license": "Apache-2.0",
"peerDependencies": {
"fastify": "*"
},
"devDependencies": {
"@types/mocha": "latest",
"@types/node": "latest",
"@types/supertest": "2.0.7",
"autocannon": "3.2.0",
"codecov": "3.1.0",
"concurrently": "4.1.0",
"fastify": "1.13.1",
"mocha": "5.2.0",
"nyc": "13.1.0",
"supertest": "3.3.0",
"ts-node": "7.0.1",
"typescript": "3.2.1"
}
}