ps2census
Version:
Client to connect to the PS2 Event Stream websocket.
110 lines (109 loc) • 2.87 kB
JSON
{
"name": "ps2census",
"version": "4.9.0",
"description": "Client to connect to the PS2 Event Stream websocket.",
"author": "Microwavekonijn",
"license": "Apache-2.0",
"homepage": "https://github.com/microwavekonijn/ps2census#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/microwavekonijn/ps2census.git"
},
"bugs": {
"url": "https://github.com/microwavekonijn/ps2census/issues"
},
"keywords": [
"planetside",
"ps2",
"census",
"websocket",
"client",
"gaming"
],
"engines": {
"node": ">=14.0.0"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
"module": "./dist/es/index.js",
"sideEffects": false,
"files": [
"dist/",
"package.json",
"README.md",
"LICENSE"
],
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/es/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/cjs/index.js"
},
"./stream": {
"types": "./dist/types/stream/index.d.ts",
"import": "./dist/es/stream/index.js",
"require": "./dist/cjs/stream/index.js",
"default": "./dist/cjs/stream/index.js"
},
"./rest": {
"types": "./dist/types/rest/index.d.ts",
"import": "./dist/es/rest/index.js",
"require": "./dist/cjs/rest/index.js",
"default": "./dist/cjs/rest/index.js"
}
},
"scripts": {
"clean": "rimraf dist",
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build:types": "tsc -p tsconfig.types.json",
"test": "ts-node ./test/test.ts",
"format": "prettier . --write",
"lint": "prettier . --check",
"prepublishOnly": "npm run build",
"postversion": "git push && git push --tags",
"prepare": "husky install"
},
"dependencies": {
"axios": "1.8.4",
"eventemitter3": "5.0.1",
"isomorphic-ws": "5.0.0",
"ws": "8.18.1"
},
"peerDependencies": {
"bufferutil": "^4.0.7",
"utf-8-validate": ">=5.0.10"
},
"peerDependenciesMeta": {
"bufferutil": {
"optional": true
},
"utf-8-validate": {
"optional": true
}
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.29.2",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-angular": "^19.3.0",
"@tsconfig/node14": "^14.1.2",
"@types/node": "^22.14.1",
"@types/ws": "8.18.1",
"concurrently": "^9.1.2",
"dotenv": "^16.5.0",
"husky": "^9.0.11",
"lint-staged": "^15.5.1",
"prettier": "^3.3.2",
"rimraf": "^6.0.1",
"ts-node": "^10.9.1",
"typescript": "^5.8.3"
},
"lint-staged": {
"{src,test}/**/*.{ts,json}": [
"prettier --ignore-path ./.prettierignore --write"
]
}
}