-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 2.27 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 2.27 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
{
"name": "@eggjs/mysql",
"publishConfig": {
"access": "public"
},
"version": "6.0.0",
"description": "MySQL plugin for Egg.js",
"eggPlugin": {
"name": "mysql",
"exports": {
"import": "./dist/esm",
"require": "./dist/commonjs",
"typescript": "./src"
}
},
"keywords": [
"egg",
"eggPlugin",
"egg-plugin",
"mysql",
"database"
],
"repository": {
"type": "git",
"url": "git+https://github.com/eggjs/mysql.git"
},
"bugs": {
"url": "https://github.com/eggjs/mysql/issues"
},
"homepage": "https://github.com/eggjs/mysql#readme",
"author": "jtyjty99999",
"license": "MIT",
"engines": {
"node": ">= 18.19.0"
},
"dependencies": {
"@eggjs/core": "^6.4.0",
"@eggjs/rds": "^1.2.1"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.4",
"@eggjs/bin": "7",
"@eggjs/mock": "^6.0.7",
"@eggjs/tsconfig": "2",
"@types/mocha": "10",
"@types/node": "22",
"egg": "^4.0.10",
"husky": "^9.1.7",
"lint-staged": "^15.5.0",
"oxlint": "^0.16.2",
"prettier": "^3.5.3",
"rimraf": "6",
"snap-shot-it": "^7.9.10",
"tshy": "3",
"tshy-after": "1",
"typescript": "5"
},
"scripts": {
"lint": "oxlint",
"pretest": "npm run clean && npm run lint -- --fix",
"test": "egg-bin test",
"preci": "npm run clean && npm run lint",
"ci": "egg-bin cov",
"postci": "npm run prepublishOnly && npm run clean",
"clean": "rimraf dist",
"prepublishOnly": "tshy && tshy-after && attw --pack",
"prepare": "husky"
},
"lint-staged": {
"*": "prettier --write --ignore-unknown --cache",
"*.{ts,js,json,md,yml}": [
"prettier --ignore-unknown --write",
"oxlint --fix"
]
},
"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"
}