-
Notifications
You must be signed in to change notification settings - Fork 50
/
package.json
42 lines (42 loc) · 2.17 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
{
"name": "pipeline-dashboard",
"version": "1.0.0",
"description": "Simple dashboard for pipelines on AWS",
"main": "index.js",
"config": {
"region": "us-east-1",
"staging_bucket": "pipeline-dashboard",
"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}/template.yml",
"create-codebuild": "aws cloudformation create-stack --region ${npm_package_config_region} --stack-name pipeline-dashboard-codebuild --template-body file://codebuild.yml --capabilities CAPABILITY_NAMED_IAM ",
"update-codebuild": "aws cloudformation update-stack --region ${npm_package_config_region} --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}/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 && node ./node_modules/mocha/bin/_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": {
"aws-sdk-mock": "^5.0.0",
"chai": "^4.1.2",
"jshint": "^2.9.5",
"lambda-tester": "^4.0.1",
"mocha": "^7.0.0",
"sinon": "^8.1.0",
"sinon-chai": "^3.4.0"
},
"dependencies": {
"aws-sdk": "^2.138.0"
}
}