UNPKG

ts-predicate

Version:

TypeScript predicates and assertions library

108 lines (107 loc) 3.48 kB
{ "name": "ts-predicate", "version": "1.1.4", "description": "TypeScript predicates and assertions library", "author": "Benjamin Blum <vuk.kulvar+github@gmail.com>", "contributors": [ "Lifen SAS <ops@lifen.fr>" ], "homepage": "https://github.com/honestica/typeguard#readme", "bugs": "https://github.com/honestica/typeguard/issues", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/honestica/typeguard.git" }, "publishConfig": { "access": "public", "registry": " https://registry.npmjs.org" }, "type": "module", "exports": { ".": { "types": "./lib/types/index.d.ts", "require": "./lib/cjs/index.cjs", "import": "./lib/esm/index.js" } }, "files": [ "/lib/**/*" ], "types": "./lib/types/index.d.ts", "scripts": { "build": "yarn clean && yarn build:cjs && yarn build:esm", "build:cjs": "tsc -b tsconfig.build.cjs.json && ./scripts/convert_to_cjs.sh lib", "build:esm": "tsc -b tsconfig.build.esm.json", "clean": "rm -rfv reports coverage build dist lib .eslintcache", "commit": "cz", "cspell:check": "cspell '**' '.**/**' '.*' --show-suggestions --config '.vscode/cspell.json'", "cspell:ci": "cspell lint '**' '.**/**' '.*' --show-suggestions --config '.vscode/cspell.json'", "eslint:check": "eslint -c .eslintrc.cjs . --ext ts,mts,cts,js,mjs,cjs", "eslint:ci": "eslint -c .eslintrc.cjs . --ext ts,mts,cts,js,mjs,cjs --format json -o reports/eslint/honestica-ts-predicate-eslint-junit.json", "eslint:fix": "eslint -c .eslintrc.cjs . --ext ts,mts,cts,js,mjs,cjs --fix", "_postinstall": "husky install", "prepack": "pinst --disable", "postpack": "pinst --enable", "packagejson:check": "package-check", "packagejson:format": "prettier-package-json --write ./package.json", "test": "yarn test:unit", "test:mutation": "stryker run", "test:unit": "ts-mocha -p ./tsconfig.stryker.json", "ts:check": "tsc --noEmit", "upgrade:deps": "yarn upgrade-interactive" }, "devDependencies": { "@commitlint/cli": "^17.4.2", "@commitlint/config-conventional": "^17.4.2", "@commitlint/cz-commitlint": "^17.4.2", "@skypack/package-check": "^0.2.2", "@stryker-mutator/core": "^6.3.1", "@stryker-mutator/mocha-runner": "^6.3.1", "@stryker-mutator/typescript-checker": "^6.3.1", "@types/chai": "^4.3.4", "@types/mocha": "^10.0.1", "@types/node": "^18.11.18", "@typescript-eslint/eslint-plugin": "^5.49.0", "@typescript-eslint/parser": "^5.49.0", "chai": "^4.3.7", "commitizen": "^4.3.0", "cspell": "^6.19.2", "eslint": "^8.33.0", "eslint-import-resolver-typescript": "^3.5.3", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-jsdoc": "^39.7.4", "eslint-plugin-prefer-arrow": "^1.2.3", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-sonarjs": "^0.18.0", "eslint-plugin-sort-exports": "^0.8.0", "eslint-plugin-unicorn": "^45.0.2", "eslint-plugin-unused-imports": "^2.0.0", "husky": "^8.0.3", "inquirer": "^8.2.5", "lint-staged": "^13.1.0", "mocha": "^10.2.0", "mochawesome": "^7.1.3", "pinst": "^3.0.0", "prettier-package-json": "^2.8.0", "semantic-release": "^20.1.0", "semantic-release-npm-github-publish": "^1.5.4", "ts-mocha": "^10.0.0", "ts-node": "^10.9.1", "typescript": "^4.9.4" }, "packageManager": "yarn@3.3.1", "keywords": [ "guard", "honestica", "lifen", "predicate", "ts", "ts-predicate", "type", "type-guard", "typeguard", "typescript" ] }