-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
32 lines (32 loc) · 1.39 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
{
"name": "vnwork",
"version": "1.0.0",
"description": "",
"main": "dist/index.js",
"scripts": {
"test": "node ./dist/index.test.js",
"build": "./node_modules/.bin/tsc",
"create": "fcli function create --service-name housing --function-name vnwork --handler dist/index.handler --runtime nodejs8 --code-dir .",
"update": "fcli function update --service-name housing --function-name vnwork --handler dist/index.handler --runtime nodejs8 --code-dir .",
"invoke": "fcli function invoke --service-name housing --function-name vnwork",
"trigger-create": "fcli trigger create --service-name housing --function-name vnwork --trigger-name sevenMorning --type timer --config timeTrigger.yml",
"trigger-update": "fcli trigger update --service-name housing --function-name vnwork --trigger-name sevenMorning --trigger-config timeTrigger.yml",
"logs": "fcli function logs --service-name housing --function-name vnwork --start $(date -v -5M -u '+%Y-%m-%dT%H:%M:%SZ')",
"live-test": "npm run build && npm run update && npm run invoke && npm run logs",
"all": "npm run build && npm"
},
"author": "",
"license": "ISC",
"dependencies": {
"@types/qs": "^6.5.1",
"axios": "^0.18.0",
"qs": "^6.5.2",
"sprintf-js": "^1.1.1"
},
"devDependencies": {
"@types/node": "^10.5.2",
"@types/sprintf-js": "^1.1.0",
"ts-node": "^7.0.0",
"typescript": "^2.9.2"
}
}