-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
138 lines (138 loc) · 3.51 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
{
"name": "@ui5/logger",
"version": "4.0.1",
"description": "UI5 Tooling - Internal Logger",
"author": {
"name": "SAP SE",
"email": "openui5@sap.com",
"url": "https://www.sap.com"
},
"license": "Apache-2.0",
"keywords": [
"openui5",
"sapui5",
"ui5",
"build",
"development",
"tool"
],
"type": "module",
"exports": {
".": "./lib/index.js",
"./Logger": "./lib/loggers/Logger.js",
"./writers/*": "./lib/writers/*.js",
"./package.json": "./package.json",
"./internal/loggers/*": "./lib/loggers/*.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": "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 $(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/logger,rimraf,docdash,@istanbuljs/esm-loader-hook"
},
"files": [
"CHANGELOG.md",
"CONTRIBUTING.md",
"jsdoc.json",
"lib/**",
"LICENSES/**",
".reuse/**"
],
"ava": {
"files": [
"test/lib/**/*.js"
],
"nodeArguments": [
"--no-warnings"
],
"workerThreads": false
},
"nyc": {
"reporter": [
"lcov",
"text",
"text-summary"
],
"exclude": [
"docs/**",
"jsdocs/**",
"coverage/**",
"test/**",
".eslintrc.cjs",
"jsdoc-plugin.cjs"
],
"check-coverage": true,
"statements": 90,
"branches": 90,
"functions": 90,
"lines": 90,
"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-logger.git"
},
"dependencies": {
"chalk": "^5.4.1",
"cli-progress": "^3.12.0",
"figures": "^6.1.0"
},
"devDependencies": {
"@eslint/js": "^9.8.0",
"@istanbuljs/esm-loader-hook": "^0.3.0",
"ava": "^6.2.0",
"chokidar-cli": "^3.0.0",
"cross-env": "^7.0.3",
"depcheck": "^1.4.7",
"docdash": "^2.0.2",
"eslint": "^9.20.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-ava": "^15.0.1",
"eslint-plugin-jsdoc": "^50.6.3",
"globals": "^15.14.0",
"jsdoc": "^4.0.4",
"nyc": "^17.1.0",
"open-cli": "^8.0.0",
"rimraf": "^6.0.1",
"sinon": "^19.0.2",
"strip-ansi": "^7.1.0",
"tap-xunit": "^2.4.1"
}
}