-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
38 lines (38 loc) · 1.54 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
{
"name": "watchlist",
"version": "0.0.1",
"engines": {
"node": ">=8"
},
"scripts": {
"package": "source .env && sls package",
"deploy-all": "source .env && sls deploy",
"scrape:deploy": "source .env && sls deploy function -f scrape",
"scrape:invoke": "source .env && sls invoke local -f scrape -d '{}'",
"list:deploy": "source .env && sls deploy function -f list",
"list:invoke": "source .env && sls invoke local -f list -d '{}'",
"detail:deploy": "source .env && sls deploy function -f detail",
"detail:invoke": "source .env && sls invoke local -f detail -d '{\"pathParameters\": {\"item\":\"tt0454830\"}}'",
"search:deploy": "source .env && sls deploy function -f search",
"search:invoke": "source .env && sls invoke local -f search -d '{\"pathParameters\":{\"query\":\"predator\"}}'",
"add:deploy": "source .env && sls deploy function -f add",
"add:invoke": "source .env && sls invoke -f add -d '{\"body\":\"{\"id\":\"tt0454830\"}\"}'",
"remove:deploy": "source .env && sls deploy function -f remove",
"remove:invoke": "source .env && sls invoke -f remove -d '{\"pathParameters\": {\"item\":\"tt0454830\"}}'"
},
"dependencies": {
"aws-sdk": "^2.295.0",
"axios": "^0.27.2",
"request": "^2.87.0",
"request-promise": "^4.2.2",
"serverless-webpack": "^5.2.0"
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-loader": "^7.1.5",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-2": "^6.24.1",
"webpack": "^4.16.5",
"webpack-cli": "^3.1.0"
}
}