generated from magda-io/magda-auth-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.48 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
{
"name": "magda-auth-aaf",
"version": "1.0.0",
"description": "A Magda Authentication Plugin for Australian Access Federation (AAF) Rapid Connect",
"repository": "https://github.com/magda-io/magda-auth-aaf.git",
"author": "",
"license": "Apache-2.0",
"private": true,
"scripts": {
"prebuild": "rimraf dist tsconfig.tsbuildinfo",
"build": "tsc -b",
"watch": "tsc -b --watch",
"start": "node dist/index.js --config ./test/config.json",
"dev": "run-typescript-in-nodemon src/index.ts --config ./src/test/config.json",
"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-aaf -f deploy/test-deploy.yaml 1>/dev/null",
"helm-docs": "helm-docs -t ./README.md.gotmpl -o ../../README.md",
"update-all-charts": "helm dep up ./deploy/magda-auth-aaf",
"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": "^1.2.0",
"@types/express": "^4.17.13",
"@types/lodash": "^4.14.162",
"@types/mocha": "^8.0.3",
"@types/passport": "1.0.3",
"@types/urijs": "^1.19.12",
"@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": "^1.2.0",
"@magda/authentication-plugin-sdk": "^1.2.0",
"express": "^4.18.1",
"jwt-simple": "^0.5.6",
"lodash": "^4.17.20",
"passport": "0.2.2",
"passport-custom": "^1.1.1",
"urijs": "^1.19.11",
"yargs": "^16.1.0"
},
"config": {
"docker": {
"name": "data61/magda-auth-aaf",
"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"
}
}
}