-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
93 lines (93 loc) · 2.8 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
{
"name": "koa-node-js-boilerplate",
"version": "1.0.0",
"description": "Boilerplate for Node.js Koa RESTful API application with Serverless, Cors, Error Handling, Logger, Request Log Time",
"main": "index.mjs",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start:dev": "nodemon --inspect src/index.mjs",
"precommit": "eslint --ignore-path .gitignore .",
"start:offline": "npm run lint && sls offline",
"deploy": "npm run lint && sls deploy",
"start": "node src/index.mjs",
"lint": "eslint src",
"lint-fix": "eslint src --fix",
"format": "yarn prettier \"**/*.*(js|jsx)\" --ignore-path=.prettierignore --write",
"prepare": "husky install"
},
"dependencies": {
"@koa/cors": "^4.0.0",
"debug": "^4.3.4",
"dotenv": "^16.0.3",
"koa": "^2.14.1",
"koa-bodyparser": "^4.3.0",
"koa-helmet": "^6.1.0",
"koa-router": "^12.0.0",
"serverless-http": "^3.1.1",
"winston": "^3.8.2"
},
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"babel-core": "^6.26.3",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.3.1",
"babel-loader": "^9.1.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"eslint": "^8.33.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.27.5",
"husky": "^8.0.3",
"jest": "^29.4.1",
"prettier": "^2.8.3",
"serverless-offline": "^12.0.4",
"serverless-plugin-lambda-insights": "^1.6.0",
"serverless-webpack": "^5.11.0",
"supertest": "^6.3.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"jsx",
"json",
"ts",
"tsx"
],
"collectCoverage": true,
"collectCoverageFrom": [
"**/*.{ts,js}",
"!**/node_modules/**",
"!**/build/**",
"!**/coverage/**"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"coverageReporters": [
"text",
"text-summary"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(js|ts)x?$",
"testPathIgnorePatterns": [
"/node_modules/",
"/build/",
"/coverage/"
]
},
"keywords": [
"koa",
"sequelize",
"serverless",
"lamda",
"koa-boilerplate",
"oops-boilerplate-nodejs"
],
"author": "fahis369 <[email protected]>",
"license": "MIT"
}