Skip to main content
Module

x/monads/package.json

👻 Option, Result, and Either types for TypeScript; Inspired by Rust
Go to Latest
File
{ "name": "@sniptt/monads", "version": "0.5.2", "description": "Option, Result, and Either types for TypeScript; Inspired by Rust", "files": [ "build" ], "types": "build", "engines": { "node": ">=14", "npm": ">=7" }, "scripts": { "build": "tsc", "format": "prettier --loglevel warn --write \"**/*.{ts,js,json,yaml}\"", "format:check": "prettier --loglevel warn --check \"**/*.{ts,js,json,yaml}\"", "test": "ava ./test/**/*.test.ts", "docs": "rm -rf ./docs && typedoc lib/index.ts --excludePrivate --excludeProtected --plugin typedoc-plugin-markdown --readme none --out ./docs", "preversion": "npm run format:check && npm run build && npm test", "prepublishOnly": "npm run format:check && npm run build && npm test", "postversion": "git push --follow-tags" }, "keywords": [ "monads", "option", "result", "either", "javascript", "js", "typescript", "node", "node.js" ], "author": "Slavo Vojacek", "license": "MIT", "devDependencies": { "ava": "3.15.0", "prettier": "2.3.2", "ts-node": "10.1.0", "typedoc": "0.21.4", "typedoc-plugin-markdown": "3.10.4", "typescript": "4.3.5" }, "repository": { "type": "git", "url": "git@github.com:sniptt/monads.git" }, "ava": { "extensions": [ "ts" ], "require": [ "ts-node/register" ] }}