package.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "name": "engine.io-parser",
  3. "description": "Parser for the client for the realtime Engine",
  4. "license": "MIT",
  5. "version": "4.0.1",
  6. "main": "lib/index.js",
  7. "homepage": "https://github.com/socketio/engine.io-parser",
  8. "devDependencies": {
  9. "@babel/core": "~7.9.6",
  10. "@babel/preset-env": "~7.9.6",
  11. "babel-eslint": "^10.0.3",
  12. "babelify": "^10.0.0",
  13. "base64-arraybuffer": "0.1.5",
  14. "benchmark": "^2.1.4",
  15. "eslint": "^6.8.0",
  16. "eslint-config-prettier": "^6.9.0",
  17. "expect.js": "0.3.1",
  18. "mocha": "^5.2.0",
  19. "nyc": "~15.0.1",
  20. "prettier": "^1.19.1",
  21. "socket.io-browsers": "^1.0.4",
  22. "zuul": "3.11.1",
  23. "zuul-ngrok": "4.0.0"
  24. },
  25. "dependencies": {},
  26. "scripts": {
  27. "test": "npm run lint && npm run format:check && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi",
  28. "test:node": "nyc mocha test/index.js",
  29. "test:browser": "zuul test/index.js --no-coverage",
  30. "format:check": "prettier --check 'lib/**/*.js' 'test/**/*.js'",
  31. "format:fix": "prettier --write 'lib/**/*.js' 'test/**/*.js'",
  32. "lint": "eslint 'lib/**/*.js' 'test/**/*.js'"
  33. },
  34. "repository": {
  35. "type": "git",
  36. "url": "git@github.com:socketio/engine.io-parser.git"
  37. },
  38. "files": [
  39. "lib/"
  40. ],
  41. "browser": {
  42. "./lib/encodePacket.js": "./lib/encodePacket.browser.js",
  43. "./lib/decodePacket.js": "./lib/decodePacket.browser.js"
  44. },
  45. "engines": {
  46. "node": ">=8.0.0"
  47. }
  48. }