This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
forked from stelligent/pipeline-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 2.35 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": "pipeline-dashboard",
"version": "2.0.0",
"description": "Simple dashboard for pipelines on AWS",
"main": "index.js",
"config": {
"region": "us-east-1",
"staging_bucket": "mr-pipeline-dashboard-sar",
"stack_name": "pipeline-dashboard"
},
"scripts": {
"package": "npm run package:cfn && npm run package:template",
"package:cfn": "mkdir -p .out && aws cloudformation package --template-file template.yml --s3-bucket ${npm_package_config_staging_bucket}-${npm_package_config_region} --output-template-file .out/template.yml",
"package:template": "aws s3 cp .out/template.yml s3://${npm_package_config_staging_bucket}-${npm_package_config_region}/{npm_package_version}/template.yml",
"prepare": "npm audit fix",
"create-codebuild": "aws cloudformation create-stack --region ap-southeast-2 --stack-name pipeline-dashboard-codebuild --template-body file://codebuild.yml --capabilities CAPABILITY_NAMED_IAM ",
"update-codebuild": "aws cloudformation update-stack --region ap-southeast-2 --stack-name pipeline-dashboard-codebuild --template-body file://codebuild.yml --capabilities CAPABILITY_NAMED_IAM --parameters ParameterKey=GitHubToken,UsePreviousValue=true",
"deploy": "aws s3 cp s3://${npm_package_config_staging_bucket}-${npm_package_config_region}/${npm_package_version}/template.yml .out/template.yml && aws cloudformation deploy --template-file .out/template.yml --stack-name $npm_package_config_stack_name --capabilities CAPABILITY_NAMED_IAM --region $npm_package_config_region ",
"test": "node ./node_modules/jshint/bin/jshint index.js src/*.js && nyc mocha"
},
"repository": {
"type": "git",
"url": "git+https://github.com/stelligent/pipeline-dashboard.git"
},
"author": "Casey Lee <[email protected]> (http://www.cplee.org)",
"license": "MIT",
"bugs": {
"url": "https://github.com/stelligent/pipeline-dashboard/issues"
},
"homepage": "https://github.com/stelligent/pipeline-dashboard#readme",
"devDependencies": {
"@types/aws-lambda": "^8.10.88",
"@types/jest": "^27.0.3",
"@types/node": "^14.14.31",
"aws-sdk-mock": "^5.5.0",
"chai": "^4.3.4",
"eslint": "^8.5.0",
"jshint": "^2.13.1",
"lambda-tester": "^4.0.1",
"mocha": "^9.1.3",
"nyc": "^15.1.0",
"sinon": "^12.0.1",
"sinon-chai": "^3.7.0"
},
"dependencies": {
"aws-sdk": "^2.1048.0"
}
}