-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 3.5 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "custom-authoriser-api-key",
"version": "1.0.0",
"description": "starter for nodejs serverless",
"main": "index.js",
"repository": "https://github.com/shavo007/custom-authoriser-api-key.git",
"author": "shane lee <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=8"
},
"private": true,
"scripts": {
"bootstrap": "./scripts/bootstrap.sh",
"eslint-check": "eslint --print-config .eslintrc.js | eslint-config-prettier-check",
"deploy:dev": "sls deploy --stage dev",
"deploy:production": "sls deploy --stage production",
"deploy:stage": "sls deploy --stage stage",
"lint": "eslint ./src",
"precommit": "lint-staged",
"serve": "cross-env SLS_DEBUG=* serverless offline start --stage dev",
"metrics": "sls metrics --stage dev",
"tail:hello": "sls logs --function hello --tail",
"tail:app": "sls logs --function app --tail",
"test:unit": "eslint --fix src && rimraf reports && cross-env NODE_ENV=test nyc mocha",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"watch:hello": "serverless invoke local --watch --function hello --path fixtures/event.json",
"watch:warm": "serverless invoke local --watch --function hello --path fixtures/scheduled.json"
},
"lint-staged": {
"src/**/*.js": [
"yarn lint --fix",
"prettier --write --single-quote --trailing-comma es5",
"git add"
]
},
"nyc": {
"check-coverage": true,
"lines": 0,
"statements": 0,
"functions": 0,
"branches": 0,
"sourceMap": false,
"instrument": false,
"require": [
"babel-register"
],
"include": [
"src/**/*.js"
],
"exclude": [
"src/**/*.spec.js",
"src/**/index.js",
"src/logger.js"
],
"reporter": [
"text",
"html",
"teamcity"
],
"cache": true,
"all": true,
"report-dir": "./reports/coverage"
},
"dependencies": {
"babel-runtime": "6.26.0",
"express": "4.16.4",
"serverless-http": "1.9.0",
"source-map-support": "0.5.10",
"winston": "2.4.4"
},
"devDependencies": {
"aws-sdk": "2.391.0",
"babel-core": "6.26.3",
"babel-loader": "7.1.5",
"babel-plugin-istanbul": "4.1.6",
"babel-plugin-source-map-support": "2.0.1",
"babel-plugin-transform-runtime": "6.23.0",
"babel-preset-env": "1.7.0",
"babel-preset-stage-3": "6.24.1",
"chai": "4.2.0",
"coveralls": "3.0.2",
"cross-env": "5.2.0",
"eslint": "4.19.1",
"eslint-config-airbnb": "16.1.0",
"eslint-config-prettier": "2.9.0",
"eslint-plugin-import": "2.7.0",
"eslint-plugin-jsx-a11y": "6.0.2",
"eslint-plugin-react": "7.4.0",
"husky": "0.14.3",
"lint-staged": "7.3.0",
"mocha": "5.2.0",
"mocha-lcov-reporter": "1.3.0",
"nyc": "11.9.0",
"prettier": "1.16.0",
"rimraf": "2.6.3",
"serverless": "1.36.2",
"serverless-domain-manager": "2.6.12",
"serverless-offline": "3.33.0",
"serverless-plugin-aws-alerts": "1.2.4",
"serverless-webpack": "5.2.0",
"sinon": "5.1.1",
"sinon-chai": "3.3.0",
"webpack": "4.29.0",
"webpack-node-externals": "1.7.2"
}
}