true-myth
Version:
A library for safe functional programming in JavaScript, with first-class support for TypeScript
123 lines (122 loc) • 2.83 kB
JSON
{
"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": "8.5.1",
"type": "module",
"main": "dist/es/index.js",
"module": "dist/es/index.js",
"exports": {
".": {
"import": {
"types": "./dist/es/index.d.ts",
"default": "./dist/es/index.js"
},
"require": {
"types": "./dist/cjs/index.d.cts",
"default": "./dist/cjs/index.cjs"
}
},
"./package.json": "./package.json",
"./*": {
"import": {
"types": "./dist/es/*.d.ts",
"default": "./dist/es/*.js"
},
"require": {
"types": "./dist/cjs/*.d.cts",
"default": "./dist/cjs/*.cjs"
}
},
"./-private/*": null
},
"types": "dist/es/index.d.ts",
"keywords": [
"typescript",
"functional programming",
"maybe",
"result"
],
"scripts": {
"build": "node ./ts/publish.js",
"clean": "rimraf ./dist",
"doc": "./scripts/build-docs",
"prepublishOnly": "pnpm test && pnpm build",
"postpublish": "pnpm clean",
"test": "vitest run --coverage",
"tdd": "vitest",
"type-check": "tsc --noEmit"
},
"files": [
"dist",
"src",
"README.md",
"CHANGELOG.md"
],
"license": "MIT",
"devDependencies": {
"@release-it-plugins/lerna-changelog": "^7.0.0",
"@types/node": "^22.0.0",
"@vitest/coverage-v8": "^2.0.1",
"miniglob": "^0.1.2",
"prettier": "^3.0.0",
"release-it": "^17.0.1",
"rimraf": "^6.0.0",
"shelljs": "^0.8.5",
"typedoc": "^0.27.0",
"typescript": "4.7.4",
"vitest": "^2.0.1"
},
"engines": {
"node": "18.* || >= 20.*"
},
"prettier": {
"printWidth": 100,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"tabWidth": 2
},
"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)"
}
},
"volta": {
"node": "20.18.0",
"pnpm": "9.14.4"
}
}