-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 2.09 KB
/
package.json
File metadata and controls
69 lines (69 loc) · 2.09 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
{
"name": "@ekino/logger",
"description": "A Lightweight logger that combines debug namespacing capabilities with winston levels and multioutput",
"homepage": "https://github.com/ekino/node-logger",
"license": "MIT",
"version": "2.1.1",
"tags": [
"logger",
"lightweight",
"namespaces",
"debug",
"multioutput",
"logging",
"javascript",
"typescript"
],
"repository": {
"type": "git",
"url": "https://github.com/ekino/node-logger.git"
},
"maintainers": [
{
"name": "Ekino"
}
],
"type": "module",
"main": "lib/esm/index.js",
"types": "lib/esm/index.d.ts",
"exports": {
".": {
"import": {
"types": "./lib/esm/index.d.ts",
"default": "./lib/esm/index.js"
},
"require": {
"types": "./lib/cjs/index.d.ts",
"default": "./lib/cjs/index.js"
}
}
},
"files": [
"/lib"
],
"devDependencies": {
"@biomejs/biome": "2.4.13",
"@types/node": "24.12.2",
"@vitest/coverage-v8": "4.1.5",
"commitlint": "20.5.2",
"tsx": "4.19.0",
"typescript": "6.0.3",
"vitest": "4.1.5"
},
"scripts": {
"lint": "biome check --write",
"check": "biome check",
"build": "pnpm run build:esm && pnpm run build:cjs",
"build:esm": "tsc -p tsconfig.lib.json --outDir lib/esm",
"build:cjs": "tsc -p tsconfig.lib.json --module CommonJS --moduleResolution Bundler --outDir lib/cjs",
"postbuild:cjs": "echo '{\"type\": \"commonjs\"}' > lib/cjs/package.json",
"prepublishOnly": "pnpm run build",
"test": "vitest --run test/*.test.ts",
"coverage": "vitest run --coverage",
"version": "echo ${npm_package_version}",
"examples": "./examples/exec.sh",
"examples-esm": "./examples/esm/exec.sh",
"examples-cjs": "./examples/cjs/exec.sh",
"hook": "git config core.hooksPath ./.githooks || true"
}
}