-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
144 lines (144 loc) · 4.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
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "lupdo-postgres",
"version": "2.0.0",
"description": "PostgreSql Driver For Lupdo",
"author": "Claudio Pennati <claudio.pennati@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Lupennat/lupdo-postgres.git"
},
"keywords": [
"database",
"abstraction",
"layer",
"pdo",
"pg",
"postgres",
"postgreSql",
"lupdo"
],
"main": "dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "rimraf -rf dist && npm run build:cjs && npm run build:esm && npm run build:types",
"build:cjs": "tsc -p ./typescript/tsconfig.cjs.json",
"build:esm": "tsc -p ./typescript/tsconfig.esm.json",
"build:types": "tsc -p ./typescript/tsconfig.types.json",
"docs:api": "npx typedoc --logLevel Error --excludeExternals --excludeProtected --excludePrivate --out ./docs/api/ --readme none src/index.ts",
"docs:md:index": "npx markdown-to-html --output ./docs/index.html --source ./README.md",
"docs:md:changelog": "npx markdown-to-html --output ./docs/changelog.html --source ./CHANGELOG.md",
"docs:md": "npm run docs:md:index && npm run docs:md:changelog",
"docs": "rimraf ./docs && npm run docs:api && npm run docs:md",
"lint": "eslint \"{src,test}/**/*.ts\"",
"lint:fix": "eslint \"{src,test}/**/*.ts\" --fix",
"prepublishOnly": "safe-publish-latest && npm run build",
"prepublish": "not-in-publish || npm run prepublishOnly",
"test:coverage": "jest --passWithNoTests --selectProjects unit integration --coverage --runInBand",
"test:unit": "jest --passWithNoTests --selectProjects unit --runInBand",
"test:integration": "jest --passWithNoTests --selectProjects integration --runInBand"
},
"engines": {
"node": ">=18.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.2",
"@types/node": "^20.10.6",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"eslint": "^8.42.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-simple-import-sort": "^12.1.0",
"eslint-plugin-unused-imports": "^3.2.0",
"jest": "^29.5.0",
"markdown-to-html-cli": "^4.0.3",
"prettier": "^3.0.0",
"rimraf": "^5.0.5",
"safe-publish-latest": "^2.0.0",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typedoc": "^0.25.6",
"typescript": "^5.1.3"
},
"peerDependencies": {
"lupdo": "^4.0.1"
},
"dependencies": {
"@types/pg": "^8.11.10",
"@types/yesql": "^4.1.4",
"pg": "^8.13.0",
"postgres-array": "^3.0.2",
"tslib": "^2.7.0",
"uuid-by-string": "^4.0.0",
"yesql": "^7.0.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"projects": [
{
"displayName": "unit",
"testMatch": [
"<rootDir>/src/*.test.ts"
],
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"testEnvironment": "node",
"setupFilesAfterEnv": [
"<rootDir>/test/setup-unit.test.ts"
]
},
{
"displayName": "integration",
"testMatch": [
"<rootDir>/test/integration/**/*.test.ts"
],
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"testEnvironment": "node",
"setupFilesAfterEnv": [
"<rootDir>/test/setup-integration.test.ts"
]
}
],
"collectCoverageFrom": [
"<rootDir>/src/**/*.ts",
"!<rootDir>/src/**/index.ts",
"!<rootDir>/src/**/*.test.ts"
],
"coverageReporters": [
"clover",
"json",
"lcov",
"text",
"cobertura"
],
"coverageDirectory": "coverage"
},
"markdown-to-html": {
"corners": false,
"reurls": {
"README.md": "index.html",
"https://lupdo-postgres.lupennat.com/": "/"
}
}
}