is-immutable-type
Version:
Check the immutability of TypeScript types
145 lines (144 loc) • 5.04 kB
JSON
{
"name": "is-immutable-type",
"version": "5.0.1",
"description": "Check the immutability of TypeScript types",
"keywords": [
"readonly",
"immutable",
"type",
"typescript"
],
"homepage": "https://github.com/RebeccaStevens/is-immutable-type#readme",
"bugs": {
"url": "https://github.com/RebeccaStevens/is-immutable-type/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/RebeccaStevens/is-immutable-type"
},
"license": "BSD-3-Clause",
"author": {
"name": "Rebecca Stevens",
"email": "rebecca.stevens@outlook.co.nz"
},
"sideEffects": false,
"type": "module",
"exports": {
"types": {
"import": "./dist/index.d.mts",
"require": "./dist/index.d.cts"
},
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/types/index.d.cts",
"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": "eslint && pnpm run lint:md && pnpm run lint:spelling && pnpm run lint:knip && pnpm run lint:packages",
"lint-fix": "eslint --fix && pnpm run lint:md-fix && pnpm run lint:packages-fix",
"lint:js": "eslint \"**/*.?([cm])[jt]s?(x)\"",
"lint:js-fix": "eslint \"**/*.?([cm])[jt]s?(x)\" --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-cli2",
"lint:md-fix": "markdownlint-cli2 --fix",
"lint:md-full": "pnpm run lint:md && eslint \"**/*.md\"",
"lint:md-full-fix": "pnpm run lint:md-fix && eslint \"**/*.md\" --fix",
"lint:packages": "pnpm dedupe --check",
"lint:packages-fix": "pnpm dedupe",
"lint:spelling": "cspell \"**\" \".github/**/*\"",
"lint:yaml": "eslint \"**/*.y?(a)ml\"",
"lint:yaml-fix": "eslint \"**/*.y?(a)ml\" --fix",
"prepare": "husky",
"release": "semantic-release",
"test": "pnpm run test:js-run",
"test:js": "vitest --coverage",
"test:js-run": "vitest run --coverage",
"test:js-limitations": "TEST_LIMITATIONS=1 vitest --coverage tests/limitations.test.ts",
"typecheck": "tsc -p tsconfig.build.json --noEmit"
},
"dependencies": {
"@typescript-eslint/type-utils": "^8.0.0",
"ts-api-utils": "^2.0.0",
"ts-declaration-location": "^1.0.4"
},
"devDependencies": {
"@commitlint/cli": "19.6.1",
"@commitlint/config-conventional": "19.6.0",
"@cspell/dict-cryptocurrencies": "5.0.0",
"@eslint/compat": "1.1.1",
"@rebeccastevens/eslint-config": "3.0.0",
"@rollup/plugin-replace": "6.0.1",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/commit-analyzer": "13.0.0",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "11.0.1",
"@semantic-release/npm": "12.0.1",
"@semantic-release/release-notes-generator": "14.0.2",
"@stylistic/eslint-plugin": "2.12.1",
"@types/node": "20.14.14",
"@typescript-eslint/eslint-plugin": "8.8.0",
"@typescript-eslint/parser": "8.8.0",
"@typescript/vfs": "1.6.0",
"@vitest/coverage-v8": "2.1.8",
"commitizen": "4.3.0",
"cspell": "8.17.1",
"cz-conventional-changelog": "3.3.0",
"deassert": "1.0.2",
"dedent": "1.5.3",
"eslint": "9.13.0",
"eslint-config-prettier": "9.1.0",
"eslint-flat-config-utils": "0.3.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-merge-processors": "0.1.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-format": "0.1.2",
"eslint-plugin-functional": "7.0.0",
"eslint-plugin-import-x": "4.1.1",
"eslint-plugin-jsdoc": "50.2.2",
"eslint-plugin-jsonc": "2.16.0",
"eslint-plugin-markdown": "5.1.0",
"eslint-plugin-n": "17.10.2",
"eslint-plugin-no-only-tests": "3.1.0",
"eslint-plugin-optimize-regex": "1.2.1",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-promise": "7.0.0",
"eslint-plugin-regexp": "2.6.0",
"eslint-plugin-sonarjs": "2.0.2",
"eslint-plugin-unicorn": "56.0.0",
"eslint-plugin-vitest": "0.5.4",
"eslint-plugin-yml": "1.14.0",
"husky": "9.1.4",
"jsonc-eslint-parser": "2.4.0",
"knip": "5.27.0",
"lint-staged": "15.2.8",
"markdownlint-cli2": "0.13.0",
"prettier": "3.3.3",
"prettier-plugin-packagejson": "2.5.1",
"rimraf": "6.0.1",
"rollup": "4.22.4",
"rollup-plugin-ts": "3.4.5",
"semantic-release": "24.2.0",
"tsc-files": "1.1.4",
"typescript": "5.5.4",
"vite-tsconfig-paths": "5.0.1",
"vitest": "2.1.8",
"yaml-eslint-parser": "1.2.3"
},
"peerDependencies": {
"eslint": "*",
"typescript": ">=4.7.4"
},
"packageManager": "pnpm@9.6.0"
}