UNPKG

typescript-monads

Version:
113 lines (112 loc) 2.69 kB
{ "name": "typescript-monads", "version": "8.7.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.3.4", "@types/fs-extra": "^9.0.13", "@types/jest": "^29.2.2", "@types/node": "^18.11.9", "@typescript-eslint/eslint-plugin": "^5.42.0", "@typescript-eslint/parser": "^5.42.0", "codecov": "^3.8.3", "eslint": "^8.26.0", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-rxjs": "5.0.2", "fast-check": "^3.3.0", "fs-extra": "^10.1.0", "istanbul": "^0.4.5", "jest": "29.2.2", "jest-junit": "^14.0.1", "rollup": "^2.78.0", "semantic-release": "^19.0.5", "terser": "^5.15.1", "ts-jest": "^29.0.3", "ts-node": "^10.9.1", "tslib": "^2.4.1", "typescript": "^4.8.4" }, "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" ] } }