forked from SonarSource/SonarJS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
179 lines (179 loc) · 5.87 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "sonarjs",
"version": "1.0.0",
"description": "SonarJS code analyzer",
"scripts": {
"format": "prettier --write .",
"check-format": "prettier --list-different .",
"build": "mvn clean && npm run _:plugin:pre-build && npm run plugin:build-no-bridge && npm run update-ruling-data",
"build:fast": "npm run bridge:build:fast && npm run _:plugin:prepare-bridge && npm run _:plugin-fetch-node && npm run plugin:build:fast && npm run update-ruling-data",
"bf": "npm run build:fast",
"new-rule": "ts-node tools/newRule.ts",
"ruling": "node tools/prepare-ruling.js && jest ./packages/ruling/tests/projects/*.ruling.test.ts",
"ruling-sync": "rsync -avh packages/ruling/tests/actual/jsts/ its/ruling/src/test/expected/jsts/ --delete",
"update-ruling-data": "mvn -f sonar-plugin/sonar-javascript-plugin/pom.xml compile && ts-node packages/ruling/tests/tools/parseRulesData.ts",
"bridge:compile": "tsc -b packages profiling",
"bridge:test": "jest --maxWorkers=40% --coverage --testPathIgnorePatterns=/packages/ruling/tests/",
"bridge:build": "npm run bridge:build:fast && npm run bridge:test",
"bridge:build:fast": "npm ci && npm run _:bridge:clear && npm run bridge:compile",
"bbf": "npm run bridge:build:fast",
"plugin:build-no-bridge": "mvn install",
"plugin:build:fast": "npm run plugin:build-no-bridge -- -DskipTests",
"pbf": "npm run plugin:build:fast",
"td": "node typedoc/scripts/setup-plugins.js && ./node_modules/.bin/typedoc --options typedoc/typedoc.js",
"prepare": "husky install",
"precommit": "pretty-quick --staged",
"count-rules": "node tools/count-rules.js",
"_:bridge:clear": "rimraf lib/*",
"_:plugin:prepare-bridge": "npm pack && node tools/check-distribution-filepath-length.js && npm run _:plugin:copy-bridge",
"_:plugin-fetch-node": "node tools/fetch-node/scripts/wrapper.mjs",
"_:plugin:pre-build": "npm run bridge:build && npm run _:plugin:prepare-bridge && npm run _:plugin-fetch-node",
"_:plugin:copy-bridge": "cpy sonarjs-1.0.0.tgz sonar-plugin/sonar-javascript-plugin/target/classes"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SonarSource/SonarJS.git"
},
"license": "LGPL-3.0-only",
"bugs": {
"url": "https://github.com/SonarSource/SonarJS/issues"
},
"homepage": "https://github.com/SonarSource/SonarJS#readme",
"engines": {
"node": "^16.0.0 || >=18.0.0"
},
"type": "commonjs",
"devDependencies": {
"@types/bytes": "3.1.1",
"@types/eslint": "8.40.0",
"@types/eslint-scope": "3.7.4",
"@types/estree": "1.0.1",
"@types/express": "4.17.17",
"@types/functional-red-black-tree": "1.0.2",
"@types/jest": "29.5.2",
"@types/lodash.clone": "4.5.7",
"@types/node": "20.2.5",
"@types/tmp": "0.2.3",
"cpy-cli": "4.2.0",
"dir-compare": "4.2.0",
"extract-zip": "2.0.1",
"fs-extra": "11.1.1",
"husky": "8.0.3",
"jest": "29.7.0",
"jest-sonar-reporter": "2.0.0",
"mkdirp": "3.0.1",
"node-fetch": "3.3.2",
"prettier": "2.8.8",
"prettier-plugin-java": "2.1.0",
"pretty-quick": "3.1.3",
"rimraf": "3.0.2",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"typedoc": "0.25.4"
},
"dependencies": {
"@babel/core": "7.23.2",
"@babel/eslint-parser": "7.22.15",
"@babel/plugin-proposal-decorators": "7.23.2",
"@babel/preset-env": "7.23.2",
"@babel/preset-flow": "7.22.15",
"@babel/preset-react": "7.22.15",
"@eslint-community/regexpp": "4.6.2",
"@typescript-eslint/eslint-plugin": "6.14.0",
"@typescript-eslint/utils": "6.14.0",
"@typescript-eslint/parser": "6.14.0",
"builtin-modules": "3.3.0",
"bytes": "3.1.2",
"eslint": "8.55.0",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-sonarjs": "0.24.0",
"express": "4.18.2",
"functional-red-black-tree": "1.0.1",
"htmlparser2": "9.0.0",
"jsx-ast-utils": "3.3.5",
"lodash.clone": "4.5.0",
"minimatch": "^9.0.3",
"module-alias": "2.2.3",
"postcss": "8.4.31",
"postcss-html": "0.36.0",
"postcss-less": "6.0.0",
"postcss-sass": "0.5.0",
"postcss-scss": "4.0.6",
"postcss-syntax": "0.36.2",
"postcss-value-parser": "4.2.0",
"run-node": "2.0.0",
"semver": "7.6.0",
"scslre": "0.2.0",
"stylelint": "15.10.0",
"tar": "^6.2.0",
"tmp": "0.2.1",
"type-fest": "4.6.0",
"typescript": "5.3.3",
"vue-eslint-parser": "9.3.2",
"yaml": "2.3.1"
},
"bundledDependencies": [
"@typescript-eslint/eslint-plugin",
"@typescript-eslint/utils",
"@typescript-eslint/parser",
"@babel/core",
"@babel/eslint-parser",
"@babel/plugin-proposal-decorators",
"@babel/preset-env",
"@babel/preset-flow",
"@babel/preset-react",
"@eslint-community/regexpp",
"builtin-modules",
"bytes",
"eslint",
"eslint-plugin-import",
"eslint-plugin-jsx-a11y",
"eslint-plugin-react",
"eslint-plugin-react-hooks",
"eslint-plugin-sonarjs",
"express",
"functional-red-black-tree",
"htmlparser2",
"jsx-ast-utils",
"lodash.clone",
"minimatch",
"module-alias",
"postcss",
"postcss-html",
"postcss-less",
"postcss-sass",
"postcss-scss",
"postcss-syntax",
"postcss-value-parser",
"run-node",
"semver",
"scslre",
"stylelint",
"tmp",
"vue-eslint-parser",
"typescript",
"yaml"
],
"prettier": {
"printWidth": 100,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "avoid",
"endOfLine": "lf"
},
"files": [
"lib/",
"bin/"
],
"_moduleAliases": {
"@sonar/bridge": "lib/bridge/src",
"@sonar/css": "lib/css/src",
"@sonar/html": "lib/html/src",
"@sonar/jsts": "lib/jsts/src",
"@sonar/shared": "lib/shared/src",
"@sonar/yaml": "lib/yaml/src"
}
}