forked from SonarSource/SonarJS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
147 lines (147 loc) · 4.32 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "sonarjs",
"version": "1.0.0",
"description": "SonarJS code analyzer",
"scripts": {
"build": "npm ci && npm run check-format && npm run clear && npm run compile",
"clear": "tsc -b src tests --clean",
"check-format": "prettier --list-different .",
"test": "jest",
"test-with-coverage": "jest --coverage",
"ctest": "jest tests/tools/testers/comment-based/launcher.test.ts --verbose=false",
"format": "prettier --write .",
"compile": "tsc -b src tests profiling",
"check-distribution": "bash tools/check-distribution-filepath-length.sh",
"mvn-copy": "cd sonar-plugin && mkdirp sonar-javascript-plugin/target/classes && cp ../sonarjs-1.0.0.tgz sonar-javascript-plugin/target/classes",
"build-plugin": "npm run build && npm run test-with-coverage && npm pack && npm run check-distribution && npm run mvn-copy",
"build-full": "mvn clean && npm run build-plugin && mvn install",
"new-rule": "ts-node tools/newRule.ts",
"td": "node typedoc/scripts/setup-plugins.js && ./node_modules/.bin/typedoc --options typedoc/typedoc.js",
"prepare": "husky install",
"precommit": "pretty-quick --staged"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SonarSource/SonarJS.git"
},
"license": "LGPL-3.0",
"bugs": {
"url": "https://github.com/SonarSource/SonarJS/issues"
},
"homepage": "https://github.com/SonarSource/SonarJS#readme",
"engines": {
"node": ">=14"
},
"type": "commonjs",
"devDependencies": {
"@types/bytes": "3.1.1",
"@types/eslint": "8.21.2",
"@types/eslint-scope": "3.7.4",
"@types/estree": "1.0.0",
"@types/express": "4.17.14",
"@types/functional-red-black-tree": "1.0.1",
"@types/jest": "28.1.6",
"@types/lodash.clone": "4.5.7",
"@types/node": "16.11.9",
"@types/tmp": "0.2.3",
"husky": "8.0.3",
"jest": "28.1.3",
"jest-sonar-reporter": "2.0.0",
"mkdirp": "1.0.4",
"prettier": "2.7.1",
"prettier-plugin-java": "2.1.0",
"pretty-quick": "3.1.3",
"ts-jest": "28.0.7",
"ts-node": "10.9.1",
"typedoc": "0.23.23"
},
"dependencies": {
"@babel/core": "7.21.3",
"@babel/eslint-parser": "7.21.3",
"@babel/plugin-proposal-decorators": "7.21.0",
"@babel/preset-env": "7.20.2",
"@babel/preset-flow": "7.18.6",
"@babel/preset-react": "7.18.6",
"@typescript-eslint/eslint-plugin": "5.59.0",
"@typescript-eslint/experimental-utils": "5.59.0",
"@typescript-eslint/parser": "5.59.0",
"builtin-modules": "3.3.0",
"bytes": "3.1.2",
"eslint": "8.39.0",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-sonarjs": "0.19.0",
"express": "4.18.1",
"functional-red-black-tree": "1.0.1",
"htmlparser2": "8.0.1",
"lodash.clone": "4.5.0",
"module-alias": "2.2.2",
"postcss-html": "0.36.0",
"postcss-less": "6.0.0",
"postcss-scss": "4.0.3",
"postcss-syntax": "0.36.2",
"postcss-value-parser": "4.2.0",
"regexpp": "3.2.0",
"run-node": "2.0.0",
"scslre": "0.1.6",
"stylelint": "15.6.1",
"tmp": "0.2.1",
"typescript": "4.9.4",
"vue-eslint-parser": "9.1.1",
"yaml": "2.2.2"
},
"bundledDependencies": [
"@typescript-eslint/eslint-plugin",
"@typescript-eslint/experimental-utils",
"@typescript-eslint/parser",
"@babel/core",
"@babel/eslint-parser",
"@babel/plugin-proposal-decorators",
"@babel/preset-env",
"@babel/preset-flow",
"@babel/preset-react",
"builtin-modules",
"bytes",
"eslint",
"eslint-plugin-react",
"eslint-plugin-react-hooks",
"eslint-plugin-sonarjs",
"express",
"functional-red-black-tree",
"htmlparser2",
"lodash.clone",
"module-alias",
"postcss-html",
"postcss-less",
"postcss-scss",
"postcss-syntax",
"postcss-value-parser",
"regexpp",
"run-node",
"scslre",
"stylelint",
"tmp",
"vue-eslint-parser",
"typescript",
"yaml"
],
"prettier": {
"printWidth": 100,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "avoid",
"endOfLine": "lf"
},
"files": [
"lib/",
"bin/"
],
"_moduleAliases": {
"errors": "lib/errors",
"helpers": "lib/helpers",
"linting": "lib/linting",
"parsing": "lib/parsing",
"routing": "lib/routing",
"services": "lib/services"
}
}