-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 1.51 KB
/
package.json
File metadata and controls
45 lines (45 loc) · 1.51 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
{
"name": "lambda-microservice-template",
"version": "1.0.1",
"description": "Template for microservice using lambda / typescript / serverless",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/balmbees/lambda-microservice-template.git"
},
"scripts": {
"prebuild": "check-engine && rm -rf dst",
"build": "tsc",
"postbuild": "cd src && find . -name '*.json' -type f -exec cp {} ../dst/{} \\; && cd ..",
"prepack": "rm -f dst.zip",
"pack": "cp package.json package-lock.json dst/ && cd dst && npm ci --production && npm ls && zip -rqy ../dst.zip . && cd ..",
"pretest": "npm run build -- -p ./tsconfig.test.json",
"test": "mocha --exit -t 20000 dst/**/__test__/**/*.js",
"lint": "tslint -c tslint.json 'src/**/*.ts'",
"deploy": "npm run build && npm run pack && serverless deploy",
"deploy:stage": "npm run deploy -- -s stage",
"deploy:prod": "npm run deploy -- -s prod",
"info:stage": "sls info -s stage",
"info:prod": "sls info -s prod"
},
"engines": {
"node": "^12.0.0",
"npm": "^6.10.2"
},
"author": "Kurt Lee",
"license": "ISC",
"devDependencies": {
"@types/chai": "4.2.16",
"@types/mocha": "5.2.7",
"@types/node": "8.10.59",
"@vingle/serverless-tag-plugin": "1.1.3",
"@vingle/tslint-preset": "1.0.1",
"chai": "4.3.4",
"check-engine": "1.10.0",
"mocha": "6.2.3",
"serverless": "1.83.3",
"serverless-prune-plugin": "1.5.0",
"tslint": "6.1.3",
"typescript": "3.9.6"
}
}