forked from bolstergroup/ts-serverless
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
42 lines (42 loc) · 1.31 KB
/
Copy pathpackage.json
File metadata and controls
42 lines (42 loc) · 1.31 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
37
38
39
40
41
42
{
"name": "serverless-starter",
"version": "1.0.0",
"main": "src/ping.ts",
"license": "MIT",
"jest": {},
"scripts": {
"lint": "eslint ./src",
"precommit": "lint-staged",
"serve": "serverless offline start",
"tail:hello": "serverless logs --function hello --tail",
"test": "mocha -r ts-node/register 'src/**/*.spec.ts'",
"watch:hello": "serverless invoke local --watch --function hello --path fixtures/event.json",
"watch:warm": "serverless invoke local --watch --function hello --path fixtures/scheduled.json"
},
"devDependencies": {
"husky": "^0.14.3",
"jest": "^22.0.4",
"lint-staged": "^6.0.0",
"serverless": "^1.32.0",
"serverless-offline": "^3.25.14",
"serverless-webpack": "^5",
"ts-loader": "latest",
"ts-node": "latest",
"tslint": "latest",
"tslint-config-airbnb": "latest",
"typescript": "^3.0.1",
"webpack": "^4",
"webpack-node-externals": "^1"
},
"dependencies": {
"@types/expect": "^1.20.3",
"babel-runtime": "^6.22.0"
},
"lint-staged": {
"src/**/*.js": [
"yarn lint -- --fix",
"prettier --write --single-quote --trailing-comma es5",
"git add"
]
}
}