-
Notifications
You must be signed in to change notification settings - Fork 42
/
package.json
51 lines (51 loc) · 1.83 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
{
"name": "opbeans-node",
"version": "1.0.0",
"description": "The Opbeans inventory management system",
"main": "server.js",
"dependencies": {
"after-all-results": "^2.0.0",
"body-parser": "^1.20.2",
"elastic-apm-node": "^4.8.1",
"express": "^4.21.1",
"express-pino-logger": "^7.0.0",
"pg": "^8.13.1",
"pino": "^9.5.0",
"redis": "^3.1.0",
"request": "^2.88.0",
"workload": "^2.4.3"
},
"devDependencies": {
"standard": "^17.1.2"
},
"engines": {
"node": ">=18"
},
"scripts": {
"db-setup": "./db/setup.sh",
"lint": "standard",
"postinstall": "if [ \"$NODE_ENV\" != production ]; then npm run client-update; fi",
"client-update": "npm run client-clone && npm run client-pull && npm run client-install && npm run client-build",
"client-clone": "if ! [ -d client ]; then git clone https://github.com/elastic/opbeans-frontend client; fi",
"client-pull": "(cd client && git pull)",
"client-install": "npm install --prefix client",
"client-build": "npm run build --prefix client",
"start": "node server.js",
"workload": "workload -f .workload.js",
"customer-add-ok": "curl -v -X POST -H 'Content-Type: application/json' -d @db/customer-ok.json http://localhost:3000/api/customers",
"customer-add-redos": "curl -v -X POST -H 'Content-Type: application/json' -d @db/customer-redos.json http://localhost:3000/api/customers"
},
"repository": {
"type": "git",
"url": "git+https://github.com/elastic/opbeans-node.git"
},
"contributors": [
"Thomas Watson Steen <[email protected]> (https://twitter.com/wa7son)",
"Vanja Ćosić <[email protected]> (https://twitter.com/vanjacosic)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/elastic/opbeans-node/issues"
},
"homepage": "https://github.com/elastic/opbeans-node#readme"
}