UNPKG

2.69 kBJSONView Raw
1{
2 "name": "eslint-plugin-sonarjs",
3 "version": "1.0.3",
4 "description": "SonarJS rules for ESLint",
5 "main": "lib/src/index.js",
6 "types": "lib/src/index.d.ts",
7 "repository": "git@github.com:SonarSource/eslint-plugin-sonarjs.git",
8 "license": "LGPL-3.0-only",
9 "keywords": [
10 "sonarjs",
11 "eslint",
12 "eslintplugin"
13 ],
14 "bugs": {
15 "url": "https://github.com/SonarSource/eslint-plugin-sonarjs/issues"
16 },
17 "homepage": "https://github.com/SonarSource/eslint-plugin-sonarjs",
18 "engines": {
19 "node": ">=16"
20 },
21 "files": [
22 "lib",
23 "LICENSE"
24 ],
25 "scripts": {
26 "build": "rimraf lib && tsc -d -p src",
27 "test": "jest",
28 "ruling": "ts-node --files ruling/index.ts",
29 "precommit": "pretty-quick --staged",
30 "prepare": "husky install .husky",
31 "prepack": "npm run build",
32 "format": "prettier --write .",
33 "check-format": "prettier --list-different ."
34 },
35 "peerDependencies": {
36 "eslint": "^8.0.0 || ^9.0.0"
37 },
38 "devDependencies": {
39 "@babel/core": "7.24.4",
40 "@babel/eslint-parser": "7.24.1",
41 "@babel/plugin-proposal-export-default-from": "7.24.1",
42 "@babel/plugin-proposal-function-bind": "7.24.1",
43 "@babel/preset-env": "7.24.4",
44 "@babel/preset-flow": "7.24.1",
45 "@babel/preset-react": "7.24.1",
46 "@types/eslint": "8.56.10",
47 "@types/eslint-ruling": "npm:@types/eslint@^8.56.10",
48 "@types/jest": "29.5.12",
49 "@types/lodash": "4.17.0",
50 "@types/minimist": "1.2.5",
51 "@types/node": "20.12.7",
52 "@typescript-eslint/parser": "7.7.1",
53 "@typescript-eslint/rule-tester": "7.7.1",
54 "@typescript-eslint/utils": "7.7.1",
55 "eslint": "8.57.0",
56 "eslint-config-prettier": "9.1.0",
57 "eslint-plugin-import": "2.29.1",
58 "eslint-plugin-notice": "0.9.10",
59 "eslint-plugin-sonarjs": "0.25.1",
60 "eslint-ruling": "npm:eslint@8.57.0",
61 "husky": "9.0.11",
62 "jest": "29.7.0",
63 "jest-sonar-reporter": "2.0.0",
64 "lodash": "4.17.21",
65 "minimist": "1.2.8",
66 "prettier": "3.2.5",
67 "pretty-quick": "4.0.0",
68 "rimraf": "5.0.5",
69 "semver": "^7.6.0",
70 "ts-jest": "29.1.2",
71 "ts-node": "10.9.2",
72 "typescript": "5.4.5"
73 },
74 "prettier": {
75 "printWidth": 100,
76 "trailingComma": "all",
77 "singleQuote": true,
78 "arrowParens": "avoid",
79 "endOfLine": "lf"
80 },
81 "jest": {
82 "roots": [
83 "tests",
84 "src"
85 ],
86 "collectCoverageFrom": [
87 "src/**/*.ts"
88 ],
89 "moduleFileExtensions": [
90 "ts",
91 "js",
92 "json"
93 ],
94 "transform": {
95 "^.+\\.ts$": [
96 "ts-jest",
97 {
98 "babelConfig": false
99 }
100 ]
101 },
102 "testMatch": [
103 "<rootDir>/tests/**/*.test.ts"
104 ]
105 }
106}