-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
116 lines (116 loc) · 3.31 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
108
109
110
111
112
113
114
115
116
{
"name": "serverless-nodejs-starter",
"version": "1.0.0",
"description": "starter for nodejs serverless",
"main": "index.js",
"repository": "https://github.com/shavo007/serverless-nodejs-starter.git",
"author": "shane lee <shanelee007@gmail.com>",
"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",
"cz": "git-cz",
"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",
"git add"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"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": "7.24.8",
"express": "4.19.2",
"serverless-http": "1.10.1",
"source-map-support": "0.5.21",
"winston": "3.5.0"
},
"devDependencies": {
"@babel/core": "7.24.9",
"@babel/plugin-transform-runtime": "7.24.7",
"@babel/preset-env": "7.24.8",
"@babel/register": "7.24.6",
"aws-sdk": "2.1125.0",
"babel-loader": "8.3.0",
"babel-plugin-istanbul": "5.2.0",
"babel-plugin-source-map-support": "2.2.0",
"chai": "4.5.0",
"commitizen": "3.1.2",
"coveralls": "3.1.1",
"cross-env": "5.2.1",
"cz-conventional-changelog": "2.1.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-prettier": "^2.6.2",
"eslint-plugin-react": "7.4.0",
"husky": "1.3.1",
"lint-staged": "8.2.1",
"mocha": "6.2.3",
"mocha-lcov-reporter": "1.3.0",
"nyc": "13.3.0",
"prettier": "1.19.1",
"prettier-eslint": "8.8.2",
"rimraf": "2.7.1",
"serverless": "1.83.3",
"serverless-domain-manager": "2.6.13",
"serverless-offline": "4.10.6",
"serverless-plugin-aws-alerts": "1.7.5",
"serverless-webpack": "5.9.1",
"sinon": "7.5.0",
"sinon-chai": "3.7.0",
"webpack": "4.47.0",
"webpack-node-externals": "1.7.2"
}
}