UNPKG

true-myth

Version:

A library for safe functional programming in JavaScript, with first-class support for TypeScript

135 lines (134 loc) 3.9 kB
{ "name": "true-myth", "description": "A library for safe functional programming in JavaScript, with first-class support for TypeScript", "homepage": "https://true-myth.js.org", "contributors": [ { "name": "Chris Krycho", "email": "hello@chriskrycho.com", "url": "http://www.chriskrycho.com" }, { "name": "Ben Makuh" } ], "repository": { "type": "git", "url": "https://github.com/true-myth/true-myth" }, "bugs": { "url": "https://github.com/true-myth/true-myth/issues" }, "version": "9.4.0", "type": "module", "main": "dist/index.js", "module": "dist/index.js", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./eslint-plugin": { "types": "./dist/eslint-plugin/index.d.ts", "default": "./dist/eslint-plugin/index.js" }, "./package.json": "./package.json", "./*": { "types": "./dist/*.d.ts", "default": "./dist/*.js" }, "./-private/*": null }, "types": "dist/index.d.ts", "keywords": [ "typescript", "functional programming", "maybe", "result" ], "scripts": { "build": "tsc --project ts/publish.tsconfig.json", "clean": "rimraf ./dist ./docs-dist", "format": "prettier", "prettier": "prettier", "prepublishOnly": "pnpm clean && pnpm test:all && pnpm build && pnpm run docs", "postpublish": "pnpm clean", "test": "vitest run", "test:all": "pnpm test && pnpm test:integration", "test:integration": "pnpm test:integration:first-party && pnpm test:integration:third-party", "test:integration:third-party": "vitest run --config vitest.integration.config.ts", "test:integration:first-party": "vitest run --config vitest.package-integration.config.ts", "tdd": "vitest", "type-check": "tsc --noEmit --project ts/test.tsconfig.json", "type-check:native": "tsgo --noEmit --project ts/test.tsconfig.json", "docs": "pnpm docs:prepare && pnpm docs:build", "docs:prepare": "typedoc --tsconfig docs/tsconfig.json src", "docs:dev": "pnpm docs:prepare && vitepress dev docs", "docs:build": "vitepress build docs", "docs:preview": "vitepress preview docs" }, "files": [ "dist", "src", "README.md", "CHANGELOG.md", "LICENSE" ], "license": "MIT", "devDependencies": { "@eslint/core": "^1.2.1", "@release-it-plugins/lerna-changelog": "^8.0.1", "@types/markdown-it": "^14.1.2", "@types/node": "^25.0.3", "@typescript-eslint/parser": "^8.59.2", "@typescript-eslint/rule-tester": "^8.59.2", "@typescript-eslint/utils": "^8.59.2", "@typescript/native-preview": "7.0.0-dev.20260524.1", "@vitest/coverage-v8": "^4.1.5", "arktype": "^2.1.27", "effect": "^3.19.6", "eslint": "^10.3.0", "feed": "^5.1.0", "markdown-it-deflist": "^3.0.0", "markdown-it-footnote": "^4.0.0", "miniglob": "^0.1.2", "oxc-minify": "^0.132.0", "oxfmt": "^0.51.0", "release-it": "^19.0.6", "rimraf": "^6.1.2", "shelljs": "^0.10.0", "terser": "^5.46.2", "typedoc": "^0.28.14", "typedoc-plugin-markdown": "^4.9.0", "typedoc-vitepress-theme": "^1.1.2", "typescript": "6.0.3", "valibot": "^1.2.0", "vitepress": "2.0.0-alpha.17", "vitest": "^4.1.5", "zod": "^4.1.13" }, "engines": { "node": "18.* || >= 20.*" }, "release-it": { "github": { "release": true }, "plugins": { "@release-it-plugins/lerna-changelog": { "infile": "CHANGELOG.md", "launchEditor": true } } }, "changelog": { "labels": { "breaking": ":boom: Breaking Change", "enhancement": ":rocket: Enhancement", "bug": ":bug: Bug Fix", "documentation": ":memo: Documentation", "internal": ":house: Internal", "deprecation": ":wastebasket: Deprecation" } } }