UNPKG

1.81 kBJSONView Raw
1{
2 "name": "@szmarczak/http-timer",
3 "version": "5.0.1",
4 "description": "Timings for HTTP requests",
5 "type": "module",
6 "exports": "./dist/source/index.js",
7 "engines": {
8 "node": ">=14.16"
9 },
10 "scripts": {
11 "test": "xo && ava",
12 "build": "del-cli dist && tsc",
13 "prepare": "npm run build",
14 "coveralls": "exit 0 && nyc report --reporter=text-lcov | coveralls"
15 },
16 "files": [
17 "dist/source"
18 ],
19 "keywords": [
20 "http",
21 "https",
22 "http2",
23 "timer",
24 "timings",
25 "performance",
26 "measure"
27 ],
28 "repository": {
29 "type": "git",
30 "url": "git+https://github.com/szmarczak/http-timer.git"
31 },
32 "author": "Szymon Marczak",
33 "license": "MIT",
34 "bugs": {
35 "url": "https://github.com/szmarczak/http-timer/issues"
36 },
37 "homepage": "https://github.com/szmarczak/http-timer#readme",
38 "dependencies": {
39 "defer-to-connect": "^2.0.1"
40 },
41 "devDependencies": {
42 "@ava/typescript": "^2.0.0",
43 "@sindresorhus/tsconfig": "^1.0.2",
44 "@types/node": "^16.7.0",
45 "ava": "^3.15.0",
46 "coveralls": "^3.1.1",
47 "del-cli": "^4.0.1",
48 "http2-wrapper": "^2.1.4",
49 "nyc": "^15.1.0",
50 "p-event": "^4.2.0",
51 "ts-node": "^10.2.1",
52 "typescript": "^4.3.5",
53 "xo": "^0.44.0"
54 },
55 "types": "dist/source",
56 "nyc": {
57 "extension": [
58 ".ts"
59 ],
60 "exclude": [
61 "**/tests/**"
62 ]
63 },
64 "xo": {
65 "rules": {
66 "@typescript-eslint/no-non-null-assertion": "off",
67 "@typescript-eslint/no-unsafe-assignment": "off",
68 "@typescript-eslint/no-unsafe-member-access": "off",
69 "@typescript-eslint/no-unsafe-call": "off",
70 "unicorn/prefer-node-protocol": "off"
71 }
72 },
73 "ava": {
74 "files": [
75 "tests/*"
76 ],
77 "timeout": "1m",
78 "nonSemVerExperiments": {
79 "nextGenConfig": true,
80 "configurableModuleFormat": true
81 },
82 "extensions": {
83 "ts": "module"
84 },
85 "nodeArguments": [
86 "--loader=ts-node/esm"
87 ]
88 }
89}