-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 1.76 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
{
"name": "topdash",
"description": "top level common utilities library (environment, database, error reporting, etc)",
"keywords": [
"sql",
"migrations",
"panic",
"env",
"logging",
"time"
],
"version": "0.0.13",
"exports": {
"database": {
"import": "./dist/database/index.mjs",
"require": "./dist/database/index.js"
},
"error": {
"import": "./dist/error/index.mjs",
"require": "./dist/error/index.js"
},
"core": {
"import": "./dist/core/index.mjs",
"require": "./dist/core/index.js"
}
},
"typesVersions": {
"*": {
"database": [
"./dist/database/index.d.ts"
],
"error": [
"./dist/error/index.d.ts"
],
"core": [
"./dist/core/index.d.ts"
]
}
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"scripts": {
"prep": "pnpm format",
"format": "pnpm prettier . --write",
"test": "NODE_PATH=./src pnpm jest",
"test-file": "NODE_PATH=./src pnpm jest -- $1",
"test-file-watch": "NODE_PATH=./src pnpm jest --watch -- $1",
"test-watch": "NODE_PATH=./src pnpm jest --watchAll",
"npm-publish": "pnpm build && npm publish",
"build": "npx tsup"
},
"author": "srcspider",
"license": "MIT",
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.5",
"@types/node": "^20.14.8",
"jest": "^29.7.0",
"prettier": "^3.3.2",
"ts-jest": "^29.1.5",
"tsup": "^8.1.0",
"typescript": "^5.5.2"
},
"dependencies": {
"browser-or-node": "^3.0.0",
"lodash": "^4.17.21",
"mysql2": "^3.10.1",
"parse-duration": "^1.1.0",
"sql-formatter": "^15.3.2"
}
}