Node-Red configuration
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

package.json 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "socket.io-parser",
  3. "version": "4.2.1",
  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. "build/"
  11. ],
  12. "main": "./build/cjs/index.js",
  13. "module": "./build/esm/index.js",
  14. "types": "./build/esm/index.d.ts",
  15. "exports": {
  16. "import": {
  17. "node": "./build/esm-debug/index.js",
  18. "default": "./build/esm/index.js"
  19. },
  20. "require": "./build/cjs/index.js"
  21. },
  22. "dependencies": {
  23. "@socket.io/component-emitter": "~3.1.0",
  24. "debug": "~4.3.1"
  25. },
  26. "devDependencies": {
  27. "@babel/core": "~7.9.6",
  28. "@babel/preset-env": "~7.9.6",
  29. "@types/debug": "^4.1.5",
  30. "@types/node": "^14.11.1",
  31. "babelify": "~10.0.0",
  32. "benchmark": "2.1.2",
  33. "expect.js": "0.3.1",
  34. "mocha": "3.2.0",
  35. "prettier": "^2.1.2",
  36. "rimraf": "^3.0.2",
  37. "socket.io-browsers": "^1.0.0",
  38. "typescript": "^4.0.3",
  39. "zuul": "3.11.1",
  40. "zuul-ngrok": "4.0.0"
  41. },
  42. "scripts": {
  43. "compile": "rimraf ./build && tsc && tsc -p tsconfig.esm.json && ./postcompile.sh",
  44. "test": "npm run format:check && npm run compile && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi",
  45. "test:node": "mocha --reporter dot --bail test/index.js",
  46. "test:browser": "zuul test/index.js --no-coverage",
  47. "format:fix": "prettier --write --parser typescript 'lib/**/*.ts' 'test/**/*.js'",
  48. "format:check": "prettier --check --parser typescript 'lib/**/*.ts' 'test/**/*.js'",
  49. "prepack": "npm run compile"
  50. },
  51. "license": "MIT",
  52. "engines": {
  53. "node": ">=10.0.0"
  54. }
  55. }