-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.42 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
{
"name": "serverless-templete",
"version": "1.0.0",
"description": "Servreless Lambda TypeScript Express Templete",
"main": "index.ts",
"scripts": {
"start": "node dist/index.js",
"build": "tsc --build tsconfig.json",
"dev": "pnpm build:live",
"prod": "cross-env NODE_ENV=production pnpm build:live",
"build:live": "nodemon --watch src --ext ts,js,json,graphql --exec ts-node -r tsconfig-paths/register src/index.ts",
"migrate": "prisma migrate dev --preview-feature",
"g:prisma": "prisma generate",
"prisma": "npx pnpm migrate && npx pnpm g:prisma",
"fmt": "prettier --write src/**/*.ts",
"test": "jest"
},
"engines": {
"node": ">=14.15.0"
},
"dependencies": {
"@middy/core": "^1.5.2",
"@middy/http-json-body-parser": "^1.5.2",
"aws-lambda": "^1.0.6",
"cookie-parser": "^1.4.5",
"cross-env": "^7.0.3",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"morgan": "^1.10.0",
"serverless-http": "^2.7.0",
"source-map-support": "^0.5.19"
},
"devDependencies": {
"@serverless/typescript": "^2.23.0",
"@types/aws-lambda": "^8.10.73",
"@types/aws-serverless-express": "^3.3.3",
"@types/cookie-parser": "^1.4.2",
"@types/express": "^4.17.11",
"@types/jest": "^26.0.20",
"@types/morgan": "^1.9.2",
"@types/node": "^14.14.25",
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0",
"aws-serverless-express": "^3.4.0",
"eslint": "^7.21.0",
"jest": "^26.6.3",
"json-schema-to-ts": "^1.5.0",
"nodemon": "^2.0.7",
"serverless": "^2.23.0",
"serverless-offline": "^6.9.0",
"serverless-webpack": "^5.3.5",
"ts-jest": "^26.5.3",
"ts-loader": "^8.0.15",
"ts-node": "^9.1.1",
"tsconfig-paths": "^3.9.0",
"tsconfig-paths-webpack-plugin": "^3.3.0",
"typescript": "^4.1.3",
"webpack": "^5.20.2",
"webpack-node-externals": "^2.5.2"
},
"author": "https://github.com/Frog-kt",
"license": "MIT",
"eslintConfig": {
"extends": "@antfu/eslint-config-ts",
"rules": {
"no-unused-vars": "off",
"no-alert": "off",
"@typescript-eslint/no-unused-vars": "off"
}
},
"jest": {
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.json"
}
},
"testMatch": [
"**/test/**/*.test.ts"
]
}
}