UNPKG

6.19 kBJSONView Raw
1{
2 "name": "eslint-plugin-functional",
3 "version": "6.5.1",
4 "description": "ESLint rules to promote functional programming in TypeScript.",
5 "keywords": [
6 "eslint",
7 "eslint plugin",
8 "fp",
9 "functional",
10 "functional programming",
11 "immutability",
12 "immutable"
13 ],
14 "homepage": "https://github.com/eslint-functional/eslint-plugin-functional#readme",
15 "bugs": {
16 "url": "https://github.com/eslint-functional/eslint-plugin-functional/issues"
17 },
18 "repository": {
19 "type": "git",
20 "url": "git+https://github.com/eslint-functional/eslint-plugin-functional"
21 },
22 "funding": [
23 {
24 "type": "ko-fi",
25 "url": "https://ko-fi.com/rebeccastevens"
26 }
27 ],
28 "license": "MIT",
29 "author": {
30 "name": "Rebecca Stevens",
31 "email": "rebecca.stevens@outlook.co.nz"
32 },
33 "contributors": [
34 "Jonas Kello"
35 ],
36 "exports": {
37 ".": {
38 "types": {
39 "import": "./lib/classic.d.mts",
40 "require": "./lib/classic.d.cts"
41 },
42 "import": "./lib/classic.mjs",
43 "require": "./lib/classic.cjs"
44 },
45 "./flat": {
46 "types": {
47 "import": "./lib/flat.d.mts",
48 "require": "./lib/flat.d.cts"
49 },
50 "import": "./lib/flat.mjs",
51 "require": "./lib/flat.cjs"
52 }
53 },
54 "main": "lib/classic.cjs",
55 "types": "lib/classic.d.cts",
56 "files": [
57 "lib/",
58 "package.json",
59 "LICENSE",
60 "README.md"
61 ],
62 "scripts": {
63 "build": "pnpm run build:node && pnpm run build:docs",
64 "build-tests": "rimraf tests-compiled && tsc -p tsconfig.tests-compiled.json && tsc-alias -p tsconfig.tests-compiled.json",
65 "build:docs": "eslint-doc-generator",
66 "build:node": "rimraf lib && rollup -c rollup.config.ts --configPlugin rollup-plugin-ts",
67 "cz": "git-cz",
68 "lint": "pnpm run build:node && pnpm run lint:js && pnpm run lint:md && pnpm lint:eslint-docs && pnpm run lint:prettier && pnpm run lint:knip && pnpm run lint:spelling && pnpm run lint:packages",
69 "lint-fix": "pnpm run build:node && pnpm run lint:js-fix && pnpm lint:eslint-docs-fix && pnpm run lint:prettier-fix && pnpm run lint:packages-fix",
70 "lint:eslint-docs": "eslint-doc-generator --check",
71 "lint:eslint-docs-fix": "pnpm build:docs",
72 "lint:js": "eslint .",
73 "lint:js-fix": "eslint . --fix",
74 "lint:knip": "pnpm run lint:knip:development && pnpm run lint:knip:production",
75 "lint:knip:development": "knip --exclude exports,nsExports,types,nsTypes",
76 "lint:knip:production": "knip --production --strict --exclude exports,nsExports,types,nsTypes",
77 "lint:md": "markdownlint \"**/*.md\" --config=.markdownlint.json --ignore-path=.markdownlintignore",
78 "lint:packages": "pnpm dedupe --check",
79 "lint:packages-fix": "pnpm dedupe",
80 "lint:prettier": "prettier \"**/*\" --ignore-unknown --list-different",
81 "lint:prettier-fix": "prettier \"**/*\" --ignore-unknown --write",
82 "lint:spelling": "cspell \"**\" \".github/**/*\"",
83 "prepare": "husky",
84 "release": "semantic-release",
85 "test": "pnpm run test:js",
86 "test-compiled": "USE_COMPILED_TESTS=1 vitest run --coverage",
87 "test-work": "vitest",
88 "test:js": "vitest --coverage",
89 "type-check": "tsc -p tsconfig.build.json --noEmit",
90 "verify": "pnpm run lint && pnpm run type-check && pnpm run build-tests && pnpm run test-compiled"
91 },
92 "dependencies": {
93 "@typescript-eslint/utils": "^7.3.1",
94 "deepmerge-ts": "^5.1.0",
95 "escape-string-regexp": "^4.0.0",
96 "is-immutable-type": "^3.1.0",
97 "semver": "^7.6.0",
98 "ts-api-utils": "^1.3.0"
99 },
100 "devDependencies": {
101 "@babel/eslint-parser": "7.24.1",
102 "@commitlint/cli": "19.2.1",
103 "@commitlint/config-conventional": "19.1.0",
104 "@cspell/dict-cryptocurrencies": "5.0.0",
105 "@rebeccastevens/eslint-config": "2.0.11",
106 "@semantic-release/changelog": "6.0.3",
107 "@semantic-release/commit-analyzer": "12.0.0",
108 "@semantic-release/git": "10.0.1",
109 "@semantic-release/github": "10.0.2",
110 "@semantic-release/npm": "12.0.0",
111 "@semantic-release/release-notes-generator": "13.0.0",
112 "@types/dedent": "0.7.2",
113 "@types/eslint": "8.56.6",
114 "@types/node": "16.18.93",
115 "@types/rollup-plugin-auto-external": "2.0.5",
116 "@types/semver": "7.5.8",
117 "@typescript-eslint/eslint-plugin": "7.4.0",
118 "@typescript-eslint/parser": "7.4.0",
119 "@typescript-eslint/rule-tester": "7.4.0",
120 "@vitest/coverage-istanbul": "1.4.0",
121 "@vitest/coverage-v8": "1.4.0",
122 "chalk": "4.1.2",
123 "commitizen": "4.3.0",
124 "conventional-commit-types": "3.0.0",
125 "cspell": "8.6.1",
126 "deassert": "1.0.2",
127 "dedent": "1.5.1",
128 "eslint": "8.57.0",
129 "eslint-config-prettier": "9.1.0",
130 "eslint-doc-generator": "1.7.0",
131 "eslint-import-resolver-typescript": "3.6.1",
132 "eslint-plugin-eslint-comments": "3.2.0",
133 "eslint-plugin-eslint-plugin": "5.4.1",
134 "eslint-plugin-import": "2.29.1",
135 "eslint-plugin-jsdoc": "48.2.2",
136 "eslint-plugin-markdown": "3.0.1",
137 "eslint-plugin-n": "16.6.2",
138 "eslint-plugin-optimize-regex": "1.2.1",
139 "eslint-plugin-prettier": "5.1.3",
140 "eslint-plugin-promise": "6.1.1",
141 "eslint-plugin-sonarjs": "0.25.0",
142 "eslint-plugin-unicorn": "51.0.1",
143 "eslint-plugin-vitest": "0.4.1",
144 "espree": "10.0.1",
145 "husky": "9.0.11",
146 "knip": "5.7.0",
147 "lint-staged": "15.2.2",
148 "markdownlint": "0.34.0",
149 "markdownlint-cli": "0.39.0",
150 "prettier": "3.2.5",
151 "prettier-plugin-multiline-arrays": "3.0.4",
152 "prettier-plugin-packagejson": "2.4.14",
153 "rimraf": "5.0.5",
154 "rollup": "4.13.2",
155 "rollup-plugin-auto-external": "2.0.0",
156 "rollup-plugin-ts": "3.4.5",
157 "semantic-release": "23.0.6",
158 "semantic-release-replace-plugin": "1.2.7",
159 "ts-node": "10.9.2",
160 "tsc-alias": "1.8.8",
161 "tsc-files": "1.1.4",
162 "tsconfig-paths": "4.2.0",
163 "typescript": "5.4.3",
164 "vite-tsconfig-paths": "4.3.2",
165 "vitest": "1.4.0",
166 "word-wrap": "1.2.5"
167 },
168 "peerDependencies": {
169 "eslint": "^8.0.0",
170 "typescript": ">=4.3.5"
171 },
172 "peerDependenciesMeta": {
173 "typescript": {
174 "optional": true
175 }
176 },
177 "packageManager": "pnpm@8.15.5",
178 "engines": {
179 "node": ">=16.10.0"
180 }
181}