package.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "name": "socket.io-parser",
  3. "version": "4.0.4",
  4. "description": "socket.io protocol parser",
  5. "repository": {
  6. "type": "git",
  7. "url": "https://github.com/socketio/socket.io-parser.git"
  8. },
  9. "files": [
  10. "dist/"
  11. ],
  12. "main": "./dist/index.js",
  13. "types": "./dist/index.d.ts",
  14. "dependencies": {
  15. "@types/component-emitter": "^1.2.10",
  16. "component-emitter": "~1.3.0",
  17. "debug": "~4.3.1"
  18. },
  19. "devDependencies": {
  20. "@babel/core": "~7.9.6",
  21. "@babel/preset-env": "~7.9.6",
  22. "@types/debug": "^4.1.5",
  23. "@types/node": "^14.11.1",
  24. "babelify": "~10.0.0",
  25. "benchmark": "2.1.2",
  26. "expect.js": "0.3.1",
  27. "mocha": "3.2.0",
  28. "prettier": "^2.1.2",
  29. "rimraf": "^3.0.2",
  30. "socket.io-browsers": "^1.0.0",
  31. "typescript": "^4.0.3",
  32. "zuul": "3.11.1",
  33. "zuul-ngrok": "4.0.0"
  34. },
  35. "scripts": {
  36. "compile": "rimraf ./dist && tsc",
  37. "test": "npm run format:check && npm run compile && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi",
  38. "test:node": "mocha --reporter dot --bail test/index.js",
  39. "test:browser": "zuul test/index.js --no-coverage",
  40. "format:fix": "prettier --write --parser typescript 'lib/**/*.ts' 'test/**/*.js'",
  41. "format:check": "prettier --check --parser typescript 'lib/**/*.ts' 'test/**/*.js'",
  42. "prepack": "npm run compile"
  43. },
  44. "license": "MIT",
  45. "engines": {
  46. "node": ">=10.0.0"
  47. }
  48. }