-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 3.14 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
{
"name": "gatekeeper",
"version": "1.0.0",
"description": "A simple AWS Lambda service which authenticates a username/password and returns a JWT",
"repository": {
"type": "git",
"url": "[email protected]:jt-helsinki/gatekeeper.git"
},
"main": "handler.js",
"scripts": {
"start": "export SLS_DEBUG=*; export ENVIRONMENT=dev; export SECRET_KEY=0ca0c6f1a981458fba337554e85196cc; serverless offline start",
"test": "npm run docker-start; export SLS_DEBUG=*; export TABLE_NAME=gatekeeper-users-test; export ENVIRONMENT=test; export SECRET_KEY=0ca0c6f1a981458fba337554e85196cc&& nyc -r lcov -e .ts -x \"./test/**/*.test.ts\" jasmine-ts --config=./jasmine.json \"./test/**/*.test.ts\"; npm run docker-stop; npm run docker-remove-container",
"test-aws-codebuild": "jasmine-ts --config=./jasmine.json \"./test/**/*.test.ts\"",
"create-dev-user": "export SLS_DEBUG=*; export ENVIRONMENT=dev; export SECRET_KEY=0ca0c6f1a981458fba337554e85196cc&& jasmine-ts --config=./jasmine.dev.json \"./test/development/CreateDevUser.dev.ts\"",
"docker-compose-start": "docker-compose up",
"docker-compose-stop": "docker-compose down",
"docker-start": "npm run dynamodb-start; npm run redis-start",
"docker-stop": "npm run dynamodb-stop; npm run redis-stop; npm run docker-remove-container",
"docker-remove-container": "npm run dynamodb-remove-container; npm run redis-remove-container",
"dynamodb-start": "docker run -d -p 7999:8000 --name=dynamodb-gatekeeper-testing amazon/dynamodb-local",
"dynamodb-stop": "docker stop $(docker ps --filter status=running --filter name=dynamodb-gatekeeper-testing --format \"{{.ID}}\")",
"dynamodb-remove-container": "docker rm $(docker ps --filter status=exited --filter name=dynamodb-gatekeeper-testing --format \"{{.ID}}\") || true",
"redis-start": "docker run -d -p 6378:6379 --name=redis-gatekeeper-testing redis",
"redis-stop": "docker stop $(docker ps --filter status=running --filter name=redis-gatekeeper-testing --format \"{{.ID}}\")",
"redis-remove-container": "docker rm $(docker ps --filter status=exited --filter name=redis-gatekeeper-testing --format \"{{.ID}}\") || true",
"redis-commander": "redis-commander --redis-port 6379"
},
"dependencies": {
"aws-sdk": "^2.427.0",
"bcrypt": "^3.0.5",
"dynamodb-data-types": "^3.0.1",
"hiredis": "^0.5.0",
"jsonwebtoken": "^8.5.1",
"redis": "^2.8.0",
"source-map-support": "^0.5.10",
"uuid": "^3.3.2"
},
"devDependencies": {
"@types/aws-lambda": "^8.10.17",
"@types/aws-sdk": "^2.7.0",
"@types/bcrypt": "^3.0.0",
"@types/jasmine": "^3.3.12",
"@types/jsonwebtoken": "^8.3.2",
"@types/node": "^10.12.18",
"@types/redis": "^2.8.11",
"@types/uuid": "^3.4.4",
"jasmine": "^3.3.1",
"jasmine-spec-reporter": "^4.2.1",
"jasmine-ts": "^0.3.0",
"jasmine-ts-console-reporter": "^3.1.1",
"nyc": "^13.3.0",
"redis-commander": "^0.6.4",
"serverless-offline": "^4.9.2",
"serverless-webpack": "^5.2.0",
"ts-loader": "^5.3.3",
"ts-node": "^8.0.3",
"typescript": "^3.2.4",
"webpack": "^4.29.0",
"webpack-node-externals": "^1.7.2"
},
"license": "MIT"
}