-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
45 lines (45 loc) · 2.15 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": "tsh-rad-js",
"version": "1.0.1",
"description": "",
"main": "index.js",
"scripts": {
"start": "npm i && cd ./services/security && npm i && cd - && (test -n \"$(docker images -q app:latest)\" || npm run docker-build-watcher) && npm run watch",
"security": "docker-compose up -d keycloak-postgres && docker-compose up -d keycloak && docker-compose up security",
"test": "npm run security-integration",
"build": "tsc --skipLibCheck",
"docker-build-security": "docker build -t security-service:latest -f ./services/security/docker/dev/Dockerfile .",
"docker-build-security-prod": "docker build -t security-service-prod:latest -f ./services/security/docker/prod/Dockerfile .",
"docker-build-watcher": "docker build -t app:latest -f ./docker/Dockerfile .",
"security-integration": "docker-compose run --rm security-integration-tests",
"down": "docker-compose down -v",
"shell": "docker-compose run --rm js sh",
"watch": "docker-compose up builder",
"format": "docker-compose run --rm js ./node_modules/.bin/prettier --write \"**/**/*.ts\" \"!**/**/*.d.ts\" \"!**/**/plop-templates/*\"",
"lint": "docker-compose run --rm js ./node_modules/.bin/eslint -c ./eslint.json --ext .ts ./",
"plop": "plop",
"backup-keycloak-db": "docker exec -t radmodules_keycloak-postgres_1 pg_dumpall -c -U keycloak > ./keycloak/keycloak-postgres-data.sql",
"restore-keycloak-db": "cat ./keycloak/keycloak-postgres-data.sql | docker exec -i radmodules_keycloak-postgres_1 psql -U keycloak -d keycloak"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/core": "7.12.16",
"@types/node": "16.11.59",
"@types/redis": "2.8.28",
"@typescript-eslint/eslint-plugin": "5.38.1",
"@typescript-eslint/parser": "5.38.1",
"eslint": "8.24.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "17.0.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-unicorn": "42.0.0",
"fs-extra": "9.1.0",
"plop": "2.7.4",
"prettier": "2.7.1",
"typescript": "4.8.4"
}
}