-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 3.15 KB
/
package.json
File metadata and controls
108 lines (108 loc) · 3.15 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
{
"name": "console-log-json",
"version": "6.4.1",
"description": "Drop-in structured JSON logging for Node.js and the browser. Zero dependencies. Replaces console.log() with single-line JSON output including stack traces, timestamps, and source file tracking. Works with DataDog, Splunk, LogDNA, OpenSearch, CloudWatch, and ELK.",
"private": false,
"types": "dist/index.d.ts",
"main": "dist/index.js",
"module": "dist/esm/index.mjs",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"license": "MIT",
"browser": {
"fs": false,
"path": false,
"source-map-support": false
},
"engines": {
"node": ">=10"
},
"sideEffects": true,
"files": [
"dist/src/**/*",
"dist/esm/index.mjs",
"dist/esm/index.mjs.map",
"dist/esm/index.d.ts",
"dist/index.js",
"dist/index.d.ts",
"dist/index.js.map",
"CHANGELOG.md"
],
"keywords": [
"logging",
"json-logging",
"structured-logging",
"console",
"console.log",
"log",
"json",
"browser",
"frontend",
"zero-dependencies",
"DataDog",
"Splunk",
"LogDNA",
"OpenSearch",
"CloudWatch",
"ELK",
"stack-traces",
"drop-in",
"universal"
],
"scripts": {
"prebuild": "",
"build": "npm run format:prettier && npm run lint && tsc -sourcemap && npm run build:esm",
"build:esm": "node -e \"require('esbuild').buildSync({entryPoints:['src/index.ts'],outfile:'dist/esm/index.mjs',bundle:true,format:'esm',platform:'node',sourcemap:true,target:'es2017'})\" && tsc -p tsconfig.esm.json --emitDeclarationOnly",
"test": "jest",
"build:watch": "tsc -w",
"clean": "rm -rf dist && rm -rf node_modules || (find node_modules -delete 2>/dev/null; true)",
"clean-only-dist": "rm -rf dist",
"audit": "npm audit --production",
"prepublishOnly": "npm run clean-only-dist && npm run install:prod && npm run build && npm run test && npm run prune:prod",
"preversion": "npm run build && npm run test",
"format:prettier": "prettier --write \"src/**/*.ts\"",
"lint": "tslint -p tsconfig.json",
"install:prod": "npm ci",
"prune:prod": "npm prune --production",
"refresh-package-locks": "npm run clean && find . -iname package-lock.json -delete && npm install",
"interactive-publish": "npm run build && np",
"install-latest-npm": "npm install -g npm@9"
},
"repository": {
"type": "git",
"url": "git@github.com:hiro5id/console-log-json.git"
},
"//#### dependencies-documentation": {
"": ""
},
"optionalDependencies": {
"source-map-support": "^0.5.21"
},
"devDependencies": {
"@types/chai": "5.2.3",
"@types/jest": "30.0.0",
"@types/node": "25.6.0",
"@types/sinon": "21.0.1",
"chai": "6.2.2",
"esbuild": "0.28.0",
"jest": "30.3.0",
"np": "11.1.0",
"prettier": "3.8.3",
"puppeteer-core": "24.41.0",
"sinon": "21.1.2",
"ts-jest": "29.4.9",
"tslint": "6.1.3",
"tslint-config-prettier": "1.18.0",
"typescript": "6.0.3"
}
}