forked from stolostron/console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
45 lines (45 loc) · 2.36 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
{
"name": "@open-cluster-management/console",
"version": "0.0.1",
"license": "SEE LICENSE IN LICENSE",
"scripts": {
"setup": "./setup.sh",
"postinstall": "concurrently npm:*:ci",
"frontend:ci": "cd frontend && npm ci",
"backend:ci": "cd backend && npm ci",
"test": "npm run frontend:test && npm run backend:test",
"frontend:test": "cd frontend && npm test",
"backend:test": "cd backend && npm test",
"lint": "npm run frontend:lint && npm run backend:lint",
"frontend:lint": "cd frontend && npm run lint",
"backend:lint": "cd backend && npm run lint",
"check": "npm run frontend:check && npm run backend:check && npm run copyright:check",
"frontend:check": "cd frontend && npm run check",
"backend:check": "cd backend && npm run check",
"copyright:check": "ts-node util/copyright-check",
"copyright:fix": "ts-node util/copyright-fix",
"start": "concurrently npm:frontend npm:backend -n 'frontend, backend' -c blue,cyan",
"backend": "cd backend && npm start",
"frontend": "cd frontend && npm start",
"build": "concurrently npm:*:build",
"backend:build": "cd backend && npm run build",
"frontend:build": "cd frontend && npm run build",
"update": "npm run backend:update && npm run frontend:update",
"backend:update": "cd backend && npm run update",
"frontend:update": "cd frontend && npm run update",
"clean": "concurrently npm:*:clean",
"backend:clean": "cd backend && npm run clean",
"frontend:clean": "cd frontend && npm run clean",
"docker:build": "docker build -t console .",
"docker:run": "npm run docker:build && docker run --rm --name console -p 3000:3000 -e LOG_MEMORY=true -e PORT=3000 -v $PWD/backend/certs:/app/certs --env-file=backend/.env console | ./backend/node_modules/.bin/pino-zen -i time && docker rm -f console",
"docker:deploy": "npm run docker:build && docker tag console quay.io/$USER/console:latest && docker push quay.io/$USER/console:latest && ./scripts/patch-deployment.sh latest quay.io/$USER/console",
"prepare": "husky install"
},
"dependencies": {
"@types/node": "^15.0.2",
"concurrently": "^6.1.0",
"husky": "^6.0.0",
"ts-node": "^9.1.1",
"typescript": "^4.2.4"
}
}