UNPKG

typescript-monads

Version:
113 lines (112 loc) 2.68 kB
{ "name": "typescript-monads", "version": "9.5.0", "description": "Write cleaner TypeScript", "main": "index.js", "module": "index.esm.js", "commonJs": "index.cjs.js", "typings": "index.d.ts", "sideEffects": false, "author": "Patrick Michalina <patrickmichalina@mac.com> (https://patrickmichalina.com)", "contributors": [ "Williama Reynolds" ], "license": "MIT", "repository": { "type": "git", "url": "https://github.com/patrickmichalina/typescript-monads" }, "keywords": [ "typescript", "javascript", "monads", "maybe", "result", "either", "list", "state", "functional", "list-monad", "maybe-monad", "either-monad", "result-monad", "state-monad" ], "scripts": { "test": "jest --maxWorkers=6", "test.watch": "jest --watch", "dist": "ts-node ./scripts/publish-prep.ts", "lint": "tsc --noEmit && eslint '{src,apps,libs,test,e2e,tools}/**/*.ts'", "lint.fix": "npm run lint -- --fix", "build": "tsc -p tsconfig.build.json && npm run rollup && terser dist/index.js -o dist/index.min.js --source-map", "rollup": "rollup -c rollup.config.js" }, "release": { "pkgRoot": "dist" }, "devDependencies": { "@rollup/plugin-typescript": "8.5.0", "@types/fs-extra": "11.0.4", "@types/jest": "29.5.14", "@types/node": "22.13.11", "@typescript-eslint/eslint-plugin": "^5.59.2", "@typescript-eslint/parser": "^5.59.2", "codecov": "3.8.3", "eslint": "8.57.1", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-rxjs": "5.0.3", "fast-check": "4.0.0", "fs-extra": "11.3.0", "istanbul": "0.4.5", "jest": "29.7.0", "jest-junit": "16.0.0", "rollup": "2.79.2", "semantic-release": "21.0.2", "terser": "5.39.0", "ts-jest": "29.2.6", "ts-node": "10.9.2", "tslib": "2.8.1", "typescript": "5.8.2" }, "optionalDependencies": { "rxjs": "^7" }, "jest": { "testEnvironmentOptions": { "url": "http://localhost" }, "collectCoverage": true, "collectCoverageFrom": [ "src/**/*.ts" ], "coverageReporters": [ "lcov", "text" ], "coverageThreshold": { "global": { "branches": 100, "functions": 100, "lines": 100, "statements": 100 } }, "transform": { "^.+\\.tsx?$": "ts-jest" }, "testPathIgnorePatterns": [ "/node_modules/", "/dist/", "public_api.ts" ], "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(ts?)$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ] } }