-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
35 lines (35 loc) · 1.49 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
{
"name": "keijo",
"version": "1.3.2",
"description": "Custom UI for Netvisor",
"scripts": {
"start": "docker compose up -d server web db && npm run logs",
"start:test": "docker compose up -d server-test web-test nv-mock db",
"start:all": "docker compose up -d",
"stop": "docker compose down",
"stop:test": "docker compose down server-test web-test nv-mock",
"restart": "npm stop && npm start",
"recycle": "npm stop && npm run build && npm start",
"logs": "docker compose logs -f server web",
"logs:test": "docker compose logs -f server-test web-test nv-mock",
"postinstall": "cd server && npm ci && cd ../web && npm ci && cd ../e2e && npm ci",
"version": "scripts/version_sub_projects.sh $npm_package_version",
"postversion": "git push && git push --tags",
"format:check": "prettier --check .",
"e2e:open": "npm run start:test && cd e2e && npm start",
"e2e": "npm run start:test && npm run wait-for-server && cd e2e && npm test",
"unit-tests": "cd server && npm test",
"test": "npm run unit-tests && npm run e2e",
"wait-for-server": "curl -sX GET --retry 10 --retry-delay 1 --retry-all-errors http://localhost:4001/ > /dev/null",
"build": "docker compose build",
"prune": "docker compose down && docker volume rm keijo-local_keijo-pg"
},
"author": "Joonas Häkkinen <[email protected]>",
"contributors": [
"Kimi Kuru <[email protected]>"
],
"license": "MIT",
"dependencies": {
"prettier": "^3.2.5"
}
}