forked from lambci/lambci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
34 lines (34 loc) · 1.42 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
{
"name": "lambci",
"version": "0.10.0",
"description": "A continuous integration system built on AWS Lambda",
"repository": "lambci/lambci",
"author": "Michael Hart <[email protected]>",
"license": "MIT",
"main": "index.js",
"engines": {
"node": ">=8.0.0"
},
"scripts": {
"test": "mocha",
"integration": "node test/integration.js",
"v": "node -p 'require(\"./package.json\").version'",
"template": "sed -E \"s_CodeUri:.+\\$_CodeUri: {Bucket: {'Fn::Sub': 'lambci-\\${AWS::Region}'}, Key: fn/lambci-build-$(npm run -s v).zip}_\" template.yaml > build/versioned.yaml",
"s3": "npm run zip && ./publish.sh",
"zip": "rm -rf build/lambda.zip node_modules && npm ci --prod && zip -qyr build/lambda.zip . [email protected]",
"package": "npm run zip && sam package --template-file template.yaml --s3-bucket ${S3_BUCKET:-lambci} --s3-prefix ${S3_PREFIX:-package} --output-template-file build/packaged.yaml",
"deploy": "npm run package && sam deploy --stack-name ${STACK:-lambci} --template-file build/packaged.yaml --capabilities CAPABILITY_IAM",
"docker": "npm run zip && rm -rf build/docker && unzip build/lambda.zip -d build/docker && docker-compose build"
},
"dependencies": {
"ansi_up": "^3.0.0",
"nave": "^2.2.3",
"neo-async": "^2.6.0"
},
"devDependencies": {
"aws-sdk": "^2.382.0",
"chai": "^4.2.0",
"docker-lambda": "^0.15.3",
"mocha": "^5.2.0"
}
}