UNPKG

node-insim

Version:

An InSim library for NodeJS with TypeScript support

123 lines (122 loc) 3.84 kB
{ "name": "node-insim", "version": "4.7.0", "description": "An InSim library for NodeJS with TypeScript support", "keywords": [ "lfs", "live for speed", "insim", "node", "nodejs", "node.js" ], "repository": "git@github.com:simbroadcasts/node-insim.git", "author": "Martin Kapal <flamecze@gmail.com>", "contributors": [ "Peter Butcher <pete@pbutcher.uk> (https://pbutcher.uk)", "Gedas Valuntis <xspeedasx@gmail.com>" ], "license": "MIT", "private": false, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", "typesVersions": { "*": { "packets": [ "./dist/types/packets/index.d.ts" ] } }, "files": [ "dist", "!dist/types/protocols", "!dist/types/decorators.d.ts", "!dist/types/lfspack.d.ts", "!dist/types/log.d.ts" ], "exports": { ".": { "types": "./dist/types/index.d.ts", "node": "./dist/cjs/index.js", "require": "./dist/cjs/index.js", "import": "./dist/esm/index.js", "default": "./dist/esm/index.js" }, "./packets": { "types": "./dist/types/packets/index.d.ts", "node": "./dist/cjs/packets/index.js", "require": "./dist/cjs/packets/index.js", "import": "./dist/esm/packets/index.js", "default": "./dist/esm/packets/index.js" }, "./package.json": "./package.json" }, "scripts": { "commit": "cz", "prebuild": "rimraf ./dist", "build": "tsc -b ./src/tsconfig.cjs.json ./src/tsconfig.esm.json ./src/tsconfig.types.json", "dev": "cross-env DEBUG=* tsx watch ./src/index.ts", "dev:nodebug": "tsx watch ./src/index.ts", "test": "run-s test:compile \"test:run {@}\" --", "test:compile": "tsc -p tsconfig.test.json", "test:run": "vitest", "test:lfs": "run-s test:compile \"test:run -c vitest.config.lfs.ts {@}\" --", "test:examples": "node scripts/build-examples.cjs", "check-all": "run-s format lint:fix build \"test --watch=false\" test:examples", "format": "run-s \"format:no-write --write\"", "format:no-write": "prettier \"./**/*.{cjs,js,ts,md,json,yml,yaml}\"", "format:check": "run-s \"format:no-write --check\"", "lint": "eslint \"./src/**/*\" --ext .js,.ts", "lint:fix": "eslint \"./src/**/*\" --ext .js,.ts --fix", "generate": "run-s \"generate:plop {@}\" lint:fix format --", "generate:plop": "plop", "docs:generate": "typedoc", "prepare": "husky", "prepack": "run-s build" }, "dependencies": { "@types/debug": "^4.1.12", "@types/lodash.defaults": "^4.2.9", "debug": "^4.4.0", "lodash.defaults": "^4.2.0", "parse-lfs-message": "^1.2.4", "reflect-metadata": "^0.2.2", "supports-color": "^10.0.0", "tiny-typed-emitter": "^2.1.0", "unicode-to-lfs": "^2.0.0" }, "devDependencies": { "@types/ip": "^1.1.3", "@types/jest": "^29.5.14", "@types/mitm": "^1.3.8", "@types/node": "^22.15.2", "@typescript-eslint/eslint-plugin": "^8.31.0", "@typescript-eslint/parser": "^8.31.0", "@vitest/coverage-v8": "^3.2.2", "cross-env": "^7.0.3", "cz-conventional-changelog": "^3.3.0", "dotenv": "^16.5.0", "eslint": "^8.56.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-simple-import-sort": "^10.0.0", "husky": "^9.1.7", "jest": "^29.7.0", "jest-junit": "^16.0.0", "mitm": "^1.7.3", "npm-run-all": "^4.1.5", "plop": "^4.0.1", "prettier": "^3.5.3", "rimraf": "^6.0.1", "tsx": "^4.19.3", "typedoc": "^0.28.3", "typescript": "^5.8.3", "vitest": "^3.2.2" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "packageManager": "yarn@1.22.22+sha256.c17d3797fb9a9115bf375e31bfd30058cac6bc9c3b8807a3d8cb2094794b51ca" }