-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
85 lines (85 loc) · 2.4 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
77
78
79
80
81
82
83
84
85
{
"name": "ts-postgres",
"type": "module",
"version": "2.0.5-dev",
"description": "PostgreSQL client in TypeScript",
"declaration": true,
"keywords": [
"database",
"postgres",
"postgresql",
"rdbms"
],
"homepage": "https://github.com/malthe/ts-postgres",
"author": "Malthe Borch <[email protected]>",
"main": "./dist/module/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/commonjs/index.js"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/module/index.js"
}
}
},
"files": [
"/dist"
],
"repository": {
"type": "git",
"url": "git://github.com/malthe/ts-postgres.git"
},
"license": "MIT",
"engines": {
"node": ">=18.0"
},
"scripts": {
"lint": "eslint -c .eslintrc.json --ext .ts src test",
"prebuild": "rimraf dist",
"build:cjs": "tsc -p tsconfig.dist.json --module commonjs --moduleResolution node --outDir dist/commonjs",
"build:esm": "tsc -p tsconfig.dist.json --outDir dist/module",
"test": "node --experimental-default-type module --loader ts-node/esm --enable-source-maps --test test/*.test.ts",
"test:prod": "npm run lint && npm run test"
},
"prettier": {
"semi": true,
"singleQuote": true,
"tabWidth": 4,
"overrides": [
{
"files": [
"*.md",
"*.yml"
],
"options": {
"tabWidth": 2
}
}
]
},
"devDependencies": {
"@types/node": "^20.11.21",
"@typescript-eslint/eslint-plugin": "^6",
"@typescript-eslint/parser": "^6",
"colors": "^1",
"dts-bundle-generator": "^9.3.1",
"eslint": "^8",
"eslint-config-standard": "^17",
"eslint-plugin-import": "^2",
"eslint-plugin-node": "^11",
"eslint-plugin-prettier": "^5",
"eslint-plugin-promise": "^6",
"lint-staged": "^15.0.2",
"rimraf": "~3.0",
"ts-node": "~10.9",
"typedoc": "~0.25",
"typescript": "~5.2"
},
"peerDependencies": {
"@types/node": "^20"
}
}