-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
31 lines (31 loc) · 1.01 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
{
"name": "instagrammer",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"run:local": "serverless invoke local -f",
"sharp:prepare": "rm -rf node_modules/sharp && npm install --arch=x64 --platform=linux --target=12.16.3 sharp",
"database:prepare": "prisma generate && prisma db push",
"predeploy": "yarn sharp:prepare && yarn database:prepare",
"deploy": "serverless deploy --verbose --stage=prod",
"postdeploy": "rm -rf node_modules/sharp && rm -rf package-lock.json && yarn add sharp && yarn database:prepare",
"undeploy": "serverless remove --verbose --stage=prod"
},
"keywords": [],
"author": "Theryston",
"license": "ISC",
"devDependencies": {
"@types/aws-sdk": "^2.7.0",
"prisma": "^4.6.1",
"serverless-dotenv-plugin": "^4.0.2",
"serverless-plugin-typescript": "^2.1.4",
"typescript": "^4.8.4"
},
"dependencies": {
"@prisma/client": "^4.6.1",
"axios": "1.1.3",
"sharp": "^0.31.2",
"smartcrop-sharp": "^2.0.6"
}
}