Files
cypress/packages/socket/package.json

63 lines
1.8 KiB
JSON

{
"name": "@packages/socket",
"version": "0.0.0-development",
"private": true,
"main": "cjs/node/index.js",
"browser": "browser/client/index.js",
"scripts": {
"build": "yarn build:browser && yarn build:node && yarn build:node:esm",
"build-prod": "yarn build",
"build:browser": "rimraf browser && tsc -p tsconfig.browser.json",
"build:node": "rimraf cjs && tsc -p tsconfig.cjs.json",
"build:node:esm": "rimraf esm && tsc -p tsconfig.esm.json",
"check-ts": "tsc -p tsconfig.browser.json --noEmit && tsc -p tsconfig.cjs.json --noEmit && yarn -s tslint",
"clean-deps": "rimraf node_modules",
"postinstall": "patch-package",
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, .",
"test": "yarn test-unit",
"test-debug": "vitest --inspect-brk --no-file-parallelism --test-timeout=0 --hook-timeout=0",
"test-unit": "vitest",
"tslint": "tslint --config ../ts/tslint.json --project .",
"watch": "yarn build:browser -- -w & yarn build:node -- -w"
},
"dependencies": {
"component-emitter": "1.3.0",
"debug": "^4.4.0",
"engine.io": "6.4.2",
"engine.io-parser": "4.0.2",
"flatted": "3.2.9",
"socket.io": "4.0.1",
"socket.io-client": "4.0.1",
"socket.io-parser": "4.0.5",
"uuid": "8.3.2"
},
"devDependencies": {
"@packages/types": "0.0.0-development",
"@types/uuid": "8.3.2",
"cross-env": "7.0.3",
"devtools-protocol": "0.0.1528500",
"resolve-pkg": "2.0.0",
"rimraf": "6.0.1",
"vitest": "^3.2.4"
},
"files": [
"browser/",
"cjs/",
"esm/",
"patches"
],
"module": "esm/node/index.js",
"workspaces": {
"nohoist": [
"devtools-protocol",
"engine.io",
"engine.io-parser",
"socket.io",
"socket.io/socket.io-parser",
"socket.io-client",
"socket.io-client/socket.io-parser"
]
},
"nx": {}
}