/
package.json
91 lines (91 loc) · 4.33 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
{
"name": "lupdo-postgres",
"version": "1.7.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/typings/index.d.ts",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"types": "./dist/typings/index.d.ts"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"prepublishOnly": "safe-publish-latest && npm run build",
"prepublish": "not-in-publish || npm run prepublishOnly",
"build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:types",
"build:cjs": "tsc",
"build:esm": "tsc -p ./typescript/tsconfig.esm.json",
"build:types": "tsc -p ./typescript/tsconfig.types.json",
"clean": "rimraf ./dist",
"local:test": "npm run db:up && npm run test:crdb221 && npm run test:crdb222 && npm run test:crdb231 && npm run test:postgres12 && npm run test:postgres13 && npm run test:postgres14 && npm run test:postgres15 && npm run test:postgres16 && npm run db:down",
"local:coverage": "docker compose -f docker-compose.yml up --build -d postgres16 && docker-compose -f docker-compose.yml up waitpostgres16 && npm run test:postgres16:coverage && npm run db:down",
"test": "npm run lint && cross-env DB jest --config test/jest.config.js",
"test:crdb221": "npm run lint && cross-env DB=crdb221 jest --config test/jest.config.js",
"test:crdb222": "npm run lint && cross-env DB=crdb222 jest --config test/jest.config.js",
"test:crdb231": "npm run lint && cross-env DB=crdb231 jest --config test/jest.config.js",
"test:postgres11": "npm run lint && cross-env DB=postgres11 jest --config test/jest.config.js",
"test:postgres12": "npm run lint && cross-env DB=postgres12 jest --config test/jest.config.js",
"test:postgres13": "npm run lint && cross-env DB=postgres13 jest --config test/jest.config.js",
"test:postgres14": "npm run lint && cross-env DB=postgres14 jest --config test/jest.config.js",
"test:postgres15": "npm run lint && cross-env DB=postgres15 jest --config test/jest.config.js",
"test:postgres16": "npm run lint && cross-env DB=postgres16 jest --config test/jest.config.js",
"test:postgres16:coverage": "npm run lint && cross-env DB=postgres16 jest --config test/jest.config.js --coverage",
"test:db": "npm run lint && jest --config test/jest.config.js",
"test:coverage": "npm run lint && jest --config test/jest.config.js --coverage",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" \"./src\"",
"lint:fix": "eslint --fix --ext \".js,.jsx,.ts,.tsx\" \"./src\"",
"db:up": "docker compose -f docker-compose.yml up --build -d crdb221 crdb222 crdb231 postgres12 postgres13 postgres14 postgres15 postgres16 && docker-compose -f docker-compose.yml up waitcrdb221 waitcrdb222 waitcrdb231 waitpostgres12 waitpostgres13 waitpostgres14 waitpostgres15 waitpostgres16",
"db:down": "docker compose -f docker-compose.yml down -v"
},
"engines": {
"node": "^14.19.0 || ^16.10.0 || >=18.0.0"
},
"devDependencies": {
"@types/jest": "^29.2.4",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"cross-env": "^7.0.3",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.3.1",
"prettier": "^2.8.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"safe-publish-latest": "^2.0.0",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4"
},
"dependencies": {
"@types/pg": "^8.6.6",
"@types/yesql": "^4.1.1",
"lupdo": "^3.4.0",
"pg": "^8.8.0",
"postgres-array": "^3.0.1",
"tslib": "^2.4.1",
"uuid-by-string": "^4.0.0",
"yesql": "^5.0.0"
}
}