generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
142 lines (142 loc) · 4.39 KB
/
package.json
File metadata and controls
142 lines (142 loc) · 4.39 KB
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
{
"name": "@ui5/linter",
"version": "1.20.13",
"description": "A static code analysis tool for UI5",
"author": {
"name": "SAP SE",
"email": "openui5@sap.com",
"url": "https://www.sap.com"
},
"license": "Apache-2.0",
"keywords": [
"openui5",
"sapui5",
"ui5",
"development",
"linter"
],
"repository": {
"type": "git",
"url": "git+https://github.com/UI5/linter.git"
},
"bugs": {
"url": "https://github.com/UI5/linter/issues"
},
"bin": {
"ui5lint": "bin/ui5lint.js"
},
"type": "module",
"types": "lib/index.d.ts",
"scripts": {
"build": "npm run clean-lib && tsc -p tsconfig.build.json",
"build-test": "tsc --noEmit -p .",
"build-watch": "npm run clean-lib && tsc -w -p tsconfig.build.json",
"check-licenses": "licensee --errors-only",
"clean-coverage": "rimraf coverage",
"clean-lib": "rimraf lib",
"clean-test-tmp": "rimraf test/tmp",
"coverage": "npm run clean-coverage && nyc ava --node-arguments=\"--experimental-loader=@istanbuljs/esm-loader-hook\"",
"knip": "knip --config knip.config.js",
"hooks:pre-push": "npm run lint:commit",
"lint": "eslint .",
"lint:commit": "commitlint -e",
"prepare": "node ./.husky/skip.js || husky",
"test": "npm run lint && npm run build-test && npm run coverage && npm run e2e && npm run knip && npm run check-licenses",
"unit": "ava",
"e2e": "npm run clean-test-tmp && npm run build && npm run e2e:ui5lint && npm run e2e:ui5lint-fix && npm run e2e:test",
"e2e:ui5lint": "TEST_E2E_TMP=$PWD/test/tmp/e2e && mkdir -p $TEST_E2E_TMP && cd test/fixtures/linter/projects/com.ui5.troublesome.app && npm exec ui5lint -- --format=json > $TEST_E2E_TMP/ui5lint-results.json 2> $TEST_E2E_TMP/stderr.log || true",
"e2e:ui5lint-fix": "TEST_E2E_TMP=$PWD/test/tmp/e2e && mkdir -p $TEST_E2E_TMP && cp -r test/fixtures/linter/projects/com.ui5.troublesome.app $TEST_E2E_TMP && cd $TEST_E2E_TMP/com.ui5.troublesome.app && npm exec ui5lint -- --fix --format=json > $TEST_E2E_TMP/ui5lint-results-fix.json 2> $TEST_E2E_TMP/stderr-fix.log || true",
"e2e:test": "ava --config ava-e2e.config.js",
"e2e:test-update-snapshots": "ava --config ava-e2e.config.js --update-snapshots",
"unit-debug": "ava debug",
"unit-update-snapshots": "ava --update-snapshots",
"unit-watch": "ava --watch",
"update-sapui5-types": "tsx scripts/update-sapui5-types.ts"
},
"files": [
"CHANGELOG.md",
"LICENSES/**",
"lib/**",
"npm-shrinkwrap.json",
"resources/**",
".reuse/**"
],
"engines": {
"node": "^20.11.0 || >=22.0.0",
"npm": ">= 8"
},
"exports": {
".": "./lib/index.js",
"./Ui5TypeInfoMatcher": "./lib/linter/ui5Types/Ui5TypeInfoMatcher.js",
"./package.json": "./package.json"
},
"dependencies": {
"@jridgewell/sourcemap-codec": "^1.5.5",
"@jridgewell/trace-mapping": "^0.3.31",
"@sapui5/types": "1.136.14",
"@ui5/fs": "^4.0.5",
"@ui5/logger": "^4.0.2",
"@ui5/project": "^4.0.12",
"chalk": "^5.6.2",
"data-with-position": "^0.5.0",
"fast-xml-parser": "^5.4.2",
"figures": "^6.1.0",
"globals": "^17.4.0",
"he": "^1.2.0",
"json-source-map": "^0.6.1",
"magic-string": "^0.30.21",
"minimatch": "^10.2.4",
"sax-wasm": "^3.1.4",
"semver": "^7.7.4",
"typescript": "^5.9.3",
"update-notifier": "^7.3.1",
"yargs": "^17.7.2"
},
"devDependencies": {
"@commitlint/cli": "^20.4.3",
"@commitlint/config-conventional": "^20.4.3",
"@eslint/js": "^9.39.2",
"@istanbuljs/esm-loader-hook": "^0.3.0",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@stylistic/eslint-plugin": "5.8.0",
"@types/he": "^1.2.3",
"@types/json-source-map": "^0.6.0",
"@types/node": "20.16.15",
"@types/semver": "^7.7.1",
"@types/sinon": "^21.0.0",
"@types/update-notifier": "^6.0.8",
"@types/yargs": "^17.0.35",
"@types/yauzl-promise": "^4.0.1",
"@ui5-language-assistant/semantic-model": "^3.3.1",
"@ui5-language-assistant/semantic-model-types": "^3.3.1",
"@ui5/cli": "^4.0.47",
"ava": "^6.4.1",
"eslint": "^9.39.3",
"eslint-plugin-ava": "^15.1.0",
"esmock": "^2.7.3",
"husky": "^9.1.7",
"knip": "^5.85.0",
"licensee": "^11.1.1",
"nyc": "^17.1.0",
"rimraf": "^6.1.3",
"sinon": "^21.0.2",
"tsx": "^4.21.0",
"typescript-eslint": "8.55.0",
"ui5-test-runner": "^5.13.0",
"yauzl-promise": "^4.0.0"
},
"overrides": {
"pacote@<=20": {
"tar": "^7.5.7"
},
"cacache@18": {
"tar": "^7.5.7"
},
"node-gyp@10": {
"tar": "^7.5.7"
},
"@ui5-language-assistant/semantic-model@^3.3.1": {
"lodash": "^4.17.23"
}
}
}