-
-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 3.63 KB
/
Copy pathpackage.json
File metadata and controls
130 lines (130 loc) · 3.63 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
{
"name": "tslog",
"version": "4.11.0",
"description": "Extensible TypeScript Logger for Node.js and Browser.",
"author": "Eugene <opensource@terehov.de> (https://fullstack.build)",
"license": "MIT",
"funding": "https://github.com/fullstack-build/tslog?sponsor=1",
"homepage": "https://tslog.js.org",
"repository": {
"type": "git",
"url": "git+https://github.com/fullstack-build/tslog.git"
},
"bugs": {
"url": "https://github.com/fullstack-build/tslog/issues"
},
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"browser": {
"tslog": "./dist/browser/index.js",
"util": false
},
"react-native": "./dist/cjs/index.js",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"default": "./dist/esm/index.js"
}
},
"scripts": {
"prepare": "husky",
"build": "npm run build-types && npm run build-server && npm run build-browser && npm run prepare-publish",
"build-browser": "node build.js",
"build-types": "tsc -b tsconfig.types.json",
"build-server": "tsc -b tsconfig.esm.json tsconfig.cjs.json && cp ./src/package-cjs.json ./dist/cjs/package.json",
"build-example": "tsc -b tsconfig.example.json",
"dev-ts": "nodemon examples/server/index2.ts",
"dev-ts-old-example": "nodemon examples/server/index.ts",
"lint": "biome lint .",
"format": "biome format --write .",
"check": "biome check --write .",
"test": "vitest run",
"test:browser": "npx playwright test",
"test:bun": "bunx vitest run",
"test:deno": "npm run build && deno test --allow-read --allow-env tests/deno_runner.ts",
"test:all": "vitest run && npx playwright test",
"test-browser-serve": "npm run build-browser && node tests/support/browser/server/index.cjs -p 4444",
"coverage": "vitest run --coverage",
"docs:dev": "npm --prefix docs run dev",
"docs:build": "npm --prefix docs run build",
"docs:preview": "npm --prefix docs run preview",
"pre-publish": "npm run build",
"release": "np --any-branch",
"pre-commit-hook": "bash ./scripts/pre-commit.sh",
"prepare-publish": "node scripts/prepare-publish.mjs",
"sync-version": "node scripts/sync-version.mjs",
"version": "npm run sync-version"
},
"engines": {
"node": ">=16"
},
"np": {
"yarn": false,
"contents": "./dist"
},
"publishConfig": {
"access": "public",
"directory": "dist"
},
"nodemonConfig": {
"watch": [
"./**/*.ts"
],
"exec": "node --experimental-specifier-resolution=node --enable-source-maps --no-warnings --loader ts-node/esm"
},
"devDependencies": {
"@biomejs/biome": "2.3.14",
"@playwright/test": "^1.50.0",
"@types/node": "^24.5.2",
"@vitest/coverage-v8": "^3.0.0",
"bson": "^6.10.4",
"esbuild": "^0.25.10",
"graphql": "^16.14.2",
"husky": "^9.1.7",
"nodemon": "^3.1.10",
"np": "^11.0.2",
"playwright": "^1.50.0",
"ts-node": "^10.9.2",
"typescript": "^5.9.2",
"vitest": "^3.0.0"
},
"overrides": {
"tmp": "^0.2.5"
},
"sideEffects": false,
"keywords": [
"logger",
"typescript",
"log level",
"json",
"stacktrace",
"Error.stack",
"call location",
"debug",
"pretty",
"log",
"log4j",
"log4js",
"log4ts",
"print",
"logging",
"stack",
"trace",
"pretty print",
"prettify",
"format",
"human",
"callsites",
"callsite",
"show error",
"handling exceptions",
"pretty log",
"pretty json",
"pretty-error",
"sourcemap"
]
}