UNPKG

1.59 kBJSONView Raw
1{
2 "name": "defer-to-connect",
3 "version": "2.0.1",
4 "description": "The safe way to handle the `connect` socket event",
5 "main": "dist/source",
6 "files": [
7 "dist/source"
8 ],
9 "engines": {
10 "node": ">=10"
11 },
12 "scripts": {
13 "build": "del-cli dist && tsc",
14 "prepare": "npm run build",
15 "test": "xo && tsc --noEmit && nyc ava",
16 "coveralls": "nyc report --reporter=text-lcov | coveralls"
17 },
18 "keywords": [
19 "socket",
20 "connect",
21 "event"
22 ],
23 "author": "Szymon Marczak",
24 "license": "MIT",
25 "repository": {
26 "type": "git",
27 "url": "git+https://github.com/szmarczak/defer-to-connect.git"
28 },
29 "bugs": {
30 "url": "https://github.com/szmarczak/defer-to-connect/issues"
31 },
32 "homepage": "https://github.com/szmarczak/defer-to-connect#readme",
33 "xo": {
34 "extends": "xo-typescript",
35 "extensions": [
36 "ts"
37 ]
38 },
39 "devDependencies": {
40 "@ava/typescript": "^1.1.0",
41 "@sindresorhus/tsconfig": "^0.7.0",
42 "@types/node": "^13.5.0",
43 "@typescript-eslint/eslint-plugin": "^2.18.0",
44 "@typescript-eslint/parser": "^2.18.0",
45 "ava": "^3.2.0",
46 "coveralls": "^3.0.9",
47 "create-cert": "^1.0.6",
48 "del-cli": "^3.0.0",
49 "eslint-config-xo-typescript": "^0.24.1",
50 "nyc": "^15.0.0",
51 "p-event": "^4.1.0",
52 "typescript": "^3.7.5",
53 "xo": "^0.25.3"
54 },
55 "nyc": {
56 "include": [
57 "dist/source"
58 ],
59 "extension": [
60 ".ts"
61 ]
62 },
63 "ava": {
64 "typescript": {
65 "rewritePaths": {
66 "tests/": "dist/tests/"
67 }
68 }
69 },
70 "types": "dist/source/index.d.ts"
71}