forked from RoadieHQ/sample-service
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
50 lines (50 loc) · 1.67 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
49
50
{
"name": "sample-service",
"version": "0.1.0",
"description": "A toy service for testing",
"main": "dist/index.js",
"config": {
"awsFunctionName": "sample-service"
},
"scripts": {
"test": "mocha dist/*.test.js",
"build": "babel src --out-dir dist",
"start": "env $(cat .env | xargs) node dist/index.js",
"lint": "eslint src/*.js",
"build:lambda": "babel src --out-dir dist",
"package:lambda": "rm -rf function.zip && zip -rq function.zip . -x src/* *.log .env*",
"deploy:lambda": "yarn run clean && yarn run build:lambda && yarn run package:lambda && aws lambda update-function-code --function-name $npm_package_config_awsFunctionName --zip-file fileb://./function.zip",
"invoke:lambda": "aws lambda invoke --function-name sample-service aws-invocation.log",
"clean": "rm -rf dist function.zip"
},
"repository": {
"type": "git",
"url": "git+https://github.com/RoadieHQ/sample-service.git"
},
"author": "Larder, Inc.",
"license": "ISC",
"bugs": {
"url": "https://github.com/RoadieHQ/sample-service/issues"
},
"homepage": "https://github.com/RoadieHQ/sample-service#readme",
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.4",
"@babel/preset-env": "^7.11.0",
"@roadiehq/backstage-entity-validator": "^0.3.10",
"eslint": "^7.5.0",
"mocha": "^8.0.1"
},
"dependencies": {
"@bugsnag/js": "^7.14.1",
"@bugsnag/plugin-express": "^7.14.0",
"@sentry/node": "5.30.0",
"aws-serverless-express": "^3.3.8",
"express": "^4.18.2",
"express-winston": "^4.1.0",
"lodash": "^4.17.21",
"newrelic": "^7.0.1",
"rollbar": "^2.21.1",
"winston": "^3.3.3"
}
}