-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 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
{
"name": "aws-lambda-auth",
"version": "1.0.0",
"description": "",
"dependencies": {
"bcrypt-nodejs": "0.0.3",
"bluebird": "^3.5.0",
"bunyan": "^1.8.10",
"bunyan-format": "^0.2.1",
"config": "^1.26.1",
"functional-helpers": "github:joelnet/functional-helpers",
"http-status": "^1.0.1",
"joi": "^10.4.1",
"jsonwebtoken": "^7.4.0",
"ramda": "^0.23.0",
"uuid": "^3.0.1"
},
"devDependencies": {
"aws-sdk": "^2.49.0",
"coveralls": "^2.13.1",
"ddb-migrate": "^0.2.5",
"eslint": "^3.19.0",
"jest": "^20.0.0",
"keypair": "^1.0.1",
"serverless": "^1.12.1"
},
"scripts": {
"test": "STAGE=dev jest --coverage && eslint .",
"debug": "STAGE=dev node --nolazy --debug-brk=9000 node_modules/.bin/jest --runInBand authorize.test.js",
"deploy:dev": "sls deploy --stage dev",
"coverage:view": "xdg-open coverage/lcov-report/index.html",
"coveralls": "cat coverage/lcov.info | coveralls",
"migrate:down": "dynamodump export-schema --region=us-west-2 --table=social-dev-users --file=migrations/social-dev-users.db",
"migrate:up": "dynamodump import-schema --region=eu-west-1 --file=your-schema-dump --table=your-table --wait-for-active",
"migrate:seed": "dynamodump import-data --region=us-west-2 --table=social-dev-users --file=migrations/social-dev-users.data",
"migrate:seeddown": "dynamodump export-data --region=us-west-2 --table=social-dev-users --file=migrations/social-dev-users.data",
"invoke:tokenPassword": "SLS_DEBUG=* serverless invoke local --function token --path events/tokenPasswordEvent.json --stage dev",
"invoke:tokenRefresh": "SLS_DEBUG=* serverless invoke local --function token --path events/tokenRefreshEvent.json --stage dev",
"invoke:authorize": "SLS_DEBUG=* serverless invoke local --function authorize --path events/authorizeEvent.json --stage dev",
"invoke:openid-configuration": "SLS_DEBUG=* serverless invoke local --function openidConfiguration --path events/openid-configuration.json --stage dev",
"invoke:user-registration": "SLS_DEBUG=* serverless invoke local --function userRegistration --path events/user-registration.json --stage dev",
"invoke:create-realm": "SLS_DEBUG=* serverless invoke local --function createRealm --path events/create-realm.json --stage dev",
"secrets:generate": "node ./tools/generate-private-key.js",
"static:up": "aws s3 sync static s3://social-core-dev-files/auth --acl public-read --delete"
},
"author": "",
"license": "MIT"
}