-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.9 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 2.9 KB
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
{
"name": "pg-wire-mock",
"version": "1.1.0",
"description": "A mock PostgreSQL server that speaks the wire protocol for learning and testing",
"main": "server.js",
"bin": {
"pg-wire-mock": "./server.js"
},
"scripts": {
"start": "node server.js",
"dev": "node server.js --log-level debug",
"start:quiet": "node server.js --quiet",
"start:port": "node server.js --port 5433",
"start:all": "node server.js --host 0.0.0.0 --port 5432",
"generate-certs": "node scripts/generate-certs.js",
"generate-certs:force": "node scripts/generate-certs.js --force",
"test": "NODE_ENV=test LOG_LEVEL=error jest --silent",
"test:verbose": "jest --verbose",
"test:coverage": "NODE_ENV=test LOG_LEVEL=error jest --coverage --silent",
"test:watch": "NODE_ENV=test LOG_LEVEL=error jest --watch --silent",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"format": "prettier --write 'src/**/*.js' 'server.js'",
"docs": "node -e \"console.log(require('./src/config/serverConfig').getConfigDocumentation())\"",
"config": "node -e \"const cfg = require('./src/config/serverConfig').loadConfig(); console.log(JSON.stringify(cfg, null, 2))\"",
"validate": "node src/validation/cli.js",
"validate:full": "node src/validation/cli.js --format html --output ./validation-reports",
"validate:compliance": "node src/validation/cli.js --test compliance --verbose",
"validate:edge-cases": "node src/validation/cli.js --test edgeCases --verbose",
"validate:error-conditions": "node src/validation/cli.js --test errorConditions --verbose",
"validate:fuzzing": "node src/validation/cli.js --test fuzzing --verbose",
"validate:message-format": "node src/validation/cli.js --test messageFormat --verbose",
"validate:ci": "node src/validation/cli.js --format json --output ./ci-reports --quiet",
"validate:real-pg": "node src/validation/cli.js --real-postgresql --postgresql-config ./postgresql-config.json",
"validate:performance": "node src/validation/cli.js --test performance --verbose",
"benchmark": "node scripts/ci-validation.js && node src/validation/cli.js --test performance",
"prepare": "husky install"
},
"keywords": [
"postgresql",
"wire-protocol",
"mock",
"server",
"learning",
"database",
"protocol",
"tcp",
"sql"
],
"author": "The DevOps Daily",
"license": "MIT",
"engines": {
"node": ">=12.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/The-DevOps-Daily/pg-wire-mock.git"
},
"bugs": {
"url": "https://github.com/The-DevOps-Daily/pg-wire-mock/issues"
},
"homepage": "https://github.com/The-DevOps-Daily/pg-wire-mock#readme",
"devDependencies": {
"@commitlint/cli": "^18.0.0",
"@commitlint/config-conventional": "^18.0.0",
"eslint": "^8.51.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^15.0.1",
"prettier": "^3.0.3"
}
}