Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "engine.io-parser",
  3. "description": "Parser for the client for the realtime Engine",
  4. "license": "MIT",
  5. "version": "5.0.4",
  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. "homepage": "https://github.com/socketio/engine.io-parser",
  14. "devDependencies": {
  15. "@babel/core": "~7.9.6",
  16. "@babel/preset-env": "~7.9.6",
  17. "@types/mocha": "^9.0.0",
  18. "@types/node": "^16.9.6",
  19. "babelify": "^10.0.0",
  20. "benchmark": "^2.1.4",
  21. "expect.js": "0.3.1",
  22. "mocha": "^5.2.0",
  23. "nyc": "~15.0.1",
  24. "prettier": "^1.19.1",
  25. "rimraf": "^3.0.2",
  26. "socket.io-browsers": "^1.0.4",
  27. "ts-node": "^10.2.1",
  28. "tsify": "^5.0.4",
  29. "typescript": "^4.4.3",
  30. "zuul": "3.11.1",
  31. "zuul-ngrok": "4.0.0"
  32. },
  33. "scripts": {
  34. "compile": "rimraf ./build && tsc && tsc -p tsconfig.esm.json && ./postcompile.sh",
  35. "test": "npm run format:check && npm run compile && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi",
  36. "test:node": "nyc mocha -r ts-node/register test/index.ts",
  37. "test:browser": "zuul test/index.ts --no-coverage",
  38. "format:check": "prettier --check 'lib/**/*.ts' 'test/**/*.ts'",
  39. "format:fix": "prettier --write 'lib/**/*.ts' 'test/**/*.ts'"
  40. },
  41. "repository": {
  42. "type": "git",
  43. "url": "git@github.com:socketio/engine.io-parser.git"
  44. },
  45. "files": [
  46. "build/"
  47. ],
  48. "browser": {
  49. "./test/node": "./test/browser",
  50. "./build/esm/encodePacket.js": "./build/esm/encodePacket.browser.js",
  51. "./build/esm/decodePacket.js": "./build/esm/decodePacket.browser.js",
  52. "./build/cjs/encodePacket.js": "./build/cjs/encodePacket.browser.js",
  53. "./build/cjs/decodePacket.js": "./build/cjs/decodePacket.browser.js"
  54. },
  55. "engines": {
  56. "node": ">=10.0.0"
  57. }
  58. }