-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
163 lines (163 loc) · 4.28 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
{
"name": "@ui5/builder",
"version": "4.0.3",
"description": "UI5 Tooling - Builder",
"author": {
"name": "SAP SE",
"email": "[email protected]",
"url": "https://www.sap.com"
},
"license": "Apache-2.0",
"keywords": [
"openui5",
"sapui5",
"ui5",
"build",
"development",
"tool"
],
"type": "module",
"exports": {
"./processors/*": "./lib/processors/*.js",
"./processors/jsdoc/lib/*": null,
"./tasks/*": "./lib/tasks/*.js",
"./tasks/taskRepository": null,
"./tasks/utils/*": null,
"./tasks/bundlers/utils/*": null,
"./package.json": "./package.json",
"./internal/taskRepository": "./lib/tasks/taskRepository.js",
"./internal/jsdoc/template/publish": "./lib/processors/jsdoc/lib/ui5/template/publish.js"
},
"engines": {
"node": "^20.11.0 || >=22.0.0",
"npm": ">= 8"
},
"scripts": {
"test": "npm run lint && npm run jsdoc-generate && npm run coverage && npm run depcheck",
"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": "rimraf test/tmp && ava --watch",
"unit-xunit": "rimraf test/tmp && ava --node-arguments=\"--experimental-loader=@istanbuljs/esm-loader-hook\" --tap --timeout=1m | 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 $(node -p 'path.dirname(require.resolve(\"docdash\"))') ./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",
"depcheck": "depcheck --ignores @ui5/builder,docdash,@istanbuljs/esm-loader-hook,catharsis,rimraf --parsers='**/*.js:es6,**/*.cjs:es6'"
},
"files": [
"CHANGELOG.md",
"CONTRIBUTING.md",
"jsdoc.json",
"lib/**",
"LICENSES/**",
".reuse/**"
],
"ava": {
"files": [
"test/lib/**/*.js"
],
"watchMode": {
"ignoreChanges": [
"test/tmp/**"
]
},
"nodeArguments": [
"--loader=esmock",
"--no-warnings"
],
"workerThreads": false
},
"nyc": {
"reporter": [
"lcov",
"text",
"text-summary"
],
"exclude": [
"lib/processors/jsdoc/lib/**",
"docs/**",
"jsdocs/**",
"coverage/**",
"test/**",
".eslintrc.cjs",
"jsdoc-plugin.cjs"
],
"check-coverage": true,
"statements": 85,
"branches": 70,
"functions": 90,
"lines": 85,
"watermarks": {
"statements": [
70,
90
],
"branches": [
70,
90
],
"functions": [
70,
90
],
"lines": [
70,
90
]
},
"cache": true,
"all": true
},
"repository": {
"type": "git",
"url": "[email protected]:SAP/ui5-builder.git"
},
"dependencies": {
"@jridgewell/sourcemap-codec": "^1.5.0",
"@ui5/fs": "^4.0.1",
"@ui5/logger": "^4.0.1",
"cheerio": "1.0.0",
"escape-unicode": "^0.2.0",
"escope": "^4.0.0",
"espree": "^10.3.0",
"graceful-fs": "^4.2.11",
"jsdoc": "^4.0.4",
"less-openui5": "^0.11.6",
"pretty-data": "^0.40.0",
"semver": "^7.6.3",
"terser": "^5.36.0",
"workerpool": "^9.2.0",
"xml2js": "^0.6.2"
},
"devDependencies": {
"@eslint/js": "^9.14.0",
"@istanbuljs/esm-loader-hook": "^0.2.0",
"@jridgewell/trace-mapping": "^0.3.25",
"@ui5/project": "^4.0.3",
"ava": "^6.2.0",
"chokidar-cli": "^3.0.0",
"cross-env": "^7.0.3",
"depcheck": "^1.4.7",
"docdash": "^2.0.2",
"eslint": "^9.15.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-ava": "^15.0.1",
"eslint-plugin-jsdoc": "^50.5.0",
"esmock": "^2.6.9",
"globals": "^15.12.0",
"line-column": "^1.0.2",
"nyc": "^17.1.0",
"open-cli": "^8.0.0",
"rimraf": "^6.0.1",
"sinon": "^19.0.2",
"tap-xunit": "^2.4.1"
}
}