UNPKG

@runejs/common

Version:

Common logging, networking, compression, and other miscellaneous functionality for RuneJS.

79 lines (78 loc) 2.65 kB
{ "name": "@runejs/common", "version": "2.0.1", "description": "Common logging, networking, compression, and other miscellaneous functionality for RuneJS.", "main": "./index.js", "types": "./index.d.ts", "exports": { ".": "./index.js", "./buffer": "./buffer/index.js", "./color": "./color/index.js", "./compress": "./compress/index.js", "./crc32": "./crc32/index.js", "./encrypt": "./encrypt/index.js", "./fs": "./fs/index.js", "./logger": "./logger/index.js", "./net": "./net/index.js", "./util": "./util/index.js" }, "scripts": { "build": "tsc", "start": "ts-node src/test.ts", "lint": "eslint --ext .ts src", "lint:fix": "eslint --ext .ts src --fix", "copy-documents": "copyfiles package.json README.md .npmignore LICENSE lib", "package": "rimraf lib && npm i && npm run build && npm run copy-documents && cd lib && npm publish --dry-run", "publish:next": "npm run package && cd lib && npm publish -tag next", "publish:beta": "npm run package && cd lib && npm publish -tag beta", "publish:rc": "npm run package && cd lib && npm publish -tag rc", "publish:release": "npm run package && cd lib && npm publish" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/runejs/common.git" }, "keywords": [ "runejs", "runescape", "typescript" ], "author": "Kikorono", "license": "GPL-3.0", "bugs": { "url": "https://github.com/runejs/common/issues" }, "homepage": "https://github.com/runejs/common#readme", "peerDependencies": { "tslib": ">=2.3.0", "typescript": ">=4.5.0" }, "dependencies": { "compressjs": "^1.0.3", "js-yaml": "^3.14.1", "pino": "^6.14.0", "pino-pretty": "^4.8.0", "sonic-boom": "^2.6.0", "tslib": "^2.3.1" }, "devDependencies": { "@runejs/eslint-config": "^1.0.0", "@types/node": "^16.11.26", "@types/pino": "^6.3.12", "@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/parser": "^4.33.0", "copyfiles": "^2.4.1", "eslint": "^7.32.0", "rimraf": "^3.0.2", "ts-node-dev": "^1.1.8", "typescript": "^4.5.5" }, "eslintConfig": { "extends": [ "@runejs/eslint-config" ], "parserOptions": { "project": "./tsconfig.json" } } }