-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.5 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
{
"name": "magda-auth-oidc",
"version": "2.0.4",
"description": "A Generic Magda Authentication Plugin for OpenID Connect",
"repository": "https://github.com/magda-io/magda-auth-oidc.git",
"author": "Jacky Jiang",
"license": "Apache-2.0",
"private": true,
"scripts": {
"prebuild": "rimraf dist tsconfig.tsbuildinfo",
"build": "tsc -b",
"watch": "tsc -b --watch",
"start": "node dist/index.js",
"dev": "run-typescript-in-nodemon src/index.ts",
"test": "mocha --require ts-node/register \"src/test/**/*.spec.ts\"",
"docker-build-local": "create-docker-context-for-node-component --build --push --tag auto --local",
"docker-build-prod": "create-docker-context-for-node-component --build --push --tag auto",
"helm-lint": "helm template deploy/magda-auth-oidc -f deploy/test-deploy.yaml 1>/dev/null",
"helm-docs": "docker run --rm -v \"$(pwd):/helm-docs\" -u $(id -u) jnorwood/helm-docs:v1.11.0 -t ./README.md.gotmpl -o ../../README.md",
"update-all-charts": "helm dep up ./deploy/magda-auth-oidc",
"add-all-chart-version-changes": "git ls-files -m | grep Chart.yaml | xargs git add && git ls-files -m | grep Chart.lock | xargs git add",
"add-all-helm-docs-changes": "yarn helm-docs && git ls-files -m | grep -i readme.md | xargs git add",
"version": "yarn update-helm-chart-version && yarn update-all-charts && yarn add-all-chart-version-changes && yarn add-all-helm-docs-changes",
"retag-and-push": "retag-and-push"
},
"devDependencies": {
"@magda/ci-utils": "^1.0.2",
"@magda/docker-utils": "^2.2.5",
"@types/express": "^4.0.37",
"@types/lodash": "^4.14.162",
"@types/mocha": "^8.0.3",
"@types/passport": "1.0.3",
"@types/urijs": "^1.19.12",
"@types/uuid": "^9.0.2",
"@types/yargs": "^15.0.9",
"mocha": "^8.2.0",
"rimraf": "^3.0.2",
"ts-node": "^9.0.0",
"typescript": "^3.9.5"
},
"dependencies": {
"@magda/auth-api-client": "^2.2.5",
"@magda/authentication-plugin-sdk": "^2.2.5",
"express": "^4.15.4",
"lodash": "^4.17.20",
"openid-client": "3.12.2",
"passport": "0.2.2",
"urijs": "^1.19.11",
"uuid": "^9.0.0",
"yargs": "^16.1.0"
},
"config": {
"docker": {
"name": "data61/magda-auth-oidc",
"include": "node_modules dist Dockerfile package.json assets"
},
"jwtSecret": "squirrel",
"SESSION_SECRET": "keyboard cat",
"userId": "00000000-0000-4000-8000-000000000000"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}