@flex-development/tutils
Version:
TypeScript utilities
183 lines • 6.13 kB
JSON
{
"name": "@flex-development/tutils",
"description": "TypeScript utilities",
"version": "5.0.1",
"keywords": [
"enums",
"interfaces",
"type guards",
"type definitions",
"typescript utilities",
"typescript"
],
"license": "BSD-3-Clause",
"homepage": "https://github.com/flex-development/tutils",
"repository": "https://github.com/flex-development/tutils.git",
"bugs": "https://github.com/flex-development/tutils/issues",
"author": {
"name": "Lexus Drumgold",
"url": "https://github.com/unicornware"
},
"publishConfig": {
"access": "public",
"directory": "./"
},
"type": "module",
"files": [
"dist",
"src"
],
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./enums": {
"import": "./dist/enums/index.mjs",
"require": "./dist/enums/index.cjs"
},
"./enums/*": {
"import": "./dist/enums/*.mjs",
"require": "./dist/enums/*.cjs"
},
"./guards": {
"import": "./dist/guards/index.mjs",
"require": "./dist/guards/index.cjs"
},
"./guards/*": {
"import": "./dist/guards/*.mjs",
"require": "./dist/guards/*.cjs"
},
"./package.json": "./package.json",
"./types": {
"import": "./dist/types/index.mjs",
"require": "./dist/types/index.cjs"
},
"./types/*": {
"import": "./dist/types/*.mjs",
"require": "./dist/types/*.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"typesVersions": {
"*": {
"*.cjs": [
"./dist/*.d.cts",
"./dist/*/index.d.cts",
"./dist/index.d.cts"
],
"*": [
"./dist/*.d.mts",
"./dist/*/index.d.mts",
"./dist/index.d.mts"
]
}
},
"scripts": {
"build": "mkbuild",
"check:ci": "yarn dedupe --check && yarn check:format && yarn check:lint && yarn check:spelling && yarn check:types && yarn check:types:build && NODE_ENV=production yarn pack -o %s-%v.tgz && yarn clean:pack && yarn test:cov",
"check:format": "prettier --check .",
"check:lint": "eslint --exit-on-fatal-error --ext cjs,cts,gql,json,jsonc,md,mjs,ts,yml --max-warnings 0 .",
"check:spelling": "cspell lint --color --no-progress --relative $@ \"**\"",
"check:types": "tsc -p tsconfig.json",
"check:types:build": "tsc -p tsconfig.build.json",
"check:upgrades": "yarn upgrade-interactive",
"clean:build": "trash ./{dist,*.tgz}",
"clean:modules": "trash ./.yarn/{cache,*.gz} ./node_modules",
"clean:pack": "trash ./*.tgz",
"clean:test": "trash ./coverage",
"conventional-changelog": "node --loader=./loader.mjs ./node_modules/.bin/conventional-changelog -n ./changelog.config.cts",
"fix:cg": "yarn fix:format && yarn fix:lint",
"fix:dedupe": "yarn dedupe --strategy=highest",
"fix:format": "prettier --cache --write .",
"fix:lint": "yarn check:lint --cache --fix",
"_postinstall": "chmod +x .husky/* && husky install",
"postpack": "toggle-scripts +postinstall",
"postpublish": "toggle-scripts +prepack",
"prepack": "toggle-scripts -postinstall && yarn build",
"prepublishOnly": "toggle-scripts -prepack",
"recommended-bump": "conventional-recommended-bump --preset=conventionalcommits --tag-prefix=$(jq .tagPrefix package.json -r) --verbose",
"release": "bash ./scripts/release.sh",
"test": "node --loader=./loader.mjs ./node_modules/.bin/vitest run",
"test:cov": "yarn test --coverage",
"test:watch": "node --loader=./loader.mjs ./node_modules/.bin/vitest"
},
"devDependencies": {
"@commitlint/cli": "17.1.2",
"@commitlint/config-conventional": "17.1.0",
"@commitlint/types": "17.0.0",
"@faker-js/faker": "7.5.0",
"@flex-development/mkbuild": "1.0.0-alpha.5",
"@graphql-eslint/eslint-plugin": "3.11.2",
"@types/chai": "4.3.3",
"@types/conventional-changelog": "3.1.1",
"@types/conventional-changelog-config-spec": "2.1.1",
"@types/conventional-changelog-writer": "4.0.1",
"@types/conventional-commits-parser": "3.0.2",
"@types/dateformat": "5.0.0",
"@types/eslint": "8.4.6",
"@types/git-raw-commits": "2.0.1",
"@types/is-ci": "3.0.0",
"@types/node-notifier": "8.0.2",
"@types/prettier": "2.7.1",
"@typescript-eslint/eslint-plugin": "5.38.1",
"@typescript-eslint/parser": "5.38.1",
"@vates/toggle-scripts": "1.0.0",
"@vitest/coverage-c8": "0.23.4",
"@vitest/ui": "0.23.4",
"chai": "4.3.6",
"conventional-changelog-cli": "2.2.2",
"conventional-recommended-bump": "6.1.0",
"cspell": "6.11.1",
"esbuild": "0.15.10",
"eslint": "8.24.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-chai-expect": "3.0.0",
"eslint-plugin-jest-formatting": "3.1.0",
"eslint-plugin-jsdoc": "39.3.6",
"eslint-plugin-jsonc": "2.4.0",
"eslint-plugin-markdown": "3.0.0",
"eslint-plugin-markdownlint": "0.4.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-promise": "6.0.1",
"eslint-plugin-unicorn": "43.0.2",
"eslint-plugin-yml": "1.2.0",
"graphql": "16.6.0",
"graphql-config": "4.3.5",
"growl": "1.10.5",
"husky": "8.0.1",
"is-ci": "3.0.1",
"jsonc-eslint-parser": "2.1.0",
"lint-staged": "13.0.3",
"node-notifier": "10.0.1",
"prettier": "2.7.1",
"prettier-plugin-sh": "0.12.8",
"pretty-format": "29.1.0",
"trash-cli": "5.0.0",
"ts-dedent": "2.2.0",
"ts-node": "10.9.1",
"tsconfig": "7.0.0",
"tsconfig-paths": "4.1.0",
"typescript": "4.8.2",
"version-bump-prompt": "6.1.0",
"vite": "3.1.4",
"vite-tsconfig-paths": "3.5.1",
"vitest": "0.23.4",
"vitest-github-actions-reporter": "0.8.3",
"yaml-eslint-parser": "1.1.0"
},
"resolutions": {
"@ardatan/sync-fetch": "larsgw/sync-fetch#head=worker_threads"
},
"engines": {
"node": ">=14",
"yarn": "4.0.0-rc.14"
},
"packageManager": "yarn@4.0.0-rc.14",
"readme": "README.md",
"sideEffects": false,
"tagPrefix": "tutils@"
}