-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
87 lines (87 loc) · 2.64 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
{
"name": "gearshaft",
"version": "0.15.8",
"description": "",
"main": "index.js",
"private": false,
"engines": {
"node": ">=10",
"npm": ">=6"
},
"scripts": {
"clean": "rimraf coverage",
"cov": "opener coverage/index.html",
"dep-graph": "export OUTPUT=$(mktemp).svg; depcruise --exclude '(node_modules|^test|/test/|^util$|^events$|^crypto$|^assert$|examples|^errors/operation-error.js$)' --max-depth 1 --output-type dot . | dot -T svg > $OUTPUT && x-www-browser \"file://$OUTPUT\"",
"jest": "jest ${JEST_CI_ENV:-'--notify'}",
"lint": "standard -v",
"recreate": "export PGHOST=localhost PGUSER=postgres PGPASSWORD=NInAN5t3kJo8d7I3 && npm run recreate:cmd",
"recreate:cmd": "npm run recreate:mdb && npm run recreate:test-schema",
"recreate:test-schema": "psql message_store -f test/postgres-automated-test-schema.sql",
"recreate:mdb": "npm run mdb:uninstall ; npm run mdb:install && npm run mdb:passwd",
"mdb:uninstall": "./node_modules/@eventide/message-db/database/uninstall.sh",
"mdb:install": "./node_modules/@eventide/message-db/database/install.sh",
"mdb:passwd": "psql -c \"alter role message_store with password 'NInAN5t3kJo8d7I3';\"",
"prepare": "simple-git-hooks",
"test": "npm run clean && npm run lint && npm run jest",
"watch-test": "jest --no-coverage --notify --watch"
},
"simple-git-hooks": {
"commit-msg": "./tools/commit-msg \"$@\"",
"pre-commit": "npm test"
},
"jest": {
"collectCoverage": true,
"coverageDirectory": "coverage",
"coverageReporters": [
"html",
"text-summary"
],
"coverageThreshold": {
"global": {
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100
}
},
"testEnvironment": "node",
"transform": {},
"verbose": true
},
"standard": {
"env": [
"jest",
"node"
]
},
"author": "Mario Pareja",
"license": "MIT",
"dependencies": {
"lodash.clonedeep": "^4.5.0",
"pg": "^8.8.0",
"uuid": "^9.0.0",
"uuid-validate": "0.0.3"
},
"devDependencies": {
"@eventide/message-db": "1.2.6",
"dependency-cruiser": "^12.1.0",
"jest": "^29.3.1",
"js-joda": "^1.11.0",
"node-notifier": "^10.0.1",
"opener": "^1.5.2",
"pino": "^8.7.0",
"rc": "^1.2.8",
"rimraf": "^3.0.2",
"simple-git-hooks": "2.8.1",
"standard": "^17.0.0",
"systeminformation": "^5.15.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mpareja/gearshaft.git"
},
"bugs": {
"url": "https://github.com/mpareja/gearshaft/issues"
},
"homepage": "https://github.com/mpareja/gearshaft#readme"
}