[6a3a178] | 1 | {
|
---|
| 2 | "name": "socket.io",
|
---|
| 3 | "version": "3.1.2",
|
---|
| 4 | "description": "node.js realtime framework server",
|
---|
| 5 | "keywords": [
|
---|
| 6 | "realtime",
|
---|
| 7 | "framework",
|
---|
| 8 | "websocket",
|
---|
| 9 | "tcp",
|
---|
| 10 | "events",
|
---|
| 11 | "socket",
|
---|
| 12 | "io"
|
---|
| 13 | ],
|
---|
| 14 | "files": [
|
---|
| 15 | "dist/",
|
---|
| 16 | "client-dist/",
|
---|
| 17 | "wrapper.mjs",
|
---|
| 18 | "!**/*.tsbuildinfo"
|
---|
| 19 | ],
|
---|
| 20 | "directories": {
|
---|
| 21 | "doc": "docs/",
|
---|
| 22 | "example": "example/",
|
---|
| 23 | "lib": "lib/",
|
---|
| 24 | "test": "test/"
|
---|
| 25 | },
|
---|
| 26 | "type": "commonjs",
|
---|
| 27 | "main": "./dist/index.js",
|
---|
| 28 | "exports": {
|
---|
| 29 | "import": "./wrapper.mjs",
|
---|
| 30 | "require": "./dist/index.js"
|
---|
| 31 | },
|
---|
| 32 | "types": "./dist/index.d.ts",
|
---|
| 33 | "license": "MIT",
|
---|
| 34 | "repository": {
|
---|
| 35 | "type": "git",
|
---|
| 36 | "url": "git://github.com/socketio/socket.io"
|
---|
| 37 | },
|
---|
| 38 | "scripts": {
|
---|
| 39 | "compile": "rimraf ./dist && tsc",
|
---|
| 40 | "test": "npm run format:check && npm run compile && nyc mocha --require ts-node/register --reporter spec --slow 200 --bail --timeout 10000 test/socket.io.ts",
|
---|
| 41 | "format:check": "prettier --check \"lib/**/*.ts\" \"test/**/*.ts\"",
|
---|
| 42 | "format:fix": "prettier --write \"lib/**/*.ts\" \"test/**/*.ts\"",
|
---|
| 43 | "prepack": "npm run compile"
|
---|
| 44 | },
|
---|
| 45 | "dependencies": {
|
---|
| 46 | "@types/cookie": "^0.4.0",
|
---|
| 47 | "@types/cors": "^2.8.8",
|
---|
| 48 | "@types/node": ">=10.0.0",
|
---|
| 49 | "accepts": "~1.3.4",
|
---|
| 50 | "base64id": "~2.0.0",
|
---|
| 51 | "debug": "~4.3.1",
|
---|
| 52 | "engine.io": "~4.1.0",
|
---|
| 53 | "socket.io-adapter": "~2.1.0",
|
---|
| 54 | "socket.io-parser": "~4.0.3"
|
---|
| 55 | },
|
---|
| 56 | "devDependencies": {
|
---|
| 57 | "@types/mocha": "^8.0.4",
|
---|
| 58 | "babel-eslint": "^10.1.0",
|
---|
| 59 | "eslint": "^7.14.0",
|
---|
| 60 | "eslint-config-prettier": "^6.11.0",
|
---|
| 61 | "expect.js": "0.3.1",
|
---|
| 62 | "mocha": "^3.5.3",
|
---|
| 63 | "nyc": "^15.1.0",
|
---|
| 64 | "prettier": "^2.2.0",
|
---|
| 65 | "rimraf": "^3.0.2",
|
---|
| 66 | "socket.io-client": "3.1.2",
|
---|
| 67 | "socket.io-client-v2": "npm:socket.io-client@^2.4.0",
|
---|
| 68 | "superagent": "^6.1.0",
|
---|
| 69 | "supertest": "^6.0.1",
|
---|
| 70 | "ts-node": "^9.0.0",
|
---|
| 71 | "typescript": "^4.1.2"
|
---|
| 72 | },
|
---|
| 73 | "contributors": [
|
---|
| 74 | {
|
---|
| 75 | "name": "Guillermo Rauch",
|
---|
| 76 | "email": "rauchg@gmail.com"
|
---|
| 77 | },
|
---|
| 78 | {
|
---|
| 79 | "name": "Arnout Kazemier",
|
---|
| 80 | "email": "info@3rd-eden.com"
|
---|
| 81 | },
|
---|
| 82 | {
|
---|
| 83 | "name": "Vladimir Dronnikov",
|
---|
| 84 | "email": "dronnikov@gmail.com"
|
---|
| 85 | },
|
---|
| 86 | {
|
---|
| 87 | "name": "Einar Otto Stangvik",
|
---|
| 88 | "email": "einaros@gmail.com"
|
---|
| 89 | }
|
---|
| 90 | ],
|
---|
| 91 | "engines": {
|
---|
| 92 | "node": ">=10.0.0"
|
---|
| 93 | }
|
---|
| 94 | }
|
---|