UNPKG

@uttori/data-tools

Version:
149 lines (148 loc) 4.64 kB
{ "name": "@uttori/data-tools", "version": "3.1.2", "description": "Tools for working with binary data.", "author": "Matthew Callis <matthew.callis@gmail.com>", "contributors": [], "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/uttori/uttori-data-tools.git" }, "homepage": "https://github.com/uttori/uttori-data-tools", "keywords": [ "uttori", "binary", "data", "parsing" ], "engines": { "node": ">=20.0.0" }, "optionalDependencies": { "debug": "^4.4.0" }, "devDependencies": { "@eslint/eslintrc": "^3.2.0", "@eslint/js": "^9.18.0", "@rollup/plugin-replace": "^6.0.2", "@types/debug": "^4.1.12", "@types/node": "^22.10.7", "@typescript-eslint/eslint-plugin": "^8.20.0", "@typescript-eslint/parser": "^8.20.0", "ava": "^6.2.0", "c8": "^10.1.3", "eslint": "^9.18.0", "eslint-plugin-anti-trojan-source": "^1.1.1", "eslint-plugin-ava": "^15", "eslint-plugin-jsdoc": "^50.6.1", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-n": "^17.15.1", "eslint-plugin-no-inferred-method-name": "^2.0.0", "eslint-plugin-optimize-regex": "^1.2.1", "eslint-plugin-security": "^3.0.1", "eslint-plugin-xss": "^0.1.12", "globals": "^15.14.0", "jsdoc": "^4.0.4", "jsdoc-to-markdown": "^9.1.1", "jsdoc-tsimport-plugin": "^1.0.5", "pre-commit": "^1.2.2", "release-it": "^18.1.1", "rollup": "^4.30.1", "sinon": "^19.0.2", "typescript": "^5.7.3", "typescript-eslint": "^8.20.0" }, "files": [ "dist/*", "src/*" ], "module": "src/index.js", "type": "module", "types": "dist/index.d.ts", "sideEffects": false, "exports": { ".": { "import": "./src/index.js", "types": "./dist/index.d.ts" }, "./data-bitstream": { "import": "./src/data-bitstream.js", "types": "./dist/data-bitstream.d.ts" }, "./data-buffer-list": { "import": "./src/data-buffer-list.js", "types": "./dist/data-buffer-list.d.ts" }, "./data-buffer": { "import": "./src/data-buffer.js", "types": "./dist/data-buffer.d.ts" }, "./data-formating": { "import": "./src/data-formating.js", "types": "./dist/data-formating.d.ts" }, "./data-hash-crc32": { "import": "./src/data-hash-crc32.js", "types": "./dist/data-hash-crc32.d.ts" }, "./data-helpers": { "import": "./src/data-helpers.js", "types": "./dist/data-helpers.d.ts" }, "./data-stream": { "import": "./src/data-stream.js", "types": "./dist/data-stream.d.ts" }, "./underflow-error": { "import": "./src/underflow-error.js", "types": "./dist/underflow-error.d.ts" } }, "ava": { "files": [ "test/**/*.test.js" ], "concurrency": 10, "failFast": false, "tap": false, "verbose": true }, "c8": { "clean": true, "per-file": true, "check-coverage": false, "include": [ "src/**/*.js" ], "exclude": [] }, "release-it": { "github": { "release": true } }, "scripts": { "docs": "jsdoc2md --configure ./jsdoc.conf.json --private --example-lang js src/data-stream.js > docs/data-stream.md; jsdoc2md --configure ./jsdoc.conf.json --private --example-lang js src/data-hash-crc32.js > docs/data-hash-crc32.md; jsdoc2md --configure ./jsdoc.conf.json --private --example-lang js src/data-buffer-list.js > docs/data-buffer-list.md; jsdoc2md --configure ./jsdoc.conf.json --private --example-lang js src/data-bitstream.js > docs/data-bitstream.md; jsdoc2md --configure ./jsdoc.conf.json --private --example-lang js src/data-buffer.js > docs/data-buffer.md; jsdoc2md --configure ./jsdoc.conf.json --private --example-lang js src/data-helpers.js > docs/data-helpers.md; jsdoc2md --configure ./jsdoc.conf.json --private --example-lang js src/data-formating.js > docs/data-formating.md; jsdoc2md --configure ./jsdoc.conf.json --private --example-lang js src/encodings/shift-jis.js > docs/encodings-shift-jis.md", "lint": "eslint --ignore-pattern \"/test/\" . ", "make-types": "tsc --module nodenext --project ./tsconfig.json", "release": "release-it", "test": "NODE_ENV=test c8 ava", "test-debug": "UTTORI_DATA_DEBUG=true DEBUG=* NODE_ENV=test ava --serial --concurrency=1", "validate": "npm ls" }, "bugs": { "url": "https://github.com/uttori/uttori-data-tools/issues" }, "directories": { "test": "test" }, "pre-commit": [ "lint", "test" ], "private": false, "publishConfig": { "access": "public" } }