forked from aws-samples/cloudfront-authorization-at-edge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
44 lines (44 loc) · 1.93 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
{
"name": "cloudfront-authorization-at-edge",
"version": "2.0.18",
"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": "npx 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/*) src/cfn-custom-resources/react-app/react-app/; do [ ! -f ${DIR}/package.json ] || (cd ${DIR} && echo \"Updating ${DIR} ...\" && rm -rf node_modules package-lock.json && npm install --prune); done;",
"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 --prune --ignore-scripts); done",
"audit-fix": "for DIR in . $(ls -d src/cfn-custom-resources/*) $(ls -d src/lambda-edge/*) src/cfn-custom-resources/react-app/react-app/; do [ ! -f ${DIR}/package.json ] || (cd ${DIR} && echo \"Updating ${DIR} ...\" && npm audit fix); done"
},
"keywords": [],
"author": "",
"devDependencies": {
"@tsconfig/node16": "^1.0.4",
"@types/adm-zip": "^0.4.34",
"@types/aws-lambda": "^8.10.92",
"@types/cookie": "^0.4.1",
"@types/fs-extra": "^9.0.13",
"@types/node": "^20.2.5",
"aws-sdk": "^2.1354.0",
"html-loader": "^3.1.0",
"prettier": "^2.5.1",
"terser-webpack-plugin": "^5.3.1",
"ts-loader": "^9.2.6",
"typescript": "^4.5.5",
"webpack": "^5.76.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.2"
},
"dependencies": {
"adm-zip": "^0.5.9",
"aws-jwt-verify": "^2.1.3",
"cookie": "^0.4.1"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2
}
}