-
-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 3.59 KB
/
package.json
File metadata and controls
126 lines (126 loc) · 3.59 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
{
"name": "tslog",
"version": "4.10.2",
"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": "eslint --ext .js,.ts .",
"format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\"",
"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-puppeteer-serve": "npm run build-browser && node tests/support/browser/server/index.cjs -p 4444",
"coverage": "vitest run --coverage",
"docsify-init": "docsify init ./docs",
"docsify-serve": "cd docs && docsify serve",
"pre-publish": "npm run build",
"release": "np --any-branch",
"pre-commit-hook": "bash ./scripts/pre-commit.sh",
"prepare-publish": "node scripts/prepare-publish.mjs"
},
"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": {
"@playwright/test": "^1.50.0",
"@types/node": "^24.5.2",
"@typescript-eslint/eslint-plugin": "^8.44.1",
"@typescript-eslint/parser": "^8.44.1",
"@vitest/coverage-v8": "^3.0.0",
"docsify": "^4.13.1",
"esbuild": "^0.25.10",
"eslint": "^9.36.0",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"nodemon": "^3.1.10",
"np": "^10.2.0",
"playwright": "^1.50.0",
"prettier": "^3.6.2",
"ts-node": "^10.9.2",
"typescript": "^5.9.2",
"vitest": "^3.0.0"
},
"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"
]
}