This repository has been archived by the owner on Jul 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
/
package.json
56 lines (56 loc) Β· 1.67 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "serverless-starter",
"version": "1.0.1",
"main": "src/handler.js",
"license": "MIT",
"scripts": {
"deploy:env": "sls deploy --stage $NODE_ENV",
"deploy": "export NODE_ENV=dev && yarn deploy:env",
"deploy:production": "export NODE_ENV=production && yarn deploy:env",
"deploy:stage": "export NODE_ENV=stage && yarn deploy:env",
"lint": "eslint src --ext ts,js --no-ignore --fix",
"serve": "sls offline -P 4000",
"serve:watch": "nodemon -e js,ts,jsx,tsx -x yarn serve",
"tail:hello": "sls logs --function hello --tail",
"test": "jest",
"test:watch": "jest --watch",
"build": "sls webpack",
"watch:hello": "sls invoke local --watch --function hello --path fixtures/event.json"
},
"devDependencies": {
"@types/aws-lambda": "^8.10.39",
"@types/jest": "^25.1.0",
"@typescript-eslint/eslint-plugin": "^3.0.0",
"@typescript-eslint/parser": "^3.0.0",
"eslint": "^6.3.0",
"eslint-config-prettier": "^6.3.0",
"husky": "^4.0.2",
"jest": "^24.9.0",
"lint-staged": "^10.0.3",
"nodemon": "^2.0.0",
"prettier": "^2.0.0",
"serverless": "^1.51.0",
"serverless-dotenv-plugin": "^2.1.1",
"serverless-offline": "^5.10.1",
"serverless-plugin-warmup": "^4.7.0-rc.1",
"serverless-prune-plugin": "^1.4.1",
"serverless-webpack": "^5.3.1",
"ts-jest": "^25.1.0",
"ts-loader": "^6.1.0",
"typescript": "^3.6.3",
"webpack": "^4.39.3",
"webpack-node-externals": "^1.7.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && yarn test"
}
},
"lint-staged": {
"src/**/*.{js,ts}": [
"yarn lint",
"prettier --write",
"git add"
]
}
}