package.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "defer-to-connect",
  3. "version": "1.1.3",
  4. "description": "The safe way to handle the `connect` socket event",
  5. "main": "dist",
  6. "files": [
  7. "dist"
  8. ],
  9. "scripts": {
  10. "build": "del-cli dist && tsc",
  11. "prepublishOnly": "npm run build",
  12. "test": "xo && nyc ava",
  13. "coveralls": "nyc report --reporter=text-lcov | coveralls"
  14. },
  15. "keywords": [
  16. "socket",
  17. "connect",
  18. "event"
  19. ],
  20. "author": "Szymon Marczak",
  21. "license": "MIT",
  22. "repository": {
  23. "type": "git",
  24. "url": "git+https://github.com/szmarczak/defer-to-connect.git"
  25. },
  26. "bugs": {
  27. "url": "https://github.com/szmarczak/defer-to-connect/issues"
  28. },
  29. "homepage": "https://github.com/szmarczak/defer-to-connect#readme",
  30. "xo": {
  31. "extends": "xo-typescript",
  32. "extensions": [
  33. "ts"
  34. ],
  35. "rules": {
  36. "ava/no-ignored-test-files": "off"
  37. }
  38. },
  39. "devDependencies": {
  40. "@sindresorhus/tsconfig": "^0.5.0",
  41. "@types/node": "^12.12.4",
  42. "@typescript-eslint/eslint-plugin": "^1.11.0",
  43. "@typescript-eslint/parser": "^1.11.0",
  44. "ava": "^2.1.0",
  45. "coveralls": "^3.0.7",
  46. "create-cert": "^1.0.6",
  47. "del-cli": "^3.0.0",
  48. "eslint-config-xo-typescript": "^0.15.0",
  49. "nyc": "^14.0.0",
  50. "p-event": "^4.1.0",
  51. "ts-node": "^8.1.0",
  52. "typescript": "^3.6.4",
  53. "xo": "^0.25.3"
  54. },
  55. "nyc": {
  56. "extension": [
  57. ".ts"
  58. ]
  59. },
  60. "ava": {
  61. "babel": false,
  62. "compileEnhancements": false,
  63. "extensions": [
  64. "ts"
  65. ],
  66. "require": [
  67. "ts-node/register"
  68. ],
  69. "files": [
  70. "!dist/tests/test.d.ts"
  71. ]
  72. },
  73. "types": "dist"
  74. }