Node-Red configuration
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

package.json 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "name": "engine.io-parser",
  3. "description": "Parser for the client for the realtime Engine",
  4. "license": "MIT",
  5. "version": "5.2.3",
  6. "main": "./build/cjs/index.js",
  7. "module": "./build/esm/index.js",
  8. "exports": {
  9. "import": "./build/esm/index.js",
  10. "require": "./build/cjs/index.js"
  11. },
  12. "types": "build/esm/index.d.ts",
  13. "devDependencies": {
  14. "prettier": "^3.3.2"
  15. },
  16. "scripts": {
  17. "compile": "rimraf ./build && tsc && tsc -p tsconfig.esm.json && ./postcompile.sh",
  18. "test": "npm run format:check && npm run compile && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi",
  19. "test:node": "nyc mocha -r ts-node/register test/index.ts",
  20. "test:browser": "zuul test/index.ts --no-coverage",
  21. "format:check": "prettier --check 'lib/**/*.ts' 'test/**/*.ts'",
  22. "format:fix": "prettier --write 'lib/**/*.ts' 'test/**/*.ts'",
  23. "prepack": "npm run compile"
  24. },
  25. "homepage": "https://github.com/socketio/socket.io/tree/main/packages/engine.io-parser#readme",
  26. "repository": {
  27. "type": "git",
  28. "url": "https://github.com/socketio/socket.io.git"
  29. },
  30. "bugs": {
  31. "url": "https://github.com/socketio/socket.io/issues"
  32. },
  33. "files": [
  34. "build/"
  35. ],
  36. "browser": {
  37. "./test/node": "./test/browser",
  38. "./build/esm/encodePacket.js": "./build/esm/encodePacket.browser.js",
  39. "./build/esm/decodePacket.js": "./build/esm/decodePacket.browser.js",
  40. "./build/cjs/encodePacket.js": "./build/cjs/encodePacket.browser.js",
  41. "./build/cjs/decodePacket.js": "./build/cjs/decodePacket.browser.js"
  42. },
  43. "engines": {
  44. "node": ">=10.0.0"
  45. }
  46. }