forked from aws-samples/cloudfront-authorization-at-edge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 1.67 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
{
"name": "cloudfront-authorization-at-edge",
"version": "1.0.0",
"description": "Protect downloads of your content hosted on CloudFront with Cognito authentication using Lambda@Edge",
"main": "index.js",
"scripts": {
"test": "echo \"Sorry, there aren't any tests\"; exit 1",
"tsc": "tsc -b",
"webpack": "webpack --progress",
"analyze": "webpack --profile --json > stats.json && webpack-bundle-analyzer ./stats.json",
"build": "npm run tsc && npm run webpack",
"update-dependencies": "for DIR in . $(ls -d src/cfn-custom-resources/*) $(ls -d src/lambda-edge/*); do [ ! -f ${DIR}/package.json ] || (cd ${DIR} && echo \"Updating ${DIR} ...\" && rm -rf node_modules package-lock.json && npm update --dev); done; npm i",
"postinstall": "for DIR in $(ls -d src/cfn-custom-resources/*) $(ls -d src/lambda-edge/*); do [ ! -f ${DIR}/package.json ] || (cd ${DIR} && echo \"Updating ${DIR} ...\" && npm install --ignore-scripts); done"
},
"keywords": [],
"author": "",
"devDependencies": {
"@types/adm-zip": "^0.4.33",
"@types/aws-lambda": "^8.10.61",
"@types/cookie": "^0.4.0",
"@types/fs-extra": "^9.0.1",
"@types/jsonwebtoken": "^8.5.0",
"@types/ncp": "^2.0.4",
"@types/node": "^14.6.0",
"html-loader": "^1.2.1",
"terser-webpack-plugin": "^4.1.0",
"ts-loader": "^8.0.2",
"typescript": "^3.9.7",
"webpack": "^4.44.1",
"webpack-bundle-analyzer": "^3.8.0",
"webpack-cli": "^3.3.12"
},
"dependencies": {
"adm-zip": "^0.4.16",
"aws-sdk": "^2.737.0",
"axios": "^0.19.2",
"cookie": "^0.4.1",
"jsonwebtoken": "^8.5.1",
"jwks-rsa": "^1.9.0",
"ncp": "^2.0.0",
"s3-spa-upload": "^1.1.6"
}
}