-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.08 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
{
"name": "gearshaft-example",
"author": "Mario Pareja",
"version": "1.0.0",
"description": "Gearshaft usage example",
"license": "MIT",
"main": "index.js",
"scripts": {
"clean": "rimraf .nyc_output coverage",
"cov": "opener coverage/index.html",
"dev": "node --inspect=9229 . | pino-pretty -t",
"lint": "standard --verbose",
"recreate": "export PGHOST=localhost PGUSER=postgres PGPASSWORD=NInAN5t3kJo8d7I3 && npm run recreate:cmd",
"recreate:cmd": "npm run recreate:mdb && npm run recreate:schema",
"recreate:mdb": "npm run mdb:uninstall ; npm run mdb:install && npm run mdb:passwd",
"recreate:schema": "psql message_store -f sql/registration-view-ddl.sql",
"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';\"",
"test": "npm run clean && npm run lint && npm run jest",
"jest": "jest ${JEST_CI_ENV:-'--notify'}"
},
"jest": {
"collectCoverage": true,
"coverageDirectory": "coverage",
"coverageReporters": [
"html",
"text-summary"
],
"coverageThreshold": {
"global": {
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100
}
},
"testEnvironment": "node",
"transform": {},
"verbose": true
},
"keywords": [
"gearshaft"
],
"repository": {
"type": "git",
"url": "git+https://github.com/mpareja/gearshaft-example.git"
},
"standard": {
"env": [
"jest",
"node"
]
},
"bugs": {
"url": "https://github.com/mpareja/gearshaft-example/issues"
},
"homepage": "https://github.com/mpareja/gearshaft-example#readme",
"dependencies": {
"faker": "^5.1.0",
"gearshaft": "^0.15.5",
"pino": "^6.8.0",
"rc": "^1.2.8"
},
"devDependencies": {
"@eventide/message-db": "^1.2.3",
"jest": "^26.6.3",
"opener": "^1.5.2",
"pino-pretty": "^4.3.0",
"rimraf": "^3.0.2",
"standard": "^16.0.3"
}
}