forked from fullstack-build/tslog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
131 lines (131 loc) · 4.06 KB
/
package.json
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
131
{
"name": "tslog",
"version": "4.3.0",
"description": "📝 Extensible TypeScript Logger for Node.js and Browser: Dependency free, Fully customizable, Pretty errors, stack traces, and JSON output to attachable transports.",
"author": "Eugene <[email protected]> (http://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"
},
"main": "./dist/nodejs/cjs/index.js",
"module": "./dist/nodejs/esm/index.js",
"types": "./dist/types/index.d.ts",
"browser": {
"tslog": "./dist/browser/index.js",
"util": false,
"./src/runtime/nodejs/index.ts": "./src/runtime/browser/index.ts"
},
"exports": {
".": {
"require": "./dist/nodejs/cjs/index.js",
"import": "./dist/nodejs/esm/index.js"
}
},
"scripts": {
"build": "npm run build-types && npm run build-server && npm run build-browser",
"build-browser": "node build.js",
"build-types": "tsc -b tsconfig.types.json",
"build-server": "tsc -b tsconfig.esm.json tsconfig.cjs.json",
"start": "node --enable-source-maps --experimental-specifier-resolution=node examples/dist/examples/nodejs/index2.js",
"dev-ts": "nodemon --watch './**/*.ts' --exec 'node --enable-source-maps --experimental-specifier-resolution=node --no-warnings --loader ts-node/esm' examples/nodejs/index2.ts",
"dev-ts-old-example": "nodemon --watch './**/*.ts' --exec 'node --enable-source-maps --experimental-specifier-resolution=node --no-warnings --loader ts-node/esm' examples/nodejs/index.ts",
"dev-js": "tsc -b tsconfig.example.json && node --enable-source-maps --experimental-specifier-resolution=node examples/dist/examples/nodejs/index2.js",
"lint": "eslint --ext .js,.ts .",
"format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\"",
"test": "JEST_PUPPETEER_CONFIG=jest-puppeteer.config.cjs jest",
"test-puppeteer-serve": "npm run build-browser && node tests/Browser/server/index.cjs -p 4444",
"coverage": "JEST_PUPPETEER_CONFIG=jest-puppeteer.config.cjs jest --coverage",
"docsify-init": "docsify init ./docs",
"docsify-serve": "cd docs && docsify serve",
"pre-publish": "npm run build",
"release": "np --any-branch"
},
"engines": {
"node": ">=16"
},
"jest": {
"verbose": true,
"preset": "./jest-preset.cjs",
"testTimeout": 100000,
"testEnvironment": "node",
"collectCoverage": true,
"clearMocks": true,
"testMatch": [
"**/tests/**/*.test.ts",
"**/tests/**/*.test.js"
],
"coveragePathIgnorePatterns": [
"<rootDir>/tests/"
]
},
"np": {
"yarn": false,
"contents": "."
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@jest/types": "^28.1.3",
"@types/expect-puppeteer": "^5.0.1",
"@types/jest-environment-puppeteer": "^5.0.2",
"@types/node": "^17.0.29",
"@types/puppeteer": "^5.4.6",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"docsify": "^4.11.4",
"esbuild": "^0.15.5",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^8.0.1",
"jest": "^28.1.3",
"jest-puppeteer": "^6.1.1",
"nodemon": "^2.0.19",
"np": "^7.6.2",
"prettier": "^2.7.1",
"puppeteer": "^17.1.0",
"ts-jest": "^28.0.8",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
},
"sideEffects": false,
"keywords": [
"logger",
"typescript",
"log level",
"json",
"stacktrace",
"Error.stack",
"call location",
"debug",
"pretty",
"log",
"log4j",
"log4js",
"log4ts",
"print",
"logging",
"bunyan",
"winston",
"stack",
"trace",
"pretty print",
"prettify",
"format",
"human",
"callsites",
"callsite",
"show error",
"handling exceptions",
"pretty log",
"pretty json",
"pretty-error",
"sourcemap"
]
}