-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.32 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 2.32 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
{
"name": "loglevelnext",
"version": "6.0.0",
"description": "A modern logging library for Node.js and modern browsers that provides log level mapping to the console",
"license": "MPL-2.0",
"repository": "shellscape/loglevelnext",
"author": "Andrew Powell <andrew@shellscape.org>",
"homepage": "https://github.com/shellscape/loglevelnext",
"module": "./dist/index.mjs",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
}
},
"engines": {
"node": ">= 20.19.0"
},
"scripts": {
"build": "tsc --project tsconfig.json --noEmit false",
"ci:coverage": "vitest run --coverage && vitest coverage report --reporter=lcov",
"commitlint": "commitlint",
"commitmsg": "commitlint -e $GIT_PARAMS",
"lint": "pnpm lint:docs && pnpm lint:json && pnpm lint:package && pnpm lint:js",
"lint-staged": "lint-staged",
"lint:docs": "prettier --write .github/**/*.md **/README.md",
"lint:js": "oxlint --format stylish src test",
"lint:json": "prettier --write tsconfig.*.json",
"lint:package": "prettier --write **/package.json --plugin=prettier-plugin-package",
"prepublishOnly": "pnpm build",
"security": "pnpm audit --audit-level high",
"test": "vitest run"
},
"files": [
"dist",
"README.md"
],
"keywords": [
"browser",
"console",
"debug",
"error",
"level",
"levels",
"log",
"logger",
"logging",
"loglevel",
"persist",
"persistent",
"plugins",
"prefix",
"trace",
"warn"
],
"devDependencies": {
"@commitlint/cli": "19.8.1",
"@commitlint/config-conventional": "19.8.1",
"@ianvs/prettier-plugin-sort-imports": "^4.5.1",
"@types/node": "^24.1.0",
"@types/sinon": "^17.0.4",
"chalk": "^5.4.1",
"husky": "^9.1.7",
"lint-staged": "16.1.2",
"oxlint": "^0.16.3",
"pre-commit": "^1.2.2",
"sinon": "21.0.0",
"tsx": "^4.20.3",
"typescript": "^5.2.2",
"vitest": "^2.1.4"
},
"types": "./dist/index.d.ts",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js}": [
"oxlint --format stylish src test"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
],
"*package.json": [
"prettier --write --plugin=prettier-plugin-package"
]
}
}