UNPKG

@plandek-utils/safe-parsing

Version:

Safe parsing utilities for strings and floats

67 lines (66 loc) 1.87 kB
{ "name": "@plandek-utils/safe-parsing", "version": "1.0.2", "description": "Safe parsing utilities for strings and floats", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "files": [ "dist", "src" ], "engines": { "node": ">=20" }, "scripts": { "commit": "git-cz", "build": "npm run build:tsup && npm run build:dts", "build:tsup": "tsup", "build:dts": "echo 'emitting Declaration using tsc' && tsc --emitDeclarationOnly", "test": "vitest run", "test:watch": "vitest watch", "test:coverage": "vitest run --coverage", "fix": "npm run fix:biome", "fix:biome": "biome check --write src", "clean": "rm -rf dist", "prepare": "npm run build", "check": "npm run check:biome && npm run check:tsc", "check:biome": "biome check src", "check:tsc": "tsc --noEmit", "prepare-release": "npm run fix && npm run check && npm run test && npm run build" }, "keywords": [ "parsing", "string", "float", "typescript", "utilities" ], "author": "plandek-utils", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/plandek-utils/safe-parsing.git" }, "bugs": { "url": "https://github.com/plandek-utils/safe-parsing/issues" }, "homepage": "https://github.com/plandek-utils/safe-parsing#readme", "devDependencies": { "@biomejs/biome": "^1.9.4", "@commitlint/cli": "^19.6.1", "@commitlint/config-conventional": "^19.6.0", "@commitlint/cz-commitlint": "^19.6.1", "@vitest/coverage-v8": "^3.0.4", "commitizen": "^4.3.1", "inquirer": "^9.3.7", "tsup": "^8.3.6", "typescript": "^5.7.3", "vitest": "^3.0.4" }, "peerDependencies": { "@plandek-utils/safe-compact": "^2.0.2", "@plandek-utils/ts-parse-dayjs": "^6.4.0", "dayjs": "^1.11.13" } }