-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.3 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 2.3 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
{
"name": "@serverless-guru/logger",
"version": "1.2.0",
"description": "Common logger utility",
"main": "./lib/cjs/index.js",
"types": "./lib/cjs/index.d.ts",
"scripts": {
"prepare": "npm run build",
"build": "rm -fr lib/ && rm -rf .tsbuildinfo/ && npm run build:cjs && npm run build:esm",
"build:cjs": "tsc --build tsconfig.cjs.json && echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json",
"build:esm": "tsc --build tsconfig.json && echo '{ \"type\": \"module\" }' > lib/esm/package.json",
"test:lint": "eslint",
"test:unit": "jest --coverage",
"test": "npm run test:lint && npm run test:unit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/serverless-guru/logger-typescript.git"
},
"homepage": "https://github.com/serverless-guru/logger-typescript#readme",
"files": [
"lib"
],
"exports": {
".": {
"require": {
"types": "./lib/cjs/index.d.ts",
"default": "./lib/cjs/index.js"
},
"import": {
"types": "./lib/esm/index.d.ts",
"default": "./lib/esm/index.js"
}
},
"./logger": {
"import": "./lib/esm/logger/index.js",
"require": "./lib/cjs/logger/index.js"
},
"./types": {
"import": "./lib/esm/types/index.js",
"require": "./lib/cjs/types/index.js"
}
},
"devDependencies": {
"@jest/globals": "29.7.0",
"@tsconfig/node20": "20.1.4",
"@types/jest": "29.5.14",
"@types/node": "22.13.1",
"@typescript-eslint/eslint-plugin": "8.24.0",
"@typescript-eslint/parser": "8.24.0",
"eslint": "9.20.1",
"eslint-config-prettier": "10.0.1",
"eslint-plugin-jest": "28.11.0",
"eslint-plugin-jsdoc": "50.6.3",
"eslint-plugin-n": "17.15.1",
"eslint-plugin-promise": "7.2.1",
"jest": "29.7.0",
"prettier": "3.5.0",
"ts-jest": "29.2.5",
"typescript": "5.7.3"
},
"author": "Serverless Guru",
"license": "ISC",
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"env-var": "^7.5.0"
}
}