forked from SonarSource/eslint-plugin-sonarjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 2.46 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "eslint-plugin-sonarjs",
"version": "0.10.0",
"description": "SonarJS rules for ESLint",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"repository": "[email protected]:SonarSource/eslint-plugin-sonarjs.git",
"license": "LGPL-3.0",
"keywords": [
"sonarjs",
"eslint",
"eslintplugin"
],
"bugs": {
"url": "https://github.com/SonarSource/eslint-plugin-sonarjs/issues"
},
"homepage": "https://github.com/SonarSource/eslint-plugin-sonarjs",
"engines": {
"node": ">=10"
},
"scripts": {
"build": "rimraf lib && npm run check-format && tsc -d -p tsconfig-src.json",
"test": "jest",
"ruling": "ts-node --files ruling/index.ts",
"typecheck": "tsc -p tsconfig.json",
"lint": "eslint --ext js,ts src tests ruling/index.ts",
"precommit": "lint-staged && npm run typecheck",
"prepack": "npm run build",
"format": "prettier --write \"{src,tests}/**/*.ts\"",
"check-format": "prettier --list-different \"{src,tests}/**/*.ts\""
},
"peerDependencies": {
"eslint": "^5.0.0 || ^6.0.0 || ^7.0.0"
},
"devDependencies": {
"@types/jest": "26.0.20",
"@types/lodash": "4.14.106",
"@types/minimist": "1.2.0",
"@types/node": "14.14.25",
"@typescript-eslint/experimental-utils": "4.28.0",
"@typescript-eslint/parser": "4.28.0",
"babel-eslint": "8.2.2",
"eslint": "7.19.0",
"eslint-config-prettier": "2.9.0",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-notice": "0.6.7",
"eslint-plugin-sonarjs": "0.5.0",
"jest": "26.6.3",
"jest-sonar-reporter": "2.0.0",
"lint-staged": "7.3.0",
"lodash": "4.17.21",
"minimist": "1.2.3",
"prettier": "2.3.0",
"rimraf": "2.6.2",
"ts-jest": "26.5.1",
"ts-node": "9.1.1",
"typescript": "4.3.4"
},
"prettier": {
"printWidth": 100,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "avoid",
"endOfLine": "lf"
},
"jest": {
"roots": [
"tests",
"src"
],
"collectCoverageFrom": [
"src/**/*.ts"
],
"globals": {
"ts-jest": {
"babelConfig": false
}
},
"moduleFileExtensions": [
"ts",
"js",
"json"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testMatch": [
"<rootDir>/tests/**/*.test.ts"
]
},
"lint-staged": {
"*.{ts,tsx,js}": [
"eslint",
"prettier --write",
"git add"
],
"*.json": [
"prettier --write",
"git add"
]
}
}