UNPKG

cs2-inspect-lib

Version:

Enhanced CS2 Inspect URL library with full protobuf support, validation, and error handling

108 lines (107 loc) 2.55 kB
{ "name": "cs2-inspect-lib", "version": "3.1.0", "description": "Enhanced CS2 Inspect URL library with full protobuf support, validation, and error handling", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "cs2inspect": "dist/cli.js" }, "scripts": { "build": "tsc", "build:watch": "tsc --watch", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "clean": "rm -rf dist", "prepublishOnly": "npm run clean && npm run build && npm test", "dev": "ts-node src/cli.ts", "docs": "typedoc src/index.ts" }, "keywords": [ "cs2", "counter-strike", "inspect", "url", "protobuf", "steam", "gaming", "typescript" ], "author": "sak0a", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/sak0a/cs2-inspect-lib.git" }, "bugs": { "url": "https://github.com/sak0a/cs2-inspect-lib/issues" }, "homepage": "https://sak0a.github.io/cs2-inspect-lib/", "files": [ "dist/**/*", "README.md", "LICENSE" ], "engines": { "node": ">=14.0.0" }, "dependencies": { "commander": "^11.0.0", "node-cs2": "^2.0.0", "steam-user": "^5.2.3" }, "devDependencies": { "@types/jest": "^29.5.0", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.0.0", "jest": "^29.5.0", "ts-jest": "^29.1.0", "ts-node": "^10.9.0", "typedoc": "^0.25.0", "typescript": "^5.0.0" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "roots": [ "<rootDir>/src", "<rootDir>/tests" ], "testMatch": [ "**/__tests__/**/*.ts", "**/?(*.)+(spec|test).ts" ], "collectCoverageFrom": [ "src/**/*.ts", "!src/cli.ts", "!src/**/*.d.ts" ], "coverageDirectory": "coverage", "coverageReporters": [ "text", "lcov", "html" ] }, "eslintConfig": { "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint" ], "extends": [ "eslint:recommended", "@typescript-eslint/recommended" ], "rules": { "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-explicit-any": "warn", "@typescript-eslint/explicit-function-return-type": "off", "@typescript-eslint/explicit-module-boundary-types": "off" } } }