-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathpackage.json
More file actions
160 lines (160 loc) · 3.95 KB
/
package.json
File metadata and controls
160 lines (160 loc) · 3.95 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "@ui5/cli",
"version": "4.0.51",
"description": "UI5 CLI - CLI",
"author": {
"name": "SAP SE",
"email": "openui5@sap.com",
"url": "https://www.sap.com"
},
"license": "Apache-2.0",
"keywords": [
"openui5",
"sapui5",
"ui5",
"build",
"development",
"tool"
],
"bin": {
"ui5": "./bin/ui5.cjs"
},
"type": "module",
"exports": {
"./bin/ui5.js": "./bin/ui5.cjs",
"./bin/ui5.cjs": "./bin/ui5.cjs",
"./package.json": "./package.json"
},
"engines": {
"node": "^20.11.0 || >=22.0.0",
"npm": ">= 8"
},
"scripts": {
"test": "npm run lint && npm run jsdoc-generate && npm run coverage && npm run check-licenses",
"test-azure": "npm run coverage-xunit",
"lint": "eslint ./",
"unit": "rimraf test/tmp && ava",
"unit-verbose": "rimraf test/tmp && cross-env UI5_LOG_LVL=verbose ava --verbose --serial",
"unit-watch": "npm run unit -- --watch",
"unit-xunit": "rimraf test/tmp && ava --node-arguments=\"--experimental-loader=@istanbuljs/esm-loader-hook\" --tap | tap-xunit --dontUseCommentsAsTestNames=true > test-results.xml",
"unit-inspect": "cross-env UI5_LOG_LVL=verbose ava debug --break",
"coverage": "rimraf test/tmp && nyc ava --node-arguments=\"--experimental-loader=@istanbuljs/esm-loader-hook\"",
"coverage-xunit": "nyc --reporter=text --reporter=text-summary --reporter=cobertura npm run unit-xunit",
"jsdoc": "npm run jsdoc-generate && open-cli jsdocs/index.html",
"jsdoc-generate": "jsdoc -c ./jsdoc.json -t $(npm ls docdash --parseable | head -1) ./lib/ || (echo 'Error during JSDoc generation! Check log.' && exit 1)",
"jsdoc-watch": "npm run jsdoc && chokidar \"./lib/**/*.js\" -c \"npm run jsdoc-generate\"",
"preversion": "npm test",
"version": "git-chglog --sort semver --next-tag v$npm_package_version -o CHANGELOG.md v4.0.0.. && git add CHANGELOG.md",
"prepublishOnly": "git push --follow-tags",
"release-note": "git-chglog --sort semver -c .chglog/release-config.yml v$npm_package_version | node .chglog/consolidate-changelogs.js",
"knip": "knip --config knip.config.js",
"check-licenses": "licensee --errors-only"
},
"files": [
"CHANGELOG.md",
"CONTRIBUTING.md",
"jsdoc.json",
"npm-shrinkwrap.json",
"bin/**",
"lib/**",
"LICENSES/**",
".reuse/**"
],
"ava": {
"files": [
"test/bin/**/*.js",
"test/lib/**/*.js"
],
"nodeArguments": [
"--loader=esmock",
"--no-warnings"
],
"workerThreads": false
},
"nyc": {
"reporter": [
"lcov",
"text",
"text-summary"
],
"exclude": [
".chglog/**",
"docs/**",
"jsdocs/**",
"coverage/**",
"test/**",
"jsdoc-plugin.cjs",
"knip.config.js"
],
"check-coverage": true,
"statements": 80,
"branches": 75,
"functions": 75,
"lines": 80,
"watermarks": {
"statements": [
70,
90
],
"branches": [
70,
90
],
"functions": [
70,
90
],
"lines": [
70,
90
]
},
"cache": true,
"all": true
},
"repository": {
"type": "git",
"url": "git@github.com:SAP/ui5-cli.git"
},
"dependencies": {
"@ui5/builder": "^4.1.5",
"@ui5/fs": "^4.0.5",
"@ui5/logger": "^4.0.2",
"@ui5/project": "^4.0.15",
"@ui5/server": "^4.0.15",
"chalk": "^5.6.2",
"data-with-position": "^0.5.0",
"import-local": "^3.2.0",
"js-yaml": "^4.1.1",
"open": "^11.0.0",
"pretty-hrtime": "^1.0.3",
"semver": "^7.7.4",
"update-notifier": "^7.3.1",
"yargs": "^17.7.2"
},
"devDependencies": {
"@eslint/js": "^9.8.0",
"@istanbuljs/esm-loader-hook": "^0.3.0",
"ava": "^6.4.1",
"chokidar-cli": "^3.0.0",
"cross-env": "^10.1.0",
"docdash": "^2.0.2",
"eslint": "^9.39.4",
"eslint-config-google": "^0.14.0",
"eslint-plugin-ava": "^15.1.0",
"eslint-plugin-jsdoc": "61.5.0",
"esmock": "^2.7.3",
"execa": "^9.6.1",
"globals": "^17.4.0",
"jsdoc": "^4.0.5",
"knip": "^5.88.1",
"licensee": "^11.1.1",
"nyc": "^17.1.0",
"open-cli": "^8.0.0",
"rimraf": "^6.1.3",
"sinon": "^21.0.3",
"strip-ansi": "^7.2.0",
"tap-xunit": "^2.4.1",
"testdouble": "^3.20.2"
}
}