-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
76 lines (76 loc) · 1.75 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
{
"name": "sdk-base",
"version": "5.0.1",
"description": "a base class for sdk with default error handler",
"keywords": [
"sdk",
"error"
],
"author": {
"name": "dead_horse",
"email": "[email protected]",
"url": "http://deadhorse.me"
},
"repository": {
"type": "git",
"url": "[email protected]:node-modules/sdk-base"
},
"license": "MIT",
"engines": {
"node": ">= 18.19.0"
},
"dependencies": {
"gals": "^1.0.2",
"get-ready": "^3.4.0",
"is-type-of": "^2.2.0",
"utility": "^2.3.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.1",
"@eggjs/tsconfig": "1",
"@types/mocha": "10",
"@types/node": "22",
"egg-bin": "6",
"eslint": "8",
"eslint-config-egg": "14",
"tshy": "3",
"tshy-after": "1",
"typescript": "5"
},
"scripts": {
"lint": "eslint --cache src test --ext .ts",
"pretest": "npm run lint -- --fix && npm run prepublishOnly",
"test": "egg-bin test -p --timeout 5000",
"test-local": "egg-bin test --timeout 5000",
"preci": "npm run lint && npm run prepublishOnly && attw --pack",
"ci": "egg-bin cov -p",
"prepublishOnly": "tshy && tshy-after"
},
"type": "module",
"tshy": {
"exports": {
".": "./src/index.ts",
"./package.json": "./package.json"
}
},
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
},
"./package.json": "./package.json"
},
"files": [
"dist",
"src"
],
"types": "./dist/commonjs/index.d.ts",
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js"
}