UNPKG

@bare-ts/lib

Version:

TypeScript library for BARE, a compact and simple binary-serialization format

76 lines (75 loc) 1.83 kB
{ "name": "@bare-ts/lib", "version": "0.4.0", "description": "TypeScript library for BARE, a compact and simple binary-serialization format", "keywords": [ "bare", "binary format", "decoder", "encoder", "serialization", "schema" ], "author": "Victorien Elvinger (victorien.elvinger.fr)", "license": "MIT", "homepage": "https://baremessages.org", "repository": { "type": "git", "url": "git+https://github.com/bare-ts/lib.git" }, "bugs": { "url": "https://github.com/bare-ts/lib/issues" }, "engines": { "node": "^14.18.0 || >=16.0.0" }, "type": "module", "module": "./dist/index.js", "main": "./dist/index.cjs", "exports": { "./package.json": "./package.json", ".": { "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" }, "types": "./dist/index.d.ts", "module": "./dist/index.js", "default": "./dist/index.js" } }, "imports": { "#dev": { "development": "./dist/env/dev.development.js", "node": "./dist/env/dev.node.js", "default": "./dist/env/dev.js" } }, "sideEffects": false, "files": [ "dist/**/*.cjs", "dist/**/*.d.cts", "dist/**/*.d.ts", "dist/**/*.js" ], "directories": { "test": "tests" }, "scripts": { "build": "sh ./scripts/build.sh", "clean": "rm -rf dist coverage", "coverage": "c8 --reporter=lcovonly npm test", "format": "rome format --write .", "prepare": "validate-commit-msg", "prepublishOnly": "npm run clean && npm test", "test": "sh ./scripts/test.sh", "version": "sh ./scripts/version.sh" }, "devDependencies": { "esbuild": "0.18.4", "oletus": "4.0.0", "rome": "12.1.3", "typescript": "5.1.3", "validate-commit-message": "3.2.0" } }