-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
66 lines (66 loc) · 2.56 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
66
{
"name": "haveibeenpwned-zxcvbn-lambda-api",
"description": "Score users' new passwords with zxcvbn, check them against the haveibeenpwned database, and rain judgement on users accordingly (no server required)",
"author": "Dave Willenberg <[email protected]> (https://github.com/detroitenglish)",
"version": "0.7.0",
"main": "lambda.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/detroitenglish/haveibeenpwned-zxcvbn-lambda-api.git"
},
"bugs": {
"url": "https://github.com/detroitenglish/haveibeenpwned-zxcvbn-lambda-api/issues"
},
"homepage": "https://github.com/detroitenglish/haveibeenpwned-zxcvbn-lambda-api",
"scripts": {
"clean": "del package-lock.json lambda.js",
"deploy:aws": "npx claudia create --profile $npm_package_config_aws_profile --handler lambda.handler --deploy-proxy-api --region $npm_package_config_aws_region --version $npm_package_config_aws_environment --set-env-from-json env.json",
"deploy": "npm-run-all -s clean reinstall generate deploy:aws",
"dev": "node scripts/dev-server",
"generate": "npx claudia generate-serverless-express-proxy --express-module ./src/index",
"lint": "eslint src scripts --fix",
"reinstall": "npm install",
"update-env": "npx claudia set-version --profile $npm_package_config_aws_profile --version $npm_package_config_aws_environment --set-env-from-json env.json",
"update": "npm-run-all -s clean reinstall generate upgrade:aws",
"upgrade:aws": "npx claudia update --profile $npm_package_config_aws_profile --handler lambda.handler --deploy-proxy-api --region $npm_package_config_aws_region --version $npm_package_config_aws_environment --set-env-from-json env.json"
},
"config": {
"aws_region": "eu-central-1",
"aws_environment": "development",
"aws_profile": "pwnage"
},
"files": [
"src",
"lambda.js"
],
"devDependencies": {
"aws-sdk": "^2.903.0",
"babel-eslint": "^10.1.0",
"chokidar": "^3.5.1",
"claudia": "^5.13.0",
"del-cli": "^3.0.1",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-prettier": "^3.4.0",
"nodemon": "^2.0.7",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1"
},
"dependencies": {
"aws-serverless-express": "^3.4.0",
"axios": "^0.21.1",
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"helmet": "^4.6.0",
"lodash.random": "^3.2.0",
"shortid": "^2.2.16",
"tiny-lru": "^7.0.6",
"zxcvbn": "^4.4.2"
},
"engines": {
"node": ">=8"
}
}