-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
46 lines (46 loc) · 1.68 KB
/
package.json
File metadata and controls
46 lines (46 loc) · 1.68 KB
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
{
"name": "slashbin-api",
"version": "1.0.0",
"description": "",
"main": "index.js",
"config": {
"s3BucketName": "slashbin-temp",
"region": "eu-south-1",
"cloudFormationStackName": "SlashBin-API",
"profile": "default"
},
"scripts": {
"win-package": "aws cloudformation package --template ./cloudformation.yaml --s3-bucket %npm_package_config_s3BucketName% --output-template packaged-sam.yaml --region %npm_package_config_region% --profile %npm_package_config_profile%",
"win-deploy": "aws cloudformation deploy --template-file packaged-sam.yaml --stack-name %npm_package_config_cloudFormationStackName% --capabilities CAPABILITY_IAM --region %npm_package_config_region% --profile %npm_package_config_profile%",
"win-package-deploy": "npm run win-package && npm run win-deploy",
"win-copy": "cp app.js ./deploy && cp lambda.js ./deploy && cp package*json ./deploy && cp -r ./lib ./deploy",
"win-prepare": "npm run win-copy && cd ./deploy && npm ci --production",
"deploy": "npm run win-prepare && npm run win-package-deploy",
"pretest": "eslint --fix .",
"test": "exit 0"
},
"author": "Slash Bin Team",
"license": "ISC",
"dependencies": {
"axios": "^0.21.0",
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"morgan": "^1.10.0",
"uuid": "^8.3.1"
},
"devDependencies": {
"aws-sdk": "^2.792.0",
"babel-eslint": "^10.1.0",
"eslint": "^7.13.0",
"eslint-config-prettier": "^6.15.0",
"eslint-config-walmart": "^2.2.1",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-prettier": "^3.1.4",
"prettier": "^2.1.2"
},
"eslintIgnore": [
"node_modules/",
"/deploy"
]
}