type-to-string
Version:
Get a string representation of a TypeScript type.
123 lines (122 loc) • 4.24 kB
JSON
{
"name": "type-to-string",
"version": "2.0.0",
"description": "Get a string representation of a TypeScript type.",
"keywords": [
"TypeScript",
"type",
"toString"
],
"homepage": "https://github.com/RebeccaStevens/type-to-string#readme",
"bugs": {
"url": "https://github.com/RebeccaStevens/type-to-string/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/RebeccaStevens/type-to-string"
},
"license": "BSD-3-Clause",
"author": {
"name": "Rebecca Stevens",
"email": "rebecca.stevens@outlook.co.nz"
},
"type": "module",
"exports": {
"types": {
"import": "./dist/index.d.mts",
"require": "./dist/index.d.cts"
},
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"files": [
"dist/",
"package.json",
"LICENSE",
"README.md"
],
"scripts": {
"build": "pnpm run build:node",
"build:node": "rimraf dist && rollup -c rollup.config.ts --configPlugin rollup-plugin-ts",
"cz": "git-cz",
"lint": "pnpm run lint:js && pnpm run lint:md && pnpm run lint:prettier && pnpm run lint:knip && pnpm run lint:spelling && pnpm run lint:packages",
"lint:js": "eslint .",
"lint:js-fix": "eslint . --fix",
"lint:knip": "pnpm run lint:knip:development && pnpm run lint:knip:production",
"lint:knip:development": "knip --exclude exports,nsExports,types,nsTypes",
"lint:knip:production": "knip --production --strict --exclude exports,nsExports,types,nsTypes",
"lint:md": "markdownlint \"**/*.md\" --config=.markdownlint.json --ignore-path=.markdownlintignore",
"lint:packages": "pnpm dedupe --check",
"lint:packages-fix": "pnpm dedupe",
"lint:prettier": "prettier \"**/*\" --ignore-unknown --list-different",
"lint:prettier-fix": "prettier \"**/*\" --ignore-unknown --write",
"lint:spelling": "cspell \"**\" \".github/**/*\"",
"prepare": "husky",
"release": "semantic-release",
"test": "pnpm run test:js",
"test:js": "vitest --coverage --run",
"test:js:watch": "vitest",
"type-check": "tsc --noEmit -p tsconfig.build.json"
},
"devDependencies": {
"@commitlint/cli": "19.2.1",
"@commitlint/config-conventional": "19.1.0",
"@cspell/dict-cryptocurrencies": "5.0.0",
"@rebeccastevens/eslint-config": "2.0.11",
"@rollup/plugin-replace": "5.0.5",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/commit-analyzer": "12.0.0",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "10.0.2",
"@semantic-release/npm": "12.0.0",
"@semantic-release/release-notes-generator": "13.0.0",
"@types/node": "20.12.2",
"@types/rollup-plugin-auto-external": "2.0.5",
"@typescript-eslint/eslint-plugin": "7.4.0",
"@typescript-eslint/parser": "7.4.0",
"@typescript/vfs": "1.5.0",
"@vitest/coverage-v8": "1.4.0",
"commitizen": "4.3.0",
"cspell": "8.6.1",
"cz-conventional-changelog": "3.3.0",
"deassert": "1.0.2",
"dedent": "1.5.1",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-functional": "6.4.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsdoc": "48.2.2",
"eslint-plugin-markdown": "3.0.1",
"eslint-plugin-n": "16.6.2",
"eslint-plugin-optimize-regex": "1.2.1",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-sonarjs": "0.25.0",
"eslint-plugin-unicorn": "51.0.1",
"eslint-plugin-vitest": "0.4.1",
"husky": "9.0.11",
"knip": "5.7.0",
"lint-staged": "15.2.2",
"markdownlint": "0.34.0",
"markdownlint-cli": "0.39.0",
"prettier": "3.2.5",
"prettier-plugin-packagejson": "2.4.14",
"rimraf": "5.0.5",
"rollup": "4.13.2",
"rollup-plugin-auto-external": "2.0.0",
"rollup-plugin-ts": "3.4.5",
"semantic-release": "23.0.6",
"ts-api-utils": "1.3.0",
"tsc-files": "1.1.4",
"typescript": "5.4.3",
"vite-tsconfig-paths": "4.3.2",
"vitest": "1.4.0"
},
"peerDependencies": {
"ts-api-utils": ">=1.3.0",
"typescript": ">=5.0.0"
},
"packageManager": "pnpm@8.15.5"
}