-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
128 lines (128 loc) · 6.5 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
{
"name": "ludb",
"version": "0.0.11",
"description": "Nodejs Query Builder",
"author": "Claudio Pennati <claudio.pennati@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Lupennat/ludb"
},
"keywords": [
"laravel",
"pgsql",
"pg",
"mysql",
"mssql",
"sqlsrv",
"mariadb",
"query",
"builder",
"database",
"layer",
"lupdo",
"sqlite",
"sqlite3"
],
"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",
"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:cache": "npx markdown-to-html --output ./docs/cache.html --source ./CACHE.md",
"docs:md:schema": "npx markdown-to-html --output ./docs/schema.html --source ./SCHEMA.md",
"docs:md:config": "npx markdown-to-html --output ./docs/config.html --source ./CONFIG.md",
"docs:md:changelog": "npx markdown-to-html --output ./docs/changelog.html --source ./CHANGELOG.md",
"docs:md:builder": "npx markdown-to-html --output ./docs/builder.html --source ./BUILDER.md",
"docs:md": "npm run docs:md:index && npm run docs:md:schema && npm run docs:md:cache && npm run docs:md:config && npm run docs:md:changelog && npm run docs:md:builder",
"docs": "rimraf ./docs && npm run docs:api && npm run docs:md",
"test:code": "jest --modulePathIgnorePatterns '<rootDir>/src/__tests__/integration/' --config test/jest.config.js ",
"test:coverage": "jest --modulePathIgnorePatterns '<rootDir>/src/__tests__/integration/' --coverage --config test/jest.config.js",
"test:integration": "jest --runInBand --modulePathIgnorePatterns '<rootDir>/src/__tests__/code/' --config test/jest-integration.config.js",
"test:integration:mysql57": "cross-env DB=mysql57 jest --runInBand --modulePathIgnorePatterns '<rootDir>/src/__tests__/code/' --config test/jest-integration.config.js",
"test:integration:mysql8": "cross-env DB=mysql8 jest --runInBand --modulePathIgnorePatterns '<rootDir>/src/__tests__/code/' --config test/jest-integration.config.js",
"test:integration:maria1003": "cross-env DB=maria1003 jest --runInBand --modulePathIgnorePatterns '<rootDir>/src/__tests__/code/' --config test/jest-integration.config.js",
"test:integration:maria1011": "cross-env DB=maria1011 jest --runInBand --modulePathIgnorePatterns '<rootDir>/src/__tests__/code/' --config test/jest-integration.config.js",
"test:integration:sqlite": "cross-env DB=sqlite jest --runInBand --modulePathIgnorePatterns '<rootDir>/src/__tests__/code/' --config test/jest-integration.config.js",
"test:integration:postgres12": "cross-env DB=postgres12 jest --runInBand --modulePathIgnorePatterns '<rootDir>/src/__tests__/code/' --config test/jest-integration.config.js",
"test:integration:postgres16": "cross-env DB=postgres16 jest --runInBand --modulePathIgnorePatterns '<rootDir>/src/__tests__/code/' --config test/jest-integration.config.js",
"test:integration:sqlsrv17": "cross-env DB=sqlsrv17 jest --runInBand --modulePathIgnorePatterns '<rootDir>/src/__tests__/code/' --config test/jest-integration.config.js",
"test:integration:sqlsrv22": "cross-env DB=sqlsrv22 jest --runInBand --modulePathIgnorePatterns '<rootDir>/src/__tests__/code/' --config test/jest-integration.config.js",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" \"./src\"",
"lint:fix": "eslint --fix --ext \".js,.jsx,.ts,.tsx\" \"./src\"",
"sqlite:up": "touch sqlite3.db",
"sqlite:down": "rimraf sqlite3.db",
"db:up": "npm run sqlite:up && docker compose -f docker-compose.yml up --build -d mysql57 mysql8 postgres12 postgres16 sqlsrv17 sqlsrv22 maria1003 maria1011 && docker-compose -f docker-compose.yml up waitmysql57 waitmysql8 waitpostgres12 waitpostgres16 waitsqlsrv17 waitsqlsrv22 waitmaria1003 waitmaria1011",
"db:down": "npm run sqlite:down && docker compose -f docker-compose.yml down -v"
},
"engines": {
"node": "^16.10.0 || >=18.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.2",
"@types/node": "^20.10.6",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.42.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.5.0",
"lupdo-mssql": "^2.3.0",
"lupdo-mysql": "^1.5.0",
"lupdo-postgres": "^1.7.0",
"lupdo-sqlite": "^1.5.1",
"markdown-to-html-cli": "^4.0.3",
"prettier": "^3.0.0",
"rimraf": "^3.0.2",
"safe-publish-latest": "^2.0.0",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typedoc": "^0.25.6",
"typescript": "^5.1.3"
},
"dependencies": {
"@types/get-value": "^3.0.5",
"@types/pluralize": "^0.0.33",
"@types/set-value": "^4.0.3",
"compare-versions": "^6.1.0",
"deepmerge": "^4.3.1",
"get-value": "^3.0.1",
"is-plain-object": "^5.0.0",
"lupdo": "^3.4.0",
"pluralize": "^8.0.0",
"set-value": "^4.1.0",
"snake-case": "^3.0.4",
"tslib": "^2.6.2"
},
"markdown-to-html": {
"corners": false,
"reurls": {
"README.md": "index.html",
"SCHEMA.md": "schema.html",
"CACHE.md": "cache.html",
"CONFIG.md": "config.html",
"BUILDER.md": "builder.html",
"CHANGELOG.md": "changelog.html",
"https://ludb.lupennat.com/": "/"
}
}
}