-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.38 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 1.38 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
{
"name": "@joseberna/logger",
"author": "Jose Berna",
"version": "1.0.0",
"description": "Cross-platform logger for backend and frontend with service context and colors",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/joseberna/Logger.git"
},
"exports": {
".": {
"browser": {
"import": "./dist/browser.mjs",
"require": "./dist/browser.js"
},
"node": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup src/index.ts src/browser.ts --format cjs,esm --dts --external chalk --clean --sourcemap --no-splitting",
"dev": "npm run build -- --watch",
"test": "vitest",
"demo": "tsx demo.ts",
"prepublishOnly": "npm run build"
},
"keywords": [
"logger",
"logging",
"chalk",
"frontend",
"backend"
],
"license": "ISC",
"devDependencies": {
"@types/node": "^22.10.1",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"dependencies": {
"chalk": "^4.1.2"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
}
}