-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
36 lines (36 loc) · 1.6 KB
/
Copy pathpackage.json
File metadata and controls
36 lines (36 loc) · 1.6 KB
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
{
"name": "dreamcatcher-lambda",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"local": "ts-node server.ts",
"prebuild": "rm -rf dist",
"build:getAllUsers": "esbuild getAllUsers.ts --bundle --minify --sourcemap --platform=node --target=es2020 --outfile=dist/index.js && npm run postbuild",
"build:validateDuplicate": "esbuild vaildateDuplicate.ts --bundle --minify --sourcemap --platform=node --target=es2020 --outfile=dist/index.js && npm run postbuild",
"build:token": "esbuild login.ts --bundle --minify --sourcemap --platform=node --target=es2020 --outfile=dist/index.js && npm run postbuild",
"build:signup": "esbuild signup.ts --bundle --minify --sourcemap --platform=node --target=es2020 --outfile=dist/index.js && npm run postbuild",
"build:getDreamsDate": "esbuild getDreamsDate.ts --bundle --minify --sourcemap --platform=node --target=es2020 --outfile=dist/index.js && npm run postbuild",
"build:myDreams": "esbuild myDreams.ts --bundle --minify --sourcemap --platform=node --target=es2020 --outfile=dist/index.js && npm run postbuild",
"postbuild": "cd dist && zip -r index.zip index.js*"
},
"dependencies": {
"dotenv": "^16.0.3",
"express": "^4.18.2",
"jsonwebtoken": "^9.0.0",
"mongodb": "^5.1.0",
"mongoose": "^6.10.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"devDependencies": {
"@types/aws-lambda": "^8.10.110",
"@types/express": "^4.17.17",
"@types/jsonpack": "^1.1.2",
"@types/mongoose": "^5.11.97",
"esbuild": "^0.17.10"
},
"keywords": [],
"author": "",
"license": "ISC"
}